LPI2C Mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LPI2C Mode

跳至解决方案
2,977 次查看
adrianwenger
Contributor III

Hi,

the reference manual says on page 1383 that baudrates above 400 kbit/s are not supported on the LPI2C device.

But on page 1384 it says in Features: LPI2C supports e.g.1Mbit/s (Fast Mode +)...

Now what is right?

Regards,

Adrian

0 项奖励
回复
1 解答
2,568 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

You can use only PTA3 and PTB7 for LPI2C_SCL and none of them are high-drive.  I have just checked SDK I2C driver for S32K144 and the baud rate can be set only up to 400kbps. So as per all the information I have so far, the S32K144 doesn’t support 1000kbps baud rate.

 

Regards,

Daniel

在原帖中查看解决方案

0 项奖励
回复
6 回复数
2,568 次查看
adrianwenger
Contributor III

Hi Daniel,

thanks for clarification.

0 项奖励
回复
2,568 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

As per Device feature summary (Table 2-1), only high-drive pins are able to support 1 Mbps.

PTA2 and PTA3 are not high-drive pins. See IO Signal Description Input Multiplexing sheet(s) attached

to the RM.

 

Regards,

Daniel

0 项奖励
回复
2,568 次查看
adrianwenger
Contributor III

Hi Daniel,

thank you for your reply.

After getting in touch with the IO Signal Description Input Multiplexing sheet i assume that,

if i use the PTB6 high-drive pin (LPI2C0_SDA) and the PTA3 (LPI2C0_SCL) i will be able to send with 1MBit/s to the i²C slave.

Is that correct?

Regards,

Adrian

0 项奖励
回复
2,568 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Adrian,

 

The functionality at that rate is guaranteed (even with bus capacitance of 400pF) only using high-drive pins for both SDA, SCL.  If you use pins without high-drive capability, it might work in case the bus capacitance is not too high, but is not guaranteed.

 

Regards,

Daniel

0 项奖励
回复
2,568 次查看
adrianwenger
Contributor III

Hi Martin,

can i use any of the high-drive Pins for the LPI2C0_SCL to get the 1MBit/s garanteed?

Unbenannt.PNG

Regards,

Adrian

0 项奖励
回复
2,569 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

You can use only PTA3 and PTB7 for LPI2C_SCL and none of them are high-drive.  I have just checked SDK I2C driver for S32K144 and the baud rate can be set only up to 400kbps. So as per all the information I have so far, the S32K144 doesn’t support 1000kbps baud rate.

 

Regards,

Daniel

0 项奖励
回复