Hi TI_Team,
We are using two DS90UB954 Deserializers with two DS90UB953/AR0231 cameras, now the two cameras open and preview fine.
Now we need to synchronize two DS90UB954 Deserializers as shown in Figure 29 of DS90UB954 datasheet.
- Share same Crystal 24MHz 20ppm (not exactly 25MHz) and supply to REFCLK port of both 954.
- Set GPIO_0 for Backchannel FrameSynch, and supply external Frame Synch to both 954 (PWM 30Hz 50%duty).
- Configure FS_CTL as 0x80 (External FrameSync from GPIO0)
- Configure BC_GPIO_CTL0 as 0x8A ( BC GPIO1=fixed low, BC GPIO0=FrameSynch)
With the above setting, the two DS90UB954 synchronization works not good.
Could you help to check my setting and give us some advices?
Register settings:
```
TI954
{0x01, 0x02},
{0xB3, 0x00}, /* BIST */
{0x1F, 0x00}, /* 800Mbps csi clock per lane//1.6Gbps csi clock per lane */
{0x32, 0x01},
{0x33, 0x01}, /* 4line */
{0x20, 0x00},
{0x4C, 0x01},
{0x58, 0x5E}, /* BCC_CONFIG --- BC_FREQ_SELECT 50Mbps */
{0x5C, (TI953_CAM1_ADDR << 1)}, /* TI 953 alias address */
{0x5D, (SENSOR_ADDR << 1)}, /* CAM salve address */
{0x65, (CAM1_SENSOR_ADDR << 1)}, /* CAM alias address */
{0x72, 0xE8}, /* Map Sensor A VC0 to CSI-Tx VC-ID0 */
{0x0F, 0x7F}, /* GPIOs as input */
{0x4C, 0x12},
{0x58, 0x5E},
{0x5C, (TI953_CAM2_ADDR << 1)},
{0x5D, (SENSOR_ADDR << 1)},
{0x65, (CAN2_SENSOR_ADDR << 1)},
{0x72, 0xE9}, /* Map Sensor B VC0 to CSI-Tx VC-ID1 */
{0x0F, 0x7F}, /* GPIOs as input */
{0x6E, 0x8A}, /* BC_GPIO_CTL: FrameSync signal sent to back channel GPIO0 */
{0x6F, 0x32}, /* GPIO2->GPIO2, GPIO3->GPIO3 */
{0x10, 0x91}, /* FrameSync signal; device status; enabled */
{0x18, 0x80}, /* Enable FrameSync from GPIO0 */
TI953
{TI953_CAM1_ADDR, 0x0E, 0x3C}, /* Enable GPIOs as output */
{TI953_CAM1_ADDR, 0x0D, 0xD2}, /* enable remote data */
{TI953_CAM2_ADDR, 0x0E, 0x3C}, /* Enable GPIOs as output */
{TI953_CAM2_ADDR, 0x0D, 0xD2}, /* enable remote data */
```
