I now have a very difficult problem, please help me. My IDE is S32. I now use eTimer every 100us trigger CTU0, and then start 4 channels of the ADC0 conversion, and then CTU0 FIFO0 to the threshold to start the DMA transfer, and now DMA can not start or power on once, turn off the DMA when the ADC0 conversion is normal. Annex is my project, please help me look, I have been debugging for a week.thanks
Original Attachment has been moved to: Test_eTimer_CTU_ADC_DMA.rar
Hi,
Thank you for your answer. The data inside the array does not change, AD conversion out of the results should be a small change in the number. And the results of the array 0 and 1 is 0, see annex. Picture 1 is in the S32 variable window to see , The picture 2 is the computer through the CAN bus to receive the data.
Picture 1
Picture 2
Disable the Data cache. It is enabled during the startup. Go to startup.S file and comment section of code where data cache is enabled (lines 207-233)
BR, Petr
I turned the community, to find a similar problem, the answer is to close the buffer, but inside the code is not complete, you can help me see,https://community.nxp.com/thread/432340
Close the data cache has no effect, the following figure is a comment code screenshot.