How to communicate a Raspberry Pi with a DSP F2833 using SCI communication

I'm doing a project in which I have to send certain data from a Raspberry Pi to the DSP so that it can control some motors, the Raspberry Pi being the one in charge of sending the desired position and the DSP would have to return the position in real time. Using the PSIM code gen, how do I have to send the information and how do I have to receive it on the Raspberry?
Answers
-
Hi,
Serial communication is not possible with PSIM. And PSIM supports code generation for only TI targets (DSP). We can't generate code for Raspberry with PSIM.
With PSIM SCI function we can only do the following:
"F2833x provides the function for serial communication interface (SCI). Through SCI, data inside the DSP can be transferred to a computer using an external RS-232 cable. PSIM provides all the necessary functions to transmit and receive data on both the DSP and computer sides, and to display the data on the computer. This provides a very convenient way to monitor, debug, and adjust the DSP code in real time.By using the Serial Communication Interface (SCI) blocks in the Target library, PSIM provides the DSP Oscilloscope function that can display waveforms and change parameters inside the DSP in real time."
You can use the CAN bus communication in PSIM.
Thank you,
Vishwanatha Siddhartha
0 -
Hi,
This is possible by using EMBED tool.
One can send data from a Raspberry Pi to a DSP via Serial/UART protocol.
Other supported protocols on Raspberry Pi is I2C or SPI.
We support autocodegen and auto-flash for Raspberry Pi in Embed for all these protocols.There is a sample example for this in EMBED.
Thank you,
Vishwanatha Siddhartha
0