Skip to main content
Graduate II
April 26, 2024
Solved

Seeking Advice for Communication on Nucleo-h743zi2 Board

  • April 26, 2024
  • 1 reply
  • 1312 views

Hello,

 

I'm currently controlling a motor with the nucleo-h743zi2 board.

 

I'm sending commands to the motor driver via PWM and reading the encoder's values.

I can currently send commands from a PC and receive encoder values through UART communication.

When using UART communication, is there any control available for receiving both encoder values and other data like speed and control signals calculated on the board at the same time?

 

I want to plot graphs on the PC to easily monitor control performance.

Is there any reference material that would be helpful for me?

 

And as I'm a beginner and have used UART communication, please let me know if there are any other methods available.


Thank you in advance for any advice you can provide.

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    So if it is acceptable for your application that encoder values and the other data arrive in the PC one after the other, you can send any data via a single UART.

    If the data must be transmitted independently of each other and actually at exactly the same time, you can also provide additional serial channels (UART, SPI, etc.) for each of the data streams.

    Hope that answers your question?

    Regards
    /Peter

    1 reply

    Technical Moderator
    April 26, 2024

    So if it is acceptable for your application that encoder values and the other data arrive in the PC one after the other, you can send any data via a single UART.

    If the data must be transmitted independently of each other and actually at exactly the same time, you can also provide additional serial channels (UART, SPI, etc.) for each of the data streams.

    Hope that answers your question?

    Regards
    /Peter

    HMsDobby2Author
    Graduate II
    April 26, 2024

    Thank you for your response. I have resolved this issue.