I have troube sending data from the M3-Core to the Host (Simulink). Can someone tell me how it should be done?

조회 수: 1 (최근 30일)
My goal is to exchange Data between Simulink and the Concerto-Board via USB. The example "Serial Data Communication on F28M3x Concerto between ARM, C28x and the Host Computer" is running fine but as soon as i start customizing the Model it stops working. One way communication from Host to M3 seems to work (Simulation model is in the attached pictures). While the simulation is running i can turn the LED on/off by changing the value of the constant in the Host-Model.
However sending a constant value from M3 to Host does not work. I tried it using the "UART0 Serial Send to Host" block from the Example "Serial Data Communication on F28M3x...". For Model see attached Picture. I do not fully understand the function of this block which might be the problem.
I also tried it without using the example block, see third picture. In both cases the communication doesn't work.
So can someone show me what I'm doing wrong an show me how it is done? Or/And explain me the function of the "Serial Data Communication on F28M3x Concerto between ARM, C28x and the Host Computer"-Block?
Thank You

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by