This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DS90UB954-Q1: UB954 MIPI-CSI2 transmission, frame header is not recognized

Part Number: DS90UB954-Q1
Other Parts Discussed in Thread: TIDA-01130

Development environment: TIDA-01130 (ov2775 + UB953) ==》 Nvidia TX2 Board(UB9534 + TX2 )

Now I need to develop a camera driver on the Nvidia TX2. The TX2 is Ubuntu 16.4 and the kernel is kernel-4.4.

At present, I have added the TIDA-01130 driver on TX2. The problem now is that the camera cannot Bring up. On the TX2, the camera is called by the v4l2-ctrl tool to capture the raw image. The valid data cannot be captured. The TX2 receiver log indicates that it does not Identify the packet frame header of ub954.

I have tested waveform of ov2775 mipi CLK/DATA and 954 TX, which have waveform output, but I am not sure whether the image data packet is transmitted correctly.

The ub954, 953 register configuration is as follows:

// UB954 init:

UB954_write_reg( 0x4c, 0x01);
UB954_write_reg( 0x58, 0x5e);
UB954_write_reg( 0x5b, 0x30);
UB954_write_reg( 0x5c, 0x30);
UB954_write_reg( 0x5d, 0x6c); //sensor i2c addr
UB954_write_reg( 0x65, 0x6c); //sensor i2c addr alias
UB954_write_reg( 0x6d, 0x7c);
UB954_write_reg( 0x32, 0x01);
UB954_write_reg( 0x33, 0x01);
UB954_write_reg(0x21, 0x01);
UB954_write_reg(0x20, 0x00)

// UB953 init:

// Sensor Mclk in: 24Mhz
UB953_write_reg(0x06, 0x41);
UB953_write_reg(0x07, 0x28);

//Sensor PWDN and RESET pins setting
UB953_write_reg(0x0e, 0xf0);
UB953_write_reg(0x0d, 0x00);
usleep_range(2000, 2010);
UB953_write_reg(0x0d, 0x04);
usleep_range(2000, 2010);
UB953_write_reg(0x0d, 0x0c);
usleep_range(2000, 2010);

The purpose is:

1. The main clock of ub954 is provided by TX2 and it is 24MHz. Ub953 uses synchronous clock with ub954, the output of 24Mhz is transmitted to ov2775.

2. the output of ov2775 is 4-lane MIPI which is transmitted to ub953, coaxially connected to ub954 RX0 port,

3. 954 TX port is connected to TX2 Board.

Please help confirm if my register configuration is correct.

This problem has been for a long time, please help me to solve it, thank you !