On S32K144, PTA0 and PTA1 port can not be used as I2C SCL and SDA?

cancel
Showing results for 
Search instead for 
Did you mean: 

On S32K144, PTA0 and PTA1 port can not be used as I2C SCL and SDA?

Jump to solution
778 Views
kbj
Contributor IV

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?

1.PNG

Best regards,

Byungju.

1 Solution
414 Views
__invited__ali3
NXP Employee
NXP Employee

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

View solution in original post

4 Replies
414 Views
__invited__ali3
NXP Employee
NXP Employee

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.

pastedImage_1.png


Best regards,
Alina

414 Views
kbj
Contributor IV

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.

0 Kudos
415 Views
__invited__ali3
NXP Employee
NXP Employee

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

View solution in original post

414 Views
kbj
Contributor IV

Hi Alina,

I understand.

Thanks for your help.

Best regards,

Byungju.