This repository contains the C++ code for programming the MCU to work in both always-on and duty-cycling mode.
Hard coded C++ programming of the PCB using an ADC and MCU to record EGG data with an electrode ribbon. Particularly, the folder EGG_V3_Code contains the work I've contributed. Specifically in this folder, we find the 'spimaster_V3p9p2_R2_CC1310_LAUNCHXL_tirtos_ccs' project. The most important files to make changes to, if any, are the spimaster.c file where most of the hard code for the MCU is located, containing the main functions of importance.
Additionally, EGG_Experiment_Params.h is a configuration file for running experiments using different recording modes (1,2,3), defining the amount of recorded samples, and the amount of sleep and its mode.
For more info, please contact me at [email protected]