Hi Team,
There's an issue from the customer need your help:
The program idea is that timer 0 triggers ADC adoption regularly, and triggers ADC interrupt after conversion is completed.
Timer configuration
ADC interrupt configuration
At the beginning, the FLASH CMD file provided by C2000 software was used, and the ramfuncs storage space was configured as
After testing, the timer and ADC interrupt are configured with a frequency of 25600.
Later, due to the use of CLA, the CMD file was converted to the CMD file provided by the C2000 software, and the ramfuncs storage space was configured as
The tested timer and ADC interrupt are 25600 and 12800 respectively;
When the timer timing frequency is changed to 51200, the ADC frequency is 25600
The interrupt frequency has been reduced by 1 times, and the problem was finally determined to be caused by the ramfuncs storage space, but it is still unclear whether it is my code that causes this phenomenon or something else.
Online help-.-Nothing is done in the while loop
The picture below shows the initialization
The picture below shows the interrupt function, which has not been moved.
Thanks & Regards,
Ben