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

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

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

ソリューションへジャンプ
1,060件の閲覧回数
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 件の賞賛
返信
1 解決策
1,046件の閲覧回数
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 件の賞賛
返信
1 返信
1,047件の閲覧回数
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 件の賞賛
返信