Serial communication with DSP F28377s

Hi all;
I want to ask three questions; the first question is: is the serial communication between PC and F28377s requires RS 232 cable or not. The second question: i want to communicate serially between PC and f28377s, what are the blocks and their libraries used in the target side and host side. The host PC side contains sine wave generator which is required to be sent to f28377s for processing and then returned back to PC. The target side contains gain which is required to be burnt on F28377s. Briefly i want to send sine wave from MATLAB simulink to F38377s to be gained and then returned back to PC to be read in scope in matlab. The third question is: the boot switches in f28377s which are located on its board, what are their functions in this application.

Answers (1)

is the serial communication between PC and F28377s requires RS 232 cable or not.
No. The F28377s has a USB port, so you would use a USB cable, and would use a Virtual Serial Port driver to communicate using the Serial Over USB protocol. https://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/ug/set-up-the-hardware-target.html
i want to communicate serially between PC and f28377s, what are the blocks and their libraries used in the target side and host side
If necessary, use bytepack() to put together a series of signals that are not all the same data type.

4 Comments

Dear Walter Roberson
Thank you for your answer and i want to ask another question. What are the blocks used in host side?? serial configuration with send and receive blocks from instrument matlab toolbox or host setup with send and receive blocks from embeded coder library or only send and receive blocks from texas instrument C2000 toolbox?
Hmmm, there is https://www.mathworks.com/help/instrument/serial-port-interface.html via Instrument Control Toolbox. Seems a bit heavy-weight since serial is so common.
See also https://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/ug/external-mode.html but I don't think it is directly relevant; likewise https://www.mathworks.com/help/rtw/ug/creating-a-tcp-ip-transport-layer-for-external-communication.html is probably not exactly what you are looking for. (Both of those use serial to communicate with the device, but not for the same purpose you have.)
how to change parametr in external mode in new matlab .
That question does not appear to be relevant here, Mohammad.

Sign in to comment.

Products

Release

R2018b

Tags

Asked:

on 20 May 2020

Commented:

on 23 Jun 2020

Community Treasure Hunt

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

Start Hunting!