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.
Hi, we have received your questions and feedback to the engineer, if there is any updates I will reach you asap!
Thanks!
Everyone, i wanna ask some questions. If the cpu works in lpm( low-power-mode), and i wanna use adc-12 to keep measuring a successive signal then store it into a flash outside the mpu.
The DMA can be used with the ADC, operating in the background with the CPU in LPM. here's an example for the F5 series, which has a similar ADC and DMA:
https://dev.ti.com/tirex/explore/node?node=ALkqBIa6R80LFOC7XAng.Q__IOGqZri__LATEST
For the ADC with DMA in LPM, here's a project that created before with FR5994 that you can take as a reference:
Can i just use DMA to achieve this goal instead of awaking CPU?
The FR5994 doesn't have an external bus (EMIF), so writing to an external flash would presumably use a serial port -- probably SPI. This can also be done with the DMA, but coordination with the ADC DMA would require some CPU intervention. (I don't know of a TI Example.)
Thank you so so much! It helps a lot.
And i has another question that can i read and write at the FRAM in MPU at the same time?
Because i wanna keep the ADC measuring to FRAM and at the same time transmit the data in FRAM to the external flash.
Hi noted, I have updated your question to the engineer, if there is response I will follow up to you asap.
An address (range) can be configured for both read and write in the Memory Protection Unit (MPU).
DMA memory operations don't occur simultaneously, nor do CPU memory operations -- DMA operations happen in priority order, and the CPU is stalled during DMA.