SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
FILE: fsi_ex9_star_broadcast.c fsi_ex9_star_broadcast is for the central device in the star topology, fsi_ex16_daisy_handshake_node (CPU Control Only) is used for the N node devices. The fsi_ex16_daisy_handshake_node software example is currently only available for the F28004x devices.
In a real scenario two separate devices may power up in arbitrary order and there is a need to establish a clean communication link which ensures that receiver side is flushed to properly interpret the start of a new valid frame.
The central device in the star topology initiates and drives the handshake sequence and subsequent broadcast data transmissions. The node devices receive and respond to the broadcasts.
After above synchronization steps, FSI Rx can be configured as per use case i.e. nWords, lane width, enabling events, etc and start the infinite transfers. More details on establishing the communication link can be found in the device TRM.
Preprocessor Directives FSI_RXA_ENABLE, FSI_RXB_ENABLE, FSI_RXC_ENABLE are used to enable different FSI RX instances. Each node device's FSI TX should be connected to a FSI RX instance of the central device. The FSI TX of the central device should be connected to each node device's FSI RX.
User can edit some of configuration parameters as per use case, similar to other examples.
nWords - Number of words per transfer may be from 1 -16 nLanes - Choice to select single or double lane for frame transfers txUserData - User data to be sent with Data frame txDataFrameTag - Frame tag used for Data transfers txPingFrameTag - Frame tag used for Ping transfers txPingTimeRefCntr - Tx Ping timer reference counter rxWdTimeoutRefCntr - Rx Watchdog timeout reference counter rxTimeOutCntr - Rx timeout reference counter used in handshake sequence
External Connections
For the FSI star connection topology, external connections are required to be made between the included devices. The FSI TXA pins of the central device (F2838x) needs to be connected to the FSI RX pins of all node devices (broadcast to node devices). The FSI RXA, RXB, RXC pins of the central device should be connected to each individual node device's FSI TX pins. See below for external connections to include and GPIOs used:
External Connections Required:
ControlCard FSI Header GPIOs:
FSI TXA of the central device needs to be connected to FSI RX of all node devices (broadcast to nodes). FSI RXA, RXB, RXC of the central device should be connected to each individual node device's FSI TX.
Watch Variables