How to send and receive serial (UART) data on BeagleBone Black in Simulink

3 ビュー (過去 30 日間)
Max Abildgaard
Max Abildgaard 2021 年 11 月 8 日
回答済み: Swatantra Mahato 2021 年 11 月 11 日
Hi,
we just installed the embedded coder support for Beaglebone Black. I tested the Simulink-example and it works just nicely. But there seems to be no provision for serial (UART) data in the simulink blocks. This seems strange as it is indeed part of all the other packages such as Arduino, Beaglebone Blue, and Raspberry. Am I overlooking something obvious or is this functionality not supported?
Does someone have a tip for how to build Simulink BBB Simulink applications that use the UART?
Best
Max

回答 (1 件)

Swatantra Mahato
Swatantra Mahato 2021 年 11 月 11 日
Hi Max,
Currently there are no serial blocks in the Simulink support package for BBB to support serial communication using BBB. This might be considered for a future release.
As a workaround, you can write your own Simulink blocks to perform this function. You can refer the following as a starting point
In case you decide to write your own blocks, then this FileExchange post may be useful:
Hope this helps

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by