MC33774A I2C configuration Issue

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

MC33774A I2C configuration Issue

895件の閲覧回数
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 返信

847件の閲覧回数
guoweisun
NXP TechSupport
NXP TechSupport

Hi 

You can refer to attached file for IIC related application.

0 件の賞賛
返信