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.

F28235 ADC DELAY_US

Champs,

I have a customer whose program is only running normally, when he doesn't use the "DELAY_US" function in the "DSP2833x_Adc.c"

He would like to use the "DELAY_US" function to wait for e.g. 20us.

 

When running and debugging from RAM there is no problem ...  but the code seems to go off into the weeds when running from flash with and without (standalone) JTAG connection.

 

Any ideas what might cause this behavior? Any hint is appreciated.

 

Kind regards,

Magnus

  • DSP28x_usDelay() function is designed to run from ram (to make the timing constant regardless of flash wait-states).  It is in a special named section called "ramfuncs".  It sounds like the customer is not properly copying this section from flash to ram.

    Regards,

    David