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.

Exchange information simultaneously between three serial connected F28377D Delfino Experimenter Kits

Here are just several brief notes/descriptions of the laboratory setup:

- There are tree pendulums, each driven (balanced) by its own DC motor. The three microcontrollers (one per motor) should cooperate together in real-time while controlling the pendulums. Here by the term “cooperate” we mean that the microcontrollers have to exchange information (e.g. numerical values, vectors, matrices) at the sampling frequency of 1000 Hz (which corresponds to the sampling time of the controllers, which is 1ms).

Question:

If I would like to connect and exchange information simultaneously between three serial connected F28377D Delfino Experimenter Kits, with duty cycle of 1 millisecond, transferring simultaneously 100 float point numbers between first and second Delfino and 100 float point numbers between second and third Delfino. Is this task possible, and with which connection/protocol (UART, SPI, McBSP, I2C or CAN ?) ?

  • Tihomir,

    I'm assuming these are 32-bit floating point numbers, which gives a data rate of 400 kilobytes/second (3.2 megabits/second). That rules out UART/SCI, I2C, and CAN. SPI is the best choice. On the F28377, we have a high-speed SPI module that can transfer data at up to 40 megabits/second. It's DMA-accessible, so it would be easy to transfer a large amount of data.

    GPIO mux options for 40 MHz SPI are limited, but a lower frequency (like 20 MHz) should work on other mux channels as well. Please see the TRM and datasheet for more details.

  • Many many thanks Adam!