How to reconfig the Pin?

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

How to reconfig the Pin?

Jump to solution
1,027 Views
jx111
Contributor I

I'm using S32k118。I set PTA3 as a TXD pin used for LIN, but I want to reconfig the PTA3 pin as a GPIO. I use the "PINS_DRV_Init(1, g_pin_mux_PTA3)" to config the PTA3 pin, but it didn't work and occurs the problem. How to reconfig the pin?

0 Kudos
Reply
1 Solution
1,022 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

use functions PINS_DRV_SetMuxModeSel(), PINS_DRV_SetPinDirection() and other for reading/writing pin as per need.

BR, Petr

View solution in original post

0 Kudos
Reply
1 Reply
1,023 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

use functions PINS_DRV_SetMuxModeSel(), PINS_DRV_SetPinDirection() and other for reading/writing pin as per need.

BR, Petr

0 Kudos
Reply