Other Parts Discussed in Thread: AMIC110
I am new to EtherCAT and assessing it for a potential application. In my current application, I am controlling a SPI device from a Host PC via an FTDI USB bridge device. Each burst of SPI writes is about 1.28kB (all control messages). My SPI device is capable of 50MHz SPI, but this speed is not possible with the FTDI USB device. Additionally, my application involves several nodes with one Host PC master. To minimize the latency between the Host PC and the SPI device, standard Ethernet is not sufficient. For these reasons, I am considering EtherCAT for the application. The diagram below shows the proposed system.
I see that the TMS320F2837xS has 3 SPI ports capable of 50MHz SPI communication. Is it possible to use this MCU to bridge the Host PC (EtherCAT Master) to the SPI device?
The application on the MCU would basically just translate and send the EtherCAT data to the SPI device. The data flow would be as follows:
- Host PC formats 10kB control data for SPI device as EtherCAT datagrams
- TIDM-000299 sends datagrams to MCU via SPI Port 1
- MCU forwards data to SPI device via SPI Port 2 at 50MHz
Looking at the design guide for TIDM-000299, I see two SPI rates listed in Table 3: 16MHz (Slave) and 48MHz (Master). In my proposed application, which rate applies?