S32R294 PLL init error

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

S32R294 PLL init error

637件の閲覧回数
Jiaji
Contributor I

hello,

i'm using S32R294 and Mcal version1.0.1

while running the step of "REG_WRITE32( (*PLLDIG_pConfigPtr->apPllDigConfig)[u32Counter].u32RegisterAddr, (*PLLDIG_pConfigPtr->apPllDigConfig)[u32Counter].u32RegisterData );" connected Lauterbach,the code will crash. 

if i disconnect Lauterbach, it will work well.

for more information please check the snapshot below.

do you know the root cause?

 

 

Jiaji_0-1618803311303.png

Jiaji_1-1618803330361.png

 

Jiaji_2-1618803337013.png

 

0 件の賞賛
2 返答(返信)

628件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Are you doing step debugging while it crash?

When you execute it by F4 (step over) it fails?

petervlna_0-1618904239075.png

It looks to me like some timing protection which runs out if you execute the code in steps.

 

Best regards,

Peter

 

0 件の賞賛

617件の閲覧回数
Jiaji
Contributor I

Hi,

this issue has been fixed, which is caused by the clock configuration, as I set the run0-3 in CCTL2/CCTL3 to CLK_GATED, the problem will raise. 

0 件の賞賛