IMXRT1170 LPI2C FIFO Error Flag (FEF)

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

IMXRT1170 LPI2C FIFO Error Flag (FEF)

933 次查看
ZohaibAli
Contributor III

Can someone please explain what is the application of the FIFO error Flag (FEF) in the LPI2C Master Status Register (MSR)? If the start condition is always sent before a write/read request in the driver, do we still need its interrupt?

I am asking because I do not use this status flag right now and when I try to clear it by writing 1 it does not clear. Other status flags are clear by writing 1.

Note: I am also NOT using the auto-stop feature i.e., MCFGR1[AUTOSTOP] = 0

标签 (1)
0 项奖励
回复
2 回复数

188 次查看
carmeng
Contributor I

You have to reset the FIFO (via the LPI2C::MCR register) before you can clear the FEF flag 

0 项奖励
回复

906 次查看
Miguel04
NXP TechSupport
NXP TechSupport

Hi @ZohaibAli 

This flag is triggered when master starts recieving or sending data without a start condition.  

You can read this thread for another reason the flag cold be triggered.

MKE1xF I2C FIFO Error Flag

The manual does not specify that this flag is needed for the module to work.

Best Regards, Miguel.

 

0 项奖励
回复