Hi
When I use below macro, my code entry ILLEGAL_ISR.
Where is the problem?
(DELAY_US(10))
// DO NOT MODIFY THIS LINE.
#define DELAY_US(A) DSP28x_usDelay(((((long double) A * 1000.0L) / (long double)CPU_RATE) - 9.0L) / 5.0L)
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
When I use below macro, my code entry ILLEGAL_ISR.
Where is the problem?
(DELAY_US(10))
// DO NOT MODIFY THIS LINE.
#define DELAY_US(A) DSP28x_usDelay(((((long double) A * 1000.0L) / (long double)CPU_RATE) - 9.0L) / 5.0L)
Hi,
Are you running the Flash config? Usually these functions are loaded to Flash and run from RAM. In that case, please make sure that copy happens before using that function.
Regards,
Veena