Skip to content

Can you help me integrate your FREEMODBUS_RTU library On STM32F767 board? #4

Description

@chenyurong22

@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

Image

USART1_TX PA9
USART1_RX PA10

115200 bps,

Image Image

2.I use USART3 for Modbus USART, use interrupt

Image

use 115200 baud rate, just use TTL RS232, No RS485

Image

USART3_TX PB10
USART3_RX PB11
115200

3.you can use STM32 CubeIDE and MDK-ARM KEIL

Image Image Image

4.I've already got printf working on serial port 1, so you can just use the printf function directly.

Image Image

5.I’ve already set up the software framework using KEIL. In the app.c file, you can add your Modbus RTU code library.

Image Image

6.about the Timer interrupt , you can use systick 50us every time

Image Here's my project zip file, please help me

Mdobus-STM32F767.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions