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.

DM3730 DPLL clock settings

Other Parts Discussed in Thread: DM3730, TPS65950

Hi, 

I work on DM3730 processor and DPLL clock settings for uart3 module. Some values about my boards are:

OSC_SYS_CLK                         = 26 MHz

SYS_CLK = OSC_SYS_CLK / 2 = 13 MHz

According to Figure 3-61. Common CM Source-Clock Controls on DM3730 Technical Referance Manual:

Setup CM_CLKSEL2_PLL, which sets up M and N for DPLL4. =  M = 576, N = 6 

Setup CM_CLKSEL3_PLL, which sets up M2 for DPLL4          = M2 = 13 

So my PER_48M_FCLK is 48 MHz. Then with "Baud rate = (functional clock/16)/N" formula, my divisor value is 26 for 115200 baudrate. But this setup only works 57600 baud rate with upper PLL settings. 

Aslo my other question: I use external oscillator (TPS65950) with 26 MHz and selected sys_boot[6] is 1(for using of an external square clock source). It doesn't work correctly(upper problem occurs). Then I selected sys_boot[6] is 0. But it also doesn't work correctly. Moreover, these 2 setup configurations show same behavior(57600 baud problem).

What do you think about my problems?

Regards,

Emre

  • Hi Emre,

    I'm using a DM3730-EVM board and UARTs operates on the 115200 bps without any problems. The CM_CLKSEL2_PLL and CM_CLKSEL3_PLL have the following values:

    CM_CLKSEL2_PLL - 0x0481B00C   Multiplier factor is 432, Devider factor is 12

    CM_CLKSEL3_PLL - 0x00000009  0x9: 96 MHz clock is DPLL4 clock divided by 9

    Could you try with these settings?

    BR

    Tsvetolin Shulev

  • Thanks Tsvetolin, problem is solved :)

    I understand my problem. The solution is in 

    • CLKOUT = (F ref x M)/(N+1)
    • CLKOUT_M2 = CLKOUT/M2

    formulas and Figure 3-43. DPLL4 Functional Diagram. Now, I can set baud rate what I want.

    BR

    Emre