MSP430F2013 - save a/d samples for processing

View: New views
1 Messages — Rating Filter:   Alert me  

MSP430F2013 - save a/d samples for processing

by tomer561 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,


i bought msp430f2013 development tool.

i would like to connect analog input to the a/d and sample the signal with a sampling rate of 1Khz.
and to collect the samples of 0.5/1 seconds in an array for processing.


in my understanding i need to configure a timer which will cause an interrupt every 1msec and in his ISR i would order the a/d to start single conversion.


my problem is that the ram of this device is 128Byte so the maximum size of an array is 128Byte/2Byte = 64 elements  (because every sample is 2Bytes).


is there any way to use the flash memory in order to store the samples ?

*. remeber that i need to read and process those samples after the buffer is complete (1 second of data).




Thanks,

Tomer

LightInTheBox - Buy quality products at wholesale price!