This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28379D: How to Connect Jetson Nano as Master and C2000 MCU as Slave While Running 10kHz Motor Control Code?

Other Parts Discussed in Thread: C2000WARE

I am trying to use the DSP28379d launchpad for my motor control application which is being run at 10Khz sampling epwm isr and works well on its own.

 

However, I am also trying to connect SPI with this DSP28379d to another SPI device(jetson nano for AI). 

Both the clocks of SPI MOSI and MISO and CS are connected

 

I have tried to do the DSP as the master and jetson as a slave (apperently jetson cannot be run as slave for my case)

 

Therefore I need to do something like  DSP as slave and jetson as the master.

 

so 

Jetson asks for the data-->1

DSP takes ADC data and sends it to the jetson -->2 

Jetson will get the data --> 3

jetson will do inferencing on the data -->4 

jetson will send data back to the dsp (SPI)-->5 

 

(very fast so all the above steps within 0.0001s)

 

Does the device clock also matter? (DSP has its internal clock and jetson has its own internal clock) 

I need the SPI to be much faster than 10Khz epwm isr so that sending and receiving and inferencing can be done within 0.0001s.

What can be the logical approach and suggestion to this considering that the control also depends on the jetsons data?

  • Hello,

    It looks like this is largely a duplicate of this question that you asked. While there are a few more specific questions here, the answer I gave on the prev. thread still applies- look over the device TRM and C2000Ware examples and let me know if you have any further questions.

    Please direct further follow-ups to the other thread to keep things consistent.

    Regards,
    Jason Osborn