Hi @VicKrawciw ,
When you test this SDK code:
SDK_2_11_1_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\lpi2c\polling_b2b
You need to MIMXRT1170-EVK board, one as I2C master, another as I2C slave.
Just as the readme.txt mentioned:
Hardware requirements
=====================
- Mini/micro USB cable
- Two MIMXRT1170-EVK board
- Personal Computer
Board settings
==============
LPI2C one board:
+ Transfer data from MASTER_BOARD to SLAVE_BOARD of LPI2C interface, LPI2C1 pins of MASTER_BOARD are connected with
LPI2C1 pins of SLAVE_BOARD
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MASTER_BOARD CONNECTS TO SLAVE_BOARD
Pin Name Board Location Pin Name Board Location
LPI2C1_SCL J26-12 LPI2C1_SCL J26-12
LPI2C1_SDA J26-10 LPI2C1_SDA J26-10
GND J10-14 GND J10-14
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You mentioned, master can send out the clk, but the address no data, it is caused by your slave, do you connect the I2C slave board or not?
master code:
\SDK_2_11_1_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\lpi2c\polling_b2b\master
slave code:
SDK_2_11_1_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\lpi2c\polling_b2b\slave
when run it, slave should run it at first, then wait the master send the clock and command.
Please find two RT1170 board and test it.
Wish it helps you!
If you still have questions about it, please kindly let me know.
Best Regards,
Kerry