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.

C5515 GPT max frequency

Hello everyone,

I am currently using the TMS320C5515 eZdsp USB Stick Development Tool, with the example projects coming with the corresponding CSL. In particular the one for the GPT: CSL_GPT_Example_Out.

I have modified the timer prescale and period as follows:

      hwConfig.preScaleDiv = GPT_PRE_SC_DIV_0;

      hwConfig.prdLow      = (sysClk)/850;

I expect then a GPT frequency of 425 KHz.

I use the GPIO14 corresponding to the blue led of the eZdsp in order to verify the GPT frequency. For this I toggle the value of the led in the GPT ISR. (The measured frequency should then be divided by 2)

My measured frequency does not corresponds to the programmed frequency! I have noticed that the frequency is correct when programming the GPT to a maximum of 400 KHz.

Any help on this problem that anyone could provide will be very much appreciated!

Veronica