interfacing rs 845 bus

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

interfacing rs 845 bus

1,689 次查看
santoshganachar
Contributor II

hi how  to interface lpc54114 to Rs 485 modbus device 

标签 (1)
5 回复数

1,480 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi santosh Ganachari,

    Actually, RS485 is just need to control the RTS in the UART module.

    LPC54114 UART module already contains the LPC485 control function, you need to use the RTS connect the LPC485 send enable pin. Then the detail MODEBUS control, you just need to send the according UART data is OK.

   About the according register, please check this chapter in the user manual carefully.

pastedImage_1.png

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,480 次查看
george
Senior Contributor II

Dear kerryzhou

Please let me do the question relevant to this post.

Is an RTS pin valid also in ISP mode?

Best Regards,

George

0 项奖励
回复

1,480 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi George,

   Unfortunately, in ISP mode, the UART just support UART_TX and UART_RX, no RTS is used, please check this information from the user mannual:

pastedImage_1.png

So, if you have the demand to use the RTS pin, maybe you need to create the secondary uart bootloader.

Wish it helps you!
Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,480 次查看
george
Senior Contributor II

Dear Kerry,

Thank you for the kind explanation.

I see.

Thanks,

George

0 项奖励
回复

1,480 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

You are welcome!

Next time, if you have the question, please create the question post by yourself,  we will help you directly in your own post.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复