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.

TMS320F280049: Maximum speed of FSI used as SPI

Part Number: TMS320F280049

Hi team,

A short question:

According to my knowledge, the fasted speed of SPI in F280049 is 100Mhz/4=25Mhz.

What about the SPI achieved FSI in SPI mode? Will this have a higher speed?

Thanks!

  • Hi Brian,

    Even though FSI interface can work at higher speed, there is SW overhead when used as SPI hence will not give higher thoughput hence would recommend to use actual SPI interface instead of SPI mode of FSI.

    Regards,

    Vivek Singh

  • Hi Vivek,

    What do you mean by SW overhead? In fact, I went through the source code of fsi_ex11_spifsi_full_duplex, and I did not noticed obvious difference comparing to using other communication peripherals.

    What is the condition FSI is designed to work as SPI interface?

    Regards,

    Brian

  • What Vivek mentioned is,

    Every time you send data through fsi in SPI mode and it is received at an Mcu using the SPI peripheral, it will be receiving the frame tag, user data, then it will receive the data it self, then the crc and so on. The over head of reading all of these in the SPI module of the receiving mcu will slow things down. Then when you want to send data, you have to first send the frame tag, user data and so on using your SPI module. The device with fsi in SPI mode will automatically read those without user interaction.

    Nima

  • Hi Nima,

    Thanks for your reply but I am still a little bit confused.

    In fact, my customer is trying to use SPI as the interface betweeen F280049 and an ethercat controller. Thus, they are expecting higher SPI speed than 25Mhz we supported. Regarding our Fsi can support 50Mhz, they would like to use FSI as SPI.

    I understand we need to transmitt some addtional information in additional to the data it self to follow the protocol of the receiver device. But it is not related to whether we are using SPI module or FSI in SPI mode is that correct? Did you mean SPI mode FSI will require addtional tranmitting than the SPI module?

    Besides, when we are talking about the transmitting speed(25M or 50M), we are mainly talking about the bit rate. If FSI is used SPI, will it still run at 50Mhz?

    Regards,

    Brian

  • Okay now that I know your device setup I can make it more clear.

    You f28004x device will transmit data easily using fsi in SPI mode at 50 MHz

    Your ethercat controller will receive the data plus extra information like the tags and the crc using SPI. On the ethercat controller side you will have to parse the frame and grab the data.

    Nima Eskandari