Skip to content

Can you help me integrate your nanoMODBUS library On STM32F767 board? #124

Description

@leoembeddeder

@ntfreak @dervomsee @arhiv6 @carlfriess @LeZerb
hello, guys

Can you help me integrate your nanoMODBUS 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

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

Image 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 Image
  1. about the Timer interrupt , you can use systick 50us every time
Image Image

Here's my project zip file, please help me

Mdobus-STM32F767.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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