MC33774A I2C configuration Issue

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

MC33774A I2C configuration Issue

883 次查看
islam_awwad_88
Contributor I

Hello, I am working on a microcontroller s32k358 communicating with mc33774a through TPL.

there is an EEPROM connected through I2C lines to the MC33774A. (GPIO4,5).

The i2c EN bit is set, the clksel is = 0 (100 KHZ), all i2c configurations are set.

The problem is when i try to configure the i2c of mc33774a using the function "Bcc_774a_I2C_Configure" and try after that read the status register "I2C_STAT"it returns an error.

the error is that NACK_1 (read) 1 byte transmitted until NACK was received

while i didnt send any thing i just used the config function.

 

please if there any example for doing this i2c or refrence or even written steps to follow that would be helpfull.

thank you.

0 项奖励
回复
1 回复

835 次查看
guoweisun
NXP TechSupport
NXP TechSupport

Hi 

You can refer to attached file for IIC related application.

0 项奖励
回复