This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

XRAM as circular buffer

I am using ADuC841. How can i organize the internal 2K XRAM memory as a circular buffer to capture an event?

Parents Reply Children
  • In DMA mode the ADC output data is stored in the XRAM through pipelining. XRAM is "preconfigured" by writing ADC channel ID and since ADC DMA works independently from uC core, we define a 'stop command' by duplicating the last channel ID to be converted followed by 1111 into the next channel selection field.

    I want to capture an event with pre and post-time information. During ADC DMA conversion how can I reconfigure DMA address pointer without affecting the current DMA sequence?