Using spi and i2c protocols in imxrt1176

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

Using spi and i2c protocols in imxrt1176

跳至解决方案
749 次查看
Shehan_Janidu
Contributor III

I wanted to use spi and i2c communication protocols in the evaluation board, mimxrt1170 -  evk. When I am going through datasheet I found out that spi and i2c can be configured through flexio pins. But I want to know that is there any dedicated spi and i2c pins are there in imxrt1176 chip.Every example code I found also use flexio. Can anyone clarify to me.

标记 (1)
0 项奖励
回复
1 解答
658 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

To use SPI and I2C you have two options. The first is through LPSPI or LPI2C, respectively. The second is with the FlexIO module, which is capable of supporting a wide range of protocols, among them SPI and I2C.

In the SDK you will find examples of LPSPI, LPI2C, as well as SPI and I2C with FlexIO. I also recommend consulting Table 11-1. Muxing Options from reference manual.

Hope it helps you.

Have a nice day!

在原帖中查看解决方案

1 回复
659 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

To use SPI and I2C you have two options. The first is through LPSPI or LPI2C, respectively. The second is with the FlexIO module, which is capable of supporting a wide range of protocols, among them SPI and I2C.

In the SDK you will find examples of LPSPI, LPI2C, as well as SPI and I2C with FlexIO. I also recommend consulting Table 11-1. Muxing Options from reference manual.

Hope it helps you.

Have a nice day!