BeagleBone Black UART using S-function builder in Simulink

4 visualizaciones (últimos 30 días)
bassam massouh
bassam massouh el 26 de Feb. de 2015
Comentada: Kurt Stewart el 22 de Mayo de 2018
i have built an S-function for communication between beaglebone black and atmega328 the beaglebone sends through the same port (ttyo1) what ever it receives directly for example the atmega sends 3 lines per second, for the first 25 lines the BBB is receiving and transmitting at the same rate but after that it starts to send 1 line per second (or less) and when the streaming is off the BBB continues to send the remaining lines that have not been sent yet. any help would be appreciated. thanks

Respuestas (1)

Fu Manchu
Fu Manchu el 8 de Dic. de 2016
Hallo Massouh,
i'm new to operating BBB using MATLAB and Embedded Coder Support Package. In Simulink, i need to establish a communication via BBB's UART with a sensor. Though the communication works via MATLAB, I haven't yet succeeded in establishing a communication using the Support Package Library in Simulink. The title of your question confirms what i've suspected: to build a S-Function. Did you use C S-Functions or Level-2 MATLAB S-Functions? Can you send/provide me with the code/example of your S-Function? Hopefully i can help you afterwards. Thanks. Cheers.
  1 comentario
Kurt Stewart
Kurt Stewart el 22 de Mayo de 2018
Debian version 7.9 is needed not the newer one MATLAB downloads with the package

Iniciar sesión para comentar.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by