interfacing rs 845 bus

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

interfacing rs 845 bus

1,682件の閲覧回数
santoshganachar
Contributor II

hi how  to interface lpc54114 to Rs 485 modbus device 

ラベル(1)
5 返答(返信)

1,473件の閲覧回数
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,473件の閲覧回数
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,473件の閲覧回数
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,473件の閲覧回数
george
Senior Contributor II

Dear Kerry,

Thank you for the kind explanation.

I see.

Thanks,

George

0 件の賞賛
返信

1,473件の閲覧回数
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 件の賞賛
返信