I2C pin configuration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I2C pin configuration

728 Views
Jusaira
Contributor I

Hi team,

I am working on I2C communication in S32K146 in 2-wire scheme. Is there any possible way to use secondary data and clock pins of I2C (LPI2C0_SCLS(PTA0) and LPI2C0_SDAS(PTA1)) for communication instead of LPI2C_SCL(PTA2) and LPI2C0_SDA(PTA3). Please let me know if there is any software configuration possibility for that.

 

Also please give me inputs on how we configure I2C into 2-wire scheme or 4-wire scheme? Should it be done in software?

0 Kudos
Reply
1 Reply

709 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Jusaira 

The configuration of these signals depends on if it uses I2C in 4-wire mode or 2-wire mode. 

For SCLS in "4-wire mode, this is the SCLS output pin. If LPI2C master/slave are configured to use separate pins, then this the LPI2C slave SCL pin."

For SDAS  in "4-wire mode, this is the SDAS output pin. If LPI2C master/slave are configured to use
separate pins, then this the LPI2C slave SDA pin."

Please look at Chapter 52 (Low Power Inter-Integrated Circuit (LPI2C)) of the S32K1xx Series Reference Manual, Rev. 13, for more information about this module. 

 

B.R

VaneB

0 Kudos
Reply