@eziya
hello, eziya
Can you help me integrate your FREEMODBUS_RTU library On STM32F767 board? Using my STM32F767 CubeMX and KEIL project below, make examples separately in your examples folder, and I'll help you test them.
1.I use STM32F767 board , the USART1 for debug, no interrupt, just use printf debug
USART1_TX PA9
USART1_RX PA10
115200 bps,
2.I use USART3 for Modbus USART, use interrupt
use 115200 baud rate, just use TTL RS232, No RS485
USART3_TX PB10
USART3_RX PB11
115200
3.you can use STM32 CubeIDE and MDK-ARM KEIL
4.I've already got printf working on serial port 1, so you can just use the printf function directly.
5.I’ve already set up the software framework using KEIL. In the app.c file, you can add your Modbus RTU code library.
6.about the Timer interrupt , you can use systick 50us every time

Here's my project zip file, please help me
Mdobus-STM32F767.zip
@eziya
hello, eziya
Can you help me integrate your FREEMODBUS_RTU library On STM32F767 board? Using my STM32F767 CubeMX and KEIL project below, make examples separately in your examples folder, and I'll help you test them.
1.I use STM32F767 board , the USART1 for debug, no interrupt, just use printf debug
USART1_TX PA9
USART1_RX PA10
115200 bps,
2.I use USART3 for Modbus USART, use interrupt
use 115200 baud rate, just use TTL RS232, No RS485
USART3_TX PB10
USART3_RX PB11
115200
3.you can use STM32 CubeIDE and MDK-ARM KEIL
4.I've already got printf working on serial port 1, so you can just use the printf function directly.
5.I’ve already set up the software framework using KEIL. In the app.c file, you can add your Modbus RTU code library.
6.about the Timer interrupt , you can use systick 50us every time
Mdobus-STM32F767.zip