I2C CLK stay in low and S32G show bus busy after read PCAL6524

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

I2C CLK stay in low and S32G show bus busy after read PCAL6524

Jump to solution
1,059 Views
234
Contributor I

    We use  we read PCAL6524  register 0x0D,The s32G register IBSR ,IBB is always 1,and the clock is stay at low state,thank you

234_0-1658455569304.png

 

. Which can cause this problem. #S32G,#PCAL6524

0 Kudos
Reply
1 Solution
1,045 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello 234,

Sorry, it is the definition of I2C that slaves must 'pull' the clock-line low to 'pace' a master when return-data is not immediately available. And in ALL cases of microcontroller I2C slave implementations, they ALWAYS pull the clock-line low at every access as uC firmware must supply the return data 'after some time'. Once you have initialized the S32G into I2C 'slave' mode, you are going to have to be sure that it is ALWAYS 'ready' to return data for I2C transactions addressed to it, else it will indeed permanently stall the whole I2C bus. If you don't want the S32G reacting to such transactions, you have to disable this slave mode (for at least those time periods). Does your S32G respond to addressed transactions 'fully normally' when properly enabled?

Regards

 

View solution in original post

0 Kudos
Reply
1 Reply
1,046 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello 234,

Sorry, it is the definition of I2C that slaves must 'pull' the clock-line low to 'pace' a master when return-data is not immediately available. And in ALL cases of microcontroller I2C slave implementations, they ALWAYS pull the clock-line low at every access as uC firmware must supply the return data 'after some time'. Once you have initialized the S32G into I2C 'slave' mode, you are going to have to be sure that it is ALWAYS 'ready' to return data for I2C transactions addressed to it, else it will indeed permanently stall the whole I2C bus. If you don't want the S32G reacting to such transactions, you have to disable this slave mode (for at least those time periods). Does your S32G respond to addressed transactions 'fully normally' when properly enabled?

Regards

 

0 Kudos
Reply