I2C

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
252 Views
sabesh
Contributor I

 

In the IMXRT 1170, we attempt to verify using i2c example code for the CM7 polling method by flashing the board directly, for instance, but with specific Cfg SDL, SDA pins on the J26 port. not receiving the clock-out signal.


I alter the pins, such as J 10 and J 09, which are cfg in the example i2c code. We are still unable to obtain a clock signal after compilation.

Now , I checked with IMXRT 1160, we get Clock Signal SCL from i2c Example code, but not get signal from data SDA

 

0 Kudos
Reply
1 Solution
190 Views
mayliu1
NXP Employee
NXP Employee

Hi @sabesh ,

 

Thanks for your interest in NXP MMXRT series!

If your question is solved, please tell me to close this case, and Accept as Solution. thanks.

Wish you a nice day!

BR

mayliu

View solution in original post

2 Replies
191 Views
mayliu1
NXP Employee
NXP Employee

Hi @sabesh ,

 

Thanks for your interest in NXP MMXRT series!

If your question is solved, please tell me to close this case, and Accept as Solution. thanks.

Wish you a nice day!

BR

mayliu

217 Views
mayliu1
NXP Employee
NXP Employee

Hi @sabesh ,

Thank you so much for your interest in our products and for using our community.
If you use MIMXRT1170-EVKB board, you can use LPI2C1_SCL J26-12 and LPI2C1_SDA J26-10.

Please pay attention that  In the hardware circuit, SCL and SDA must be connected to pull-up resistors, Software SCL and SDA need set as open drain mode and Software Input On Enabled . Please refer to the next Fig.

mayliu1_0-1732688724700.png

In I2C communication, there are one master and multiple slaves. The master I2C device generates the clock signal. So I suggest you import a SDK demo about I2C master, For example "evkbmimxrt1170_lpi2c_edma_b2b_transfer_master_cm7".

If you want I2C communication run okay, Please connect a I2C slave board. So I suggest you use two board, one is as I2C master, one is as I2C slave.

 

Wish it helps you.
If you still have question about it, please kindly let me know.

 

Best Regards

mayliu