Data Framing and Transmission.

6 Ansichten (letzte 30 Tage)
Arun Kumar
Arun Kumar am 16 Jan. 2014
Beantwortet: Walter Roberson am 28 Jan. 2014
I want to develop a model which shall create a data frame based on a said protocol, and shall be able to transmit that over the UART port of the target.
Currently I am trying to create a 40Byte buffer to contain the frame and then transmit the same over COM1 port of the PC, i byte at a time.
Any suggestions on how to improve on the same?
  2 Kommentare
Walter Roberson
Walter Roberson am 16 Jan. 2014
With the multiple contradictory tags you used, I am not certain now whether this is for MATLAB directly or for Simulink or for code to be embedded with a processor.
Arun Kumar
Arun Kumar am 27 Jan. 2014
This is for a code to be embedded with a processor, but i need to prove the concept in simulink before the code is integrated.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 28 Jan. 2014
I don't know if this will help:
So you would create a signal that held the bytes and put them through the serial send block. By definition serial ports send one byte at a time.

Community Treasure Hunt

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

Start Hunting!

Translated by