Hello everyone, i would like to save 13channels ADC data to an external flash. the ADC is being sampled at 2khz and triggered by timerA. i save the ADC data in a temp buffer array which contains 1024 elements in it.
I am writing this 1024bytes at a time to the external flash... the problem am facing is, writing to external flash takes long time, and before I save the entrire 1024bytes data to flash, ADC interrupt occurs. i googled about this problem and it seems i have to use some kind of ring/circular buffers which will keep on rotating the bytes in the 1024 element buffer... i am little confused on this issue, and stuck.
can anyone please suggest me how to solve this issue? using MSP430F2xxx uC.