S32K146 Arm cortex M4 - Register write access violation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K146 Arm cortex M4 - Register write access violation

2,146 次查看
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 项奖励
回复
1 回复

1,609 次查看
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 项奖励
回复