S32R294 PLL init error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32R294 PLL init error

588 Views
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 Kudos
2 Replies

579 Views
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 Kudos

568 Views
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 Kudos