Part Number: EK-TM4C123GXL
Tool/software: Code Composer Studio
My project requires using an ADC to record data into an array. In the GUI, I would press the start button, and the ADC would record data, filling up a 4096 size array. Theoretically, if I press the start button again, another 4096 data points will be recorded, overwriting the previous 4096 data points in the data array.
What's interesting is that I can take 1 set of 4096 data, and after that I can even take another set of data (at this point, the start button has been pressed twice). However, if I press the start button again to take a 3rd set of 4096 data, the ADC does not seem to activate, recording no new data points. I know that no new data is being recorded by the ADC because I plotted out the ADC data inside the GUI.
I am using GUI Composer to build my GUI.
Does anyone know how to fix this issue? How do I take more than 2 data samples?