解決済! 解決策の投稿を見る。
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
Thank you a lot!
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