Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions libraries/sensor/hi3516ev200/smart_sc2235/sc2235_sensor_ctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,16 @@ void sc2235_linear_1080p30_init(VI_PIPE ViPipe)
delay_ms(20);
sc2235_write_register(ViPipe, 0x0100, 0x01);

// On the Imou Cue 2 (IPC-C22EN) the sequence above alone leaves the
// SoC with no pixel clock. Its vendor (Dahua) firmware repeats the DVP
// pad setup once the sensor is streaming, with stronger drive, and
// then starts streaming again.
delay_ms(20);
sc2235_write_register(ViPipe, 0x3d08, 0x01);
sc2235_write_register(ViPipe, 0x3640, 0x01);
sc2235_write_register(ViPipe, 0x3641, 0x02);
sc2235_write_register(ViPipe, 0x0100, 0x01);

printf("=== Smart SC2235_1080P_30FPS_10BIT_LINE_Init_OK!===\n");

return;
Expand Down
Loading