MC33774A I2C configuration Issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC33774A I2C configuration Issue

881 Views
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 Kudos
Reply
1 Reply

833 Views
guoweisun
NXP TechSupport
NXP TechSupport

Hi 

You can refer to attached file for IIC related application.

0 Kudos
Reply