我们现在是在dm368平台上做的开发,原来用的sensor是mt9p031,图像显示正常,现在用的sensor是fpga控制输出的14bit的raw数据,由于原来mt9p031是12bit的接口,所以fpga丢了2位,然后给dm368。在PC端我们测试过,这个sensor的14bit数据丢弃2位是可以正常还原出来图像的。目前在dm368上显示出来的图像基本能看清,但不是很正常,不知道从哪去找问题,希望各位能给点意见,谢谢。
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.
1. 试一下有个 CLK INV的寄存器,用来给pixel clk采样反相的。
2. 12bit和14bit,在DM368上最高位是要选过的。你搜一下MSB什么的关键字看看
3. 因为不知道你的画面原来应该是什么颜色,所以建议你开sensor端的colorbar等测试图样来看。
The
Clock controller can configure to trigger on the rising or falling edge of the PCLK signal
by setting the bit VPSS_CLK_CTRL.PCLK_INV in SYSTEM module registers.
还有,请用colorbar这个比较能说明问题