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.

TMS320F28379D: Issues with Clock Configuration for 10 MHz Crystal Oscillator on TMS320F28379D Board

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software:

I have developed a board using a 10 MHz crystal oscillator, with a 1 MΩ resistor in parallel to the crystal and two 36 pF capacitors connected to pins X1 and X2. I initially calculated the clock settings for 200MHz as follows:

InitSysPll(XTAL_OSC, IMULT_40, FMULT_0, PLLCLK_BY_2);

However, when I attempt to debug the ePWM dead band example provided in C2000Ware, the program downloads successfully, but I encounter an error when I press the run button. I then changed the clock setting to:

InitSysPll(XTAL_OSC, IMULT_10, FMULT_0, PLLCLK_BY_2); (50MHz)

With this adjustment, the program works. However, I am concerned that these settings may not be accurate. Can anyone provide guidance on this issue?

  • Hi Antony,

    the program downloads successfully, but I encounter an error when I press the run button

    What is the error that you see ?

    Thanks

  • The error is as follows when I set "InitSysPll(XTAL_OSC, IMULT_40, FMULT_0, PLLCLK_BY_2);"

    C28xx_CPU1: Error: (Error -1044 @ 0x0) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.12.0.00150)
    C28xx_CPU1: Unable to determine target status after 20 attempts
    C28xx_CPU1: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging

  • Hi Antony,
    Can you check the clock frequency using the XCLKOUT for the following config that works for you ?

    InitSysPll(XTAL_OSC, IMULT_10, FMULT_0, PLLCLK_BY_2); (50MHz)
    C28xx_CPU1: Error: (Error -1044 @ 0x0) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 9.12.0.00150)

    Above is the JTAG error and doesn't seem like device error please refer to the doc : https://www.ti.com/lit/an/spracf0c/spracf0c.pdf?ts=1730862417768

    Thanks