Hello
I am using the MSP430FR5739+CC3000 Evaluation Kit. I am attempting to use this kit as a measurement device capable of 100 kSamples/Second. I have adapted the "Basic Wifi App" code, so that I can send an array on request. I am now left with sampling and packaging the data that I need. I dont need low power states because my main aim is to have a high sample rate, and data transfer on the Wifi network.
What I would like to do is have the DMA build up a buffer while the Send Function reads from another buffer. After this I would like to swap the buffers and repeat the process. My problem now comes in with the size of the buffers. The CC3000 device is capable of sending 1468 Bytes (http://processors.wiki.ti.com/index.php/CC3000_Release_Notes). I would like to create a sending buffer with about 1250 Bytes so that the overhead of the TCP packet will have less effect on the effective sampling rate. The problem with this is that the FR5739 device only has 16 kBytes of memory. I cannot declare two arrays of 1250 values, because the systems "RAM" cannot deal with variables of this size.
Is it possible to adjust the memory map of the device so that I can create two secure buffers?
The DMA example code (from CCS5) will assign a memory address within the program code, and then effectively use pointer notation to iterate through the program/data memory. However I dont know how I could choose a memory location to use, because I am sure that if I iterate through 1250 (or effectively 2500) memory addresses I will eventually overwrite some program code.
Does anyone have a suggestion on how I can create two secure memory locations (buffers) for this project?
Many Thanks
Carson