S32K146 I2C Master Clock Stretching

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K146 I2C Master Clock Stretching

Jump to solution
210 Views
Andy_Wang_JP
Contributor II

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

 

Tags (1)
0 Kudos
1 Solution
196 Views
Senlent
NXP Employee
NXP Employee

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,

 

View solution in original post

0 Kudos
2 Replies
197 Views
Senlent
NXP Employee
NXP Employee

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 Kudos
174 Views
Andy_Wang_JP
Contributor II

Hi Jim

Thanks for your reply

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

BR.

Andy

0 Kudos