2024-04-25 07:06 PM - last edited on 2024-04-26 12:50 AM by Peter BENSCH
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.
Solved! Go to Solution.
2024-04-26 12:56 AM - edited 2024-04-26 12:56 AM
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
2024-04-26 12:56 AM - edited 2024-04-26 12:56 AM
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
2024-04-26 02:51 AM
Thank you for your response. I have resolved this issue.