S32K312 CMU triggers bus fault

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

S32K312 CMU triggers bus fault

989件の閲覧回数
jhuang1
Contributor II

I want to monitor the fxosc via cmu, and I need to test the effectiveness of cmu. I set the fxosc to 20MHz, which the real frequency on the board is 16MHz, it should result in an interrupt, but it result in a bus fault. The picture attached is the setting of cmu, please help me to check the settings.

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

888件の閲覧回数
CongDang
NXP Employee
NXP Employee

I guess the bus fault comes from you set the fxosc to 20MHz, but the real frequency on the board is 16MHz. On k312, fxosc is source clock of PLL and the difference you made on fxosc makes PLL configuration is invalid.

0 件の賞賛
返信

960件の閲覧回数
jhuang1
Contributor II

I would like to add some information about it, it hit the CMU0_FC interrupt, and every time it triggers the fault because of reading a global variable to an internal variable, as the attached picture show.

0 件の賞賛
返信