Hello NXP,
I am working on S32K146 MCU and I have configured pins PTA 2 SDA and PTA 3 SCL and PTD 5 RESET for I2C chip TLC59116-Q1 HW. Then I have done the Master configuration LPI2C0 with slave address 100U and 101U where I have two I2C chip in my HW board.
Now I was trying to send data address for LEDs for eg:, which is 0x02, 0x03, 0x04, 0x05 f based on Register Map address from I2C chip.
According to HW department the address assigned for the chip was 0xC8 and 0xCA.


When I configured in Processor expert the generated output was configured to 100 and 101 as slave address.
Since it throws error if I am entering 0xC8 in process expert so I set 7 bit address as per above pics which is 0b0110010 .
I have tested with oscilloscope and I could see the pluse signal for SDA and SCL. This clear that my slave address 100 and 101 are configured.
Now when I am trying to send data from Master MCU to Slave I2C via using function LPI2C_DRV_MasterSendDataBlocking(with instance number which is 0, buffer for LED based on register map address for eg 0x02, 0x03, size, send stop true, timeout 100ms ) But here I can't see the LEDs are up which is my expected output.
In the attached picture you can see the generated slave address on the left, middle driver function to send data to I2C, and my current implementation to send LED address based on the Register map from I2C chip as you can see in the attached pics for reference.
Currently, when I am calling my function krLed_State(); every 100ms.
My expectation was LED colour must enable as output. In oscilloscope I could see signal is receiving on I2C Hw but my LEDs are not blinking. I don't understand what went wrong.
I am new to I2C please could you help or suggest me what went wrong with my code ? I would really appreciated for your support.
Thanks in advance,