Skip to main content
Associate
December 5, 2025
Question

Motor Control Protocol

  • December 5, 2025
  • 3 replies
  • 588 views

I am using Nucleo L476RG for controlling BLDC motor. In the FOC control, i need to change the motor ID in the code. What is the procedure to change motor ID??

3 replies

GMA
Technical Moderator
December 8, 2025

Hello @deadlock,

What do you mean by "change motor ID"?

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA
deadlockAuthor
Associate
December 9, 2025

I have 4 motors connected on same RS485 Bus, i want to address particular motor by Motor ID to control motors individually. Let me know  how to address this issue.

GMA
Technical Moderator
December 11, 2025

Hello @deadlock,

STM32L4 series MCSDK firmware is only capable of controlling one motor at a time.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA
deadlockAuthor
Associate
January 7, 2026

Yes, I have connected 4 numbers of STML4 series motor on single RS485 protocol. I want to send RPM command to each motor individually. Please let me know how to modify the code so that i can control motor through ASPEP protocol.

BT.3
Associate II
January 12, 2026

I am also trying to the same. @GMA Please suggest