Hard Fault Error while running accelerometer with I2C communication & Interrupt in S32K344

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

Hard Fault Error while running accelerometer with I2C communication & Interrupt in S32K344

591件の閲覧回数
tyagi_space
Contributor I

HardFault_Handler() at exceptions.c:97 0x40422e

Unable to Init function. Every time this error is coming.

タグ(1)
0 件の賞賛
返信
1 返信

566件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @tyagi_space,

Is it the LPI2C Init funciton?

If so, is the LPI2C clock enabled?

 

MC_ME module

PRTN1_COFB2_STAT register

BLOCK86 This bit provides the clock status of LPSPI 0 in partition 1

BLOCK85 This bit provides the clock status of LPI2C 1 in partition 1

 

Thanks,

Daniel

0 件の賞賛
返信