Hi,
I use S32DS for ARM.2018.R1, SDK EAR 0.8.6 and S32K144 EVB board.
I want implement I2C with port PTA0(SCL) and PTA1(SDA).
I can check PTA3(SCL) and PTA2(SDA).
But I can't see any signal on PTA0 and PTA1.
How to use the PTA0 and PTA1 as I2C SCL and SDA?
Best regards,
Byungju.
已解决! 转到解答。
Hello Byungju,
Unfortunately Secondary Clock Line and Secondary Data Line can't be used, as the LPI2C driver doesn't support this mode.
Only Serial Clock Line and Serial Data Line can be used.
Best Regards,
Alina
Hello,
PTA0 and PTA1 pins are used for Secondary Clock Line (SCLS), respectively Secondary Data Line(SDAS). Secondary lines are used in 4-wire mode in which slave and master are using different pins. This mode is not supported by the lpi2c driver.
Serial Clock Line and Serial Data Line should be configured in order to initiate a I2C communication.
Best regards,
Alina
Hi Alina,
Thanks for your response.
I didn't understand exactly.
I2C driver support only Serial Clock line and Serial Data line. is it right?
How to use secondary clock line and secondary data line?
Best regards,
Byungju.
Hello Byungju,
Unfortunately Secondary Clock Line and Secondary Data Line can't be used, as the LPI2C driver doesn't support this mode.
Only Serial Clock Line and Serial Data Line can be used.
Best Regards,
Alina