Skip to main content
AVasi.3
Associate
February 21, 2020
Question

How to do MODBUS communication over the UART.

  • February 21, 2020
  • 2 replies
  • 2756 views

I m using Nucleo-f413zh controller. i want to know how we can do the modbus communication over it using UART tx and rx.plzz provide me the basic code of the modbus i m having a modbus library.plzz provide me the any example code of sending or receiving something with the board using modbus

This topic has been closed for replies.

2 replies

AMera.1
Visitor II
May 27, 2020

Hi, I have ported an Arduino library using the standard Cube HAL and FreeRTOS. You can take a look in the following link

https://github.com/alejoseb/Modbus-STM32-HAL-FreeRTOS/blob/master/README.md

AGold.1
Visitor II
July 25, 2020

I have written a book on Modbus slave design using C targeted to STM32: https://www.amazon.com/dp/B086PNZF4W