dSpace MicroLabBox Tx serial communications is writing transmissions straight to the receive buffer
22 views (last 30 days)
Show older comments
I am using the dSpace MicroLabBox and am running their Real-Time Interface (RTI1202) on MATLAB 2024b. I am currently attempting to control a motor through RS485. I have the connection working and the motor is correctly responding to commands, however, RTI's Serial Transmit block is writing all of its transmissions straight to the receive buffer. This is causing my Serial Receive block to read a mixed signal of the command sent to the motor and the motor's response, rendering it unintelligible.
This occurs even without anything connected to the dSpace box. So if I disconnect everything, the Serial Receive block reads exactly what was transmitted.
I've attached screenshots of my current model
Any idea's at what could be causing this?


0 Comments
Answers (1)
Spoorthy Kannur
3 minutes ago
Hi Tanner,
From your explanation, it appears that the issue might be related to how the dSPACE RTI1202 interface handles serial communication on the MicroLabBox, rather than a MATLAB configuration problem. Since the Serial Transmit data is appearing directly in the receive buffer even without external hardware connected, this likely involves internal loopback or configuration behaviour specific to the RTI1202.
The issue appears to be with third-party products offered by dSPACE which are external to MathWorks.
You may want to reach out to dSPACE technical support for further assistance with this issue. You can refer to the following link to access dSPACE support: https://www.dspace.com/en/pub/home/support.cfm
You may also find it useful to review the official dSPACE documentation, available here: https://www.dspace.com/en/pub/home/support/documentation.cfm
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!