max9296+max9295调试总结
期间遇到了几个硬件问题,和硬件一起check,最终解决。
这里记录一下,调试过程遇到一个问题。
soc端csi抓出来图像纯绿色,如下图:
解决方法,修改寄存器解决:
//max9296:
0x0050,0x01,
0x0051,0x00,
0x0320,0x26,
0x0316,0x80,
0x0313,0x06,
//max9295:
okay后显示:
adb shell "qcarcam_test -config=/system/bin/qcarcam_config.xml"
==========================================================
'1'....Open a stream '2'....Close a stream
'3'....Stop a stream '4'....Start a stream
'5'....Pause a stream '6'....Resume a stream
'7'....Stop all streams '8'....Start all streams
'9'....Pause all streams '10'....Resume all streams
'11'....Resume all streams '12'....Resume all streams
'13'....Set frame rate control '14'....Set exposure
'15'....Set color param '16'....Get color param
'17'....Set Gamma Table '18'....Get Gamma Table
's'.....Dump Image
'e'.....Exit
===========================================================
Enter your choice
Success
xcz Average FPS: 30.00 input_id: 0 idx: 0, count = 165
xcz Average FPS: 30.00 input_id: 0 idx: 0, count = 255
xcz Average FPS: 30.00 input_id: 0 idx: 0, count = 345
xcz Average FPS: 30.00 input_id: 0 idx: 0, count = 435
xcz Average FPS: 30.00 input_id: 0 idx: 0, count = 525
xcz Average FPS: 30.00 input_id: 0 idx: 0, count = 615
xcz Average FPS: 30.00 input_id: 0 idx: 0, count = 705
xcz Average FPS: 30.00 input_id: 0 idx: 0, count = 795
xcz Average FPS: 30.00 input_id: 0 idx: 0, count = 885
xcz Average FPS: 30.00 input_id: 0 idx: 0, count = 975
xcz Average FPS: 30.00 input_id: 0 idx: 0, count = 1065
xcz Average FPS: 30.00 input_id: 0 idx: 0, count = 1155