Serial communication with DSP F28377s
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Walter Roberson
2020-5-20
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.
Once you have a stream that is all the same data type, you use SCI transmit: https://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/ref/c28xscitransmit.html and SCI receive https://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/ref/c28xscitransmit.html
4 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!