S32K146 I2C Master Clock Stretching

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

S32K146 I2C Master Clock Stretching

ソリューションへジャンプ
1,382件の閲覧回数
Andy_Wang_JP
Contributor III

Hi NXP Team

I got a project to implement I2C communication between S32K146(Master) and another device(Slave). 

But according to the application note of the device,"The I2C master on the MCU MUST support clock stretching.Because the ACK/NACK is not automatically responded with device's hardware block, it's from its firmware interrupt"

But I've checked the S32K RM,it seems to only when S32K as a slave support clock stretching. 

So does it have any method that S32K I2C Master support clock stretching? or I missed something in the RM then how to configure that in S32DS IDE?

Thanks and waiting for reply

Andy

 

タグ(1)
0 件の賞賛
返信
1 解決策
1,368件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Andy_Wang_JP

you can take a look at the S32K-RM Chapter 52.3.2.5 Error Conditions.

Senlent_0-1646294823191.png

and I send you a private message, and some test cases about how to deal with slave stretching features.

BR,

     Jim,

 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,369件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Andy_Wang_JP

you can take a look at the S32K-RM Chapter 52.3.2.5 Error Conditions.

Senlent_0-1646294823191.png

and I send you a private message, and some test cases about how to deal with slave stretching features.

BR,

     Jim,

 

0 件の賞賛
返信
244件の閲覧回数
RML_SPARKY
Contributor I

Hi, 

I am finding the same issue with my S32K144EVB in Master mode using the LPI2C examples. Can you send me some examples on how to enable clock stretching as the the Reference manual confuses me.

thanks
Rich

0 件の賞賛
返信
1,346件の閲覧回数
Andy_Wang_JP
Contributor III

Hi Jim

Thanks for your reply

I'll try the method you suggestion, and see what I got.

BR.

Andy

0 件の賞賛
返信