Modbus RTU for LCPXpresso804

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

Modbus RTU for LCPXpresso804

Jump to solution
1,775 Views
Mayk_Blanco
Contributor I
Hi. I want to know if there is already a library for the Modbus RTU protocol for LCPXpresso804. I need to control a PLC. If anyone has nan example it would help me a lot.
 
Greetings to all.
Labels (1)
0 Kudos
Reply
1 Solution
1,767 Views
ErichStyger
Specialist I

I use Modbus with K22, RP2040 and LPC845.

You should be able to easily use it with the LPC804, as it is similar to the LPC845.

You can find it here:

https://github.com/ErichStyger/McuOnEclipseLibrary/tree/master/lib/Modbus

and the RS-485 driver is here: https://github.com/ErichStyger/McuOnEclipseLibrary/blob/master/lib/src/McuUart485.c

You can check the project described here (has a link to the GitHub project too):

https://mcuoneclipse.com/2022/12/31/controlling-an-ev-charger-with-modbus-rtu/

See the other links at the end of above article.

 

I hope this helps,

Erich

View solution in original post

2 Replies
1,726 Views
Mayk_Blanco
Contributor I

Thank you a lot!

0 Kudos
Reply
1,768 Views
ErichStyger
Specialist I

I use Modbus with K22, RP2040 and LPC845.

You should be able to easily use it with the LPC804, as it is similar to the LPC845.

You can find it here:

https://github.com/ErichStyger/McuOnEclipseLibrary/tree/master/lib/Modbus

and the RS-485 driver is here: https://github.com/ErichStyger/McuOnEclipseLibrary/blob/master/lib/src/McuUart485.c

You can check the project described here (has a link to the GitHub project too):

https://mcuoneclipse.com/2022/12/31/controlling-an-ev-charger-with-modbus-rtu/

See the other links at the end of above article.

 

I hope this helps,

Erich