Using Simulink and a TI C2000 how to collect and log multiple signals over serial communications.

8 views (last 30 days)
I currently have a TI C2000 Launchpad XL and can use Simulink to measure the position of a motor shaft from an encoder. I can program the board to calculate the position and speed, but I am only able to get one out at a time. The goal would be to have the Board calculate both position and speed then send that data to the PC. I am attaching screenshots of my models. Any insight would be helpful.
Above is the model that is being programmed onto the C2000.
Above is the model running on the PC to gather the serial output.

Answers (1)

Keyur Mistry
Keyur Mistry on 23 Nov 2022
Please refer to the following example link FOC of PMSM using QEP.
In this example it has been demostrated that how one can communicate two different signals from launchpad to PC via serial communication.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!