c2000 embeded coder. f2978d simulink doubt

With c2000 embeded coder. I have made a simple simulink design, It always output the letter 's' no matter whatever constant is sent out to the SCI I have attached screenshot of the design
using f28379d launchpad as hardware

 采纳的回答

Antonin
Antonin 2017-8-23
Hi Varun,
The "protocol" mode is the culprit. It tries to establish communications using a proprietary protocol which is responsible for the 's' character being sent. In the configuration parameters of the model, under SCIA make sure to pick "Raw_data" for the communication mode. This should fix the problem.
I hope it helps,
Thanks,
Antonin.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by