All:
For my application, I'd like to use the ADC12 to capture data and save 512
bytes to RAM, then use the DMA to transfer the 512 bytes in a block write to an
SD Card via the USCB1 in SPI mode.
My question is since the ADC12 produces a 16-bit word result, do I start the DMA
after 256 samples are collected and instruct the DMA to increment the source
address by one and it'll send the least-significant byte then the
most-significant byte, etc...
Or...do I need to somehow break the 16-bit word ADC result into two bytes and
save them into RAM? Then when I reach 512 bytes, start the DMA transfer?
Using the Foust SPI-> SD_card application note, I was able to successfully port
the code to the F5528 device and intialize the SD Card. Now all I need is help
with the DMA transfer of the data.
Any help you can provide would be greatly appreciated!
Thanks,
Grant
F5528: DMA transfers to USCB1 SPI
Started by ●April 2, 2012