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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
2,589 次查看
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 解答
2,225 次查看
AlinaB
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

在原帖中查看解决方案

4 回复数
2,225 次查看
AlinaB
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

2,225 次查看
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 项奖励
2,226 次查看
AlinaB
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

2,225 次查看
kbj
Contributor IV

Hi Alina,

I understand.

Thanks for your help.

Best regards,

Byungju.