Tool/software:
This is the first time we have used 935 internal AON clock mode.We designed 3 different modules with 935's AON mode.Both of them 935's GPIO0 output frame-sync signal for sensor.
The camera displayed only 6 frame.So we tested the 935's GPIO0 and 954's GPIO0,both of them are 6Hz PWM signals.We controled GPIO0 of 954 disable input,after that,enable 954 GPIO0 output.
However, at CSI-2 Synchronous mode, we can config 935's GPIO0 and 954's GPIO0 as 30Hz PWM pulse .
So internal AON clock affects the configuration of GPIO0? PLZ change GPIO0 to output 30Hz PWM signal.
The following are our configurations.We need your help.THANKS
[ParaList]
//***********configure 954 **************
0xffff,0xFF,//delay 255mS
0xfff8,0x60, // switch device address to 0x60 to configure 954
0xffff,0xFF,//delay 255mS
0x4c,0x01, // Port 0 Writes enabled//
0x5c,0x30, //set 935 Slave Device ID
0x5d,0x44, //set sensor Slave Device ID
0x5e,0xa0,
0x5f,0xb0,
0x65,0x44,
0x66,0xA0,
0x67,0xB0,
0x6d,0x7c, //Configure port to coax mode and FPD III to CSI mode
0x7d,0x01,
0x0F,0x7E, //disable GPIO0 input
0x10,0x91,
0x32,0x01, // csi port0 config enable
0x33,0x03, // 4 lane enable csi for csi port0
0x1f,0x02, // csi speed
0x20,0xE0, //forwarding of RX0 to CSI0
//RX
0x4C,0x01,
0x6E,0xAA,
0x10,0x91,
0x19,0x20,
0x1A,0x8D,
0x1B,0xB8,
0x1C,0x77,
0x18,0x01,
0xffff,0xFF,
0xfff8,0x60,// device address to 0x60 to configure 954
0x58,0x7a, //assert AUTO_ACK_ALL for remote I2C writes to 935
0x5C,0x31, //assert SER_AUTO_ACK for remote I2C writes to 935
//*********** configure TI935 **************
0xffff,0xFF,//delay 255mS
0xfff8,0x30, //// switch device address to 0x30 to configure 935
0xffff,0xFF,
0x05,0x0B //Open internal AON CLK
0x03,0x13 //add
0x01,0x01 //add
0x01,0x03, //RST
0x02,0x73, //Continuous Clock 4-line I2C 1.8V
//0x03,0x10, //CSI-2 Non-synchronous external clock Mode
0x32,0x89, //I2C Pass-Through All
0x06,0x6a,
0x07,0xf2,
0x0E,0x3c, //GPIO HIGH
0x0D,0xd0, //GPIO HIGH
0x05,0x38, //Internally generated OSC clock
//***********configure 954 **************
0xffff,0xFF,//delay 255mS
0xfff8,0x60, //switch device address to 0x60 to configure 954
0xffff,0xFF,//delay 255mS
0x58,0x5A, //deassert AUTO_ACK_ALL now that 935 AON config is complete
0x5C,0x30, //deassert SER_AUTO_ACK now that 935 AON config is complete
//*********** configure TI935 **************
0xffff,0xFF,
0xfff8,0x30, //Ser SlaveID 0x30
0xffff,0xFF,
0x0e,0x30,
0x02,0x73
0xffff,0xff
0x0d,0xd0,