This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/LINUXSDK-OMAPL138: Using tlc4541 ADC and OMAPL138 to Digitize 40kHz Signal

Part Number: LINUXSDK-OMAPL138
Other Parts Discussed in Thread: OMAPL138, TLC4541

Tool/software: TI-RTOS

I am using TLC4541 ADC and C6748 core on OMAPL138 to digitize a 40kHz signal with 100kHz sampling rate. A function is run by TI-RTOS every 10 microseconds to get a bit from the ADC and save it to an array at the same time. I need to save 10sec of data which means I need to save 1 million data points in an array. The problem is a large-size array will slow down the function and make it impossible to be finished in 10 microseconds. Currently, I split the array in to 20 smaller arrays, but still losing some points at the beginning of each array. Anyone can tell me how to save real time data without slowing down the program? Thank you!