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

조회 수: 4 (최근 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