MPC5748G Clock Problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5748G Clock Problem

2,286件の閲覧回数
yankuang1
Contributor III

I would like to know how to configure the MPC5748G clock.I changed the external crystal of 40M to 16M,and i multiplied the clock into 160M according to the documents shown in the attachment.I modified the code as shown below:

pastedImage_2.png

But the board can not be debugged successfully,the debugging information is shown below:

pastedImage_4.png

0 件の賞賛
返信
1 返信

2,103件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Here you go:

    // Set PLL0 to 160MHz (16MHz XTAL)
    // VCO Frequency Range 600 - 1280 MHz
    // RFDPHI1 = 10, RFDPHI = 1, PREDIV = 1, MFD = 0x28h (40)
    PLLDIG.PLLDV.R = 0x50000000 |0x00010000 |0x00001000 |0x0028 ;

XTAL = 16MHz

PREDIV = 1 -> 16/1 = 16MHz

MFD = 40 -> 40 x 16 = 640

RFDPHI = 1 -> 640/4 = 160MHz

Peter

0 件の賞賛
返信