SNLA267A March 2019 – June 2019 DS90UB953-Q1 , DS90UB954-Q1 , DS90UB960-Q1
Video stream forwarding is handled by the forwarding control in the DS90UB954-Q1 on FWD_CTL1 register 0x20. The forwarding control pulls data from the video buffers for each FPD3 RX port and forwards the data to one of the CSI-2 output interfaces. It also handles generating transitions between the LP and HS modes as well as sending synchronization frames. The forwarding control monitors each of the video buffers for packet and data availability.
Forwarding from input ports may be disabled using per-port controls. Each of the forwarding engines may be configured to pull data from either of the two video buffers, although both buffer may only be assigned to one CSI-2 Transmitter at a time unless in replicate mode. The two forwarding engines operate independently.
The CSI transmitter control can be found in the DS90UB954-Q1 on FWD_CTL2 register 0x21. The control holds the CSI replicate mode (0x21[7]) and the forwarding mode options. The two main forwarding options are synchronized and round-robin/best effort. Synchronized forwarding (0x21[3:2]) offers synchronization of all incoming data stored within the buffer. If packets arrive within a certain window, the forwarding control will attempt to synchronize the video buffer data. When using round-robin/best effort forwarding (0x21[0]), no attempt is made to synchronize the video traffic. When multiple sources have data available to forward, the data will be forwarded in a round-robin fashion.
For more information about CSI-2 Forwarding modes, including the difference between basic synchronized and line-interleaved forwarding, refer to the CSI-2 Forwarding section in the 954 data sheet.
An example script can be found in Section 7.1.3.