Other Parts Discussed in Thread: TMDSHSECDOCK, C2000WARE, TMDSFSIADAPEVM
Tool/software: Code Composer Studio
Hello,
I am currently working through the fsi_ex1_loopback_cpucontrol project that is available to download on C2000Ware. I am using a TMDSCNCD280049C controlcard and a TMDSHSECDOCK docking station. I am able to run the project with internal connections (EXTERNAL_FSI_ENABLE == 0), however when I try to run the project using external connections (EXTERNAL_FSI_ENABLE == 1) I get to the ESTOP0 on line 363 of fsi_ex1_loopback_cpucontrol.c, which is due to the txTimeOutCntr and rxTimeOutCntr going down to 0 (the receiver isn't receiving anything from the transmitter):
// // Coming out of infinite while loop means timeout occurred for one of Tx // or Rx transmit/receive events. Debug further to root-cause // ESTOP0;
I am assuming that my external connections are incorrect, below are the instructions (lines 43-62) in the comments on what external connections I should make.
//! External Connections Required between FSI TX and RX of the same device: //! - FSIRX_CLK to FSITX_CLK //! - FSIRX_RX0 to FSITX_TX0 //! - FSIRX_RX1 to FSITX_TX1 //! //! ControlCard FSI Header GPIOs: //! - GPIO_27 -> FSITX_CLK //! - GPIO_26 -> FSITX_TX0 //! - GPIO_25 -> FSITX_TX1 //! - GPIO_13 -> FSIRX_CLK //! - GPIO_12 -> FSIRX_RX0 //! - GPIO_11 -> FSIRX_RX1 //! //! LaunchPad FSI Header GPIOs: //! - GPIO_7 -> FSITX_CLK //! - GPIO_6 -> FSITX_TX0 //! - GPIO_25 -> FSITX_TX1 //! - GPIO_33 -> FSIRX_CLK //! - GPIO_12 -> FSIRX_RX0 //! - GPIO_2 -> FSIRX_RX1
I am trying to get FSI to work just on the singular 280049C using the i/o's on the control card via the docking station, no other device.
Below are the connections I have for J1 of the TMDSCNCD280049C (they're not in the Piccolo F280049 controlCARD Information Guide) so I deduced them from the pinout on J2 of my TMDSFSIADAPEVM.
FSIRX_RX0 |
FSIRX_RX1 |
FSIRX_CLK |
GND |
FSITX_TX0 |
FSITX_TX1 |
FSITX_CLK |
GND |
My question is: am I supposed to connect the "External Connections Required between FSI TX and RX of the same device" or the "ControlCard FSI Header GPIOs" or both?