Skip to main content
THIHA KYAW
Associate III
August 2, 2018
Question

ADC Scan Conversion Mode + DMA with Cache Issue

  • August 2, 2018
  • 0 replies
  • 412 views

Hi,

I used  ADC Scan Conversion Mode + DMA  to read the values from 7 channels of ADC1.

But the adc reading values are not correct when I enable the cache.

/* Enable I-Cache-------------------------------------------------------------*/

// SCB_EnableICache();

 /* Enable D-Cache-------------------------------------------------------------*/

// SCB_EnableDCache();

What could be the problem?

ADC setting is as below.

Regards,

Thiha Kyaw

    This topic has been closed for replies.