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

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

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

597 次查看
tyagi_space
Contributor I

HardFault_Handler() at exceptions.c:97 0x40422e

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

标记 (1)
0 项奖励
回复
1 回复

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