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.

TMS320F28377S: internal oscillator frequency problem

Part Number: TMS320F28377S

Hello Sir,

We are using the TMS320F28377S controller in our own developed board.

We are facing the issue problem, which is the frequency of the internal oscillator be 16MHz instead of 10MHz at startup.

The Silicon Revisions of TMS320F28377S is C.

Thanks and best regards,

Hirohito Motomiya

  • Motomiya-san,

    It sounds like the oscillators are not trimmed.  There is a function in the SYSCTRL.c file called "Device_cal()" that needs to be called to copy some values from TI OTP to the INTOSC1TRIM and INTOSC2TRIM registers to make them in spec/10MHz.

    This function is automatically called as part of the bootROM, but when debugging BROM is not normally executed. 

    When you see 16MHz, if you examine the above registers, you will likely either see all 0xFFFF or all 0x000 since they are untrimmed.  After you run device_cal() you should see unique values in these registers as well as the frequency go to 10MHz.

    Please let me know if this solves things.

    Best,

    Matthew