How to reconfig the Pin?

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

How to reconfig the Pin?

跳至解决方案
1,028 次查看
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 项奖励
回复
1 解答
1,023 次查看
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 项奖励
回复
1 回复
1,024 次查看
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 项奖励
回复