2 justin kang justin_kang 于 2016.09.19 17:33 提问

ov7670帧率配置疑问,实际为30fps,但我算的是60fps

在网上查看ov7670配置表,给出结论有两种形式
1:24Mhz输入,输出30fps的寄存器配置为:
I2c_salve_Address = 0x42;
write_i2c(0x11, 0x80);
write_i2c(0x6b, 0x0a);
write_i2c(0x2a, 0x00);
write_i2c(0x2b, 0x00);
write_i2c(0x92, 0x00);
write_i2c(0x93, 0x00);
write_i2c(0x3b, 0x0a);
经过查时序图,1Tframe=510*Tline;Tline=784Tp
此处Tp=外部输入频率,即为24M
得到Tframe=(1/24000000)*510*784=1/60,即帧率为60fps;
但实际的为30fps,为什么我算出来的多了一倍,求大神告知,谢谢!
2:当为12M输入时,同样得到30fps的寄存器配置
I2c_salve_Address = 0x42;
write_i2c(0x11, 0x80);
write_i2c(0x6b, 0x4a);
write_i2c(0x2a, 0x00);
write_i2c(0x2b, 0x00);
write_i2c(0x92, 0x00);
write_i2c(0x93, 0x00);
write_i2c(0x3b, 0x0a);
此处改变输入始终倍数,0x6b寄存器写成0x4a时,为4倍的输入,我认为得到的输入也是4倍,所以我认为的是最后帧率为60fps,求大神告知我错在哪里,跪求!!!!

1个回答

u010257920
u010257920   2016.09.19 17:55

sensor内部会分频/倍频

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!