dmikushin / pymodbus

A full modbus protocol written in python
Other
0 stars 0 forks source link

Add SPI-based MODBUS backend #1

Open dmikushin opened 1 month ago

dmikushin commented 1 month ago

Due to the lack of free UART ports in my setup, I must provide support for running MODBUS over the SPI interface.

It looks like this is possible in principle, but no opensource solutions for MODBUS+SPI exist yet.

Therefore, I will extend pymodbus with SPI support via https://github.com/lthiery/SPI-Py

dmikushin commented 1 month ago

A dummy SPI client code example is provided here: https://forum.armbian.com/topic/4748-orangepipc-h3-armbian-spi-step-by-step-c-code/?do=findComment&comment=36041