S32K146 Arm cortex M4 - Register write access violation

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

S32K146 Arm cortex M4 - Register write access violation

1,182 Views
krishnapraneeth
Contributor II

I have developed code in S32DS design studio environment and compiled and flashed the code but if i am trying to write on to any register i am facing access violation error which is resulting in Trap(Default ISR). Can anyone Help me out with this. Advance thanks!!

0 Kudos
1 Reply

645 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Which registers do you mean? 

Did you enable Bus interface clock in PCC[CGC] registers of the peripherals you are using?

Please take a look at Table 27-8, S32K1xx_RM_r.7

Regards,

Daniel

0 Kudos