i need rs485 sample code. about s32k144 sdk in IDE 3.4

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

i need rs485 sample code. about s32k144 sdk in IDE 3.4

跳至解决方案
594 次查看
NewMCU
Contributor I

i consider to use s32k 144 mcu. 

so we bought 144 evb board and install s32k DS v3.4 & sdk.

 

but example code not contain rs 485 code, and only have uart.

 

could you provide sample code about rs 485?

标记 (2)
0 项奖励
1 解答
580 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

as far as I know, no rs485 example is available, and moreover HW flow control is not configurable at all in the SDK, but you can manually set MODIR register.
You can refer to below thread to know how LPUART can be used.
https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/How-to-use-LPUART-to-RS485-on-the-i-MXRT1050/ta-...

BR, Petr

在原帖中查看解决方案

0 项奖励
1 回复
581 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

as far as I know, no rs485 example is available, and moreover HW flow control is not configurable at all in the SDK, but you can manually set MODIR register.
You can refer to below thread to know how LPUART can be used.
https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/How-to-use-LPUART-to-RS485-on-the-i-MXRT1050/ta-...

BR, Petr

0 项奖励