Hello everyone,
I'm trying to config the I2C on board S32K344EVB (SCH-53148 REV B) and plug the logic analyzer to display the signal sent by the board. However, I don't anything on the logic analyzer software. I also tried the example code but it showed the same result. So, if anyone configed I2C succcesfully , please share the project to me for referring purpose. (I used S32DS 3.6.3). Thanks for reading.
Solved! Go to Solution.
Hi,
as a project I simply used demo one. Steps were, create new project from example, select I2c_Ip_Example_S32K344_Q172, open mex file, update code, build and download.
If you do not have slave connected, you get no ACK, so you will see just first byte transmitted from master. Below is connection and bus signals I had
Slave disconnected
Slave connected
BR, Petr
Hi,
I tested quickly an I2c_Ip_Example_S32K344_Q172 example from RTD600 on S32K3X4EVB_T172.
I see it is working well using below connection
Be sure you have onboard pullup resistor mounted, otherwise use external one to have a bus properly pulled up.
BR, Petr
Hi,
just 2 wires
FXIO_D10_SCL (J4.19) - LPI2C1_SCL (J3.24)
FXIO_D11_SDA (J4.17) - LPI2C1_SDA (J3.27)
BR, Petr
Excuse me,
The i2c still does not work. I only see a straight line on the logic analyer software.Also, I have a question with your result is that if you have only 1 S32K344 board and 1 logic analyzer , the board just send data and no slave, how did you get the "ACK"? Hope you share your project or some images of your hardware setup to me, It can help me imagine easier. Thanks for reading!
Hi,
as a project I simply used demo one. Steps were, create new project from example, select I2c_Ip_Example_S32K344_Q172, open mex file, update code, build and download.
If you do not have slave connected, you get no ACK, so you will see just first byte transmitted from master. Below is connection and bus signals I had
Slave disconnected
Slave connected
BR, Petr