你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

stm32f4 dcmi接收tvp5150 bt656 ycbcr422的数据问题

[复制链接]
jzmpapa 提问时间:2019-6-19 19:08 /
我们的硬件BNC CVBS pal制模拟输入->tvp5150->dcmi
主要是用来采集cvbs视频数据,tvp5150进行模数转换,送到dcmi采集。我们采用了内同步机制。但是dcmi一直报内同步错误。

我有2个疑问,在蓝色字体
截取自stm32f4datasheet
1
Embedded data synchronizationmode
In this synchronisation mode, thedata flow is synchronised using 32-bit codes embedded in
the data flow. These codes use the 0x00/0xFF values that are not used indata anymore.
There are 4 types of codes, all with a 0xFF0000XY format. The embeddedsynchronization
codes are supported only in 8-bit parallel data width capture (in the DCMI_CRregister, the
EDM[1:0] bits should be programmed to “00”). For other data widths, this modegenerates
unpredictable results and must not be used.
Note: Camera modules can have 8 suchcodes (in interleaved mode). For this reason, the
interleaved mode is not supported by the camera interface (otherwise, everyother halfframe would be discarded).
内嵌码同步模式
在此同步模式下,将使用数据流中嵌入的32 位码来同步数据流。这些码使用数据中不再使
用的值 0x00/0xFF。共有 4 种同步码类型,均采用 0xFF0000XY 格式。只有 8 位并行数据
接口支持内嵌码同步(DCMI_CR 寄存器中的 EDM[1:0] 位应编程为“00”)。对于其它数
据宽度,此模式将造成无法预知的结果,因此不得使用。
注意: (在隔行扫描模式下)摄像头模块具有 8 个此类代码。因此,摄像头接口不支持隔行扫描模
式(否则每帧数据的一半都会被丢弃)。
提出需要的讨论:pal是隔行扫描模式,tvp5150没有deinterlace模块,所以无法由interleaved变为progressiveSt的文档又说,内同步不支持隔行模式。
是否结论就是,我们无法使用目前的内同步方式采集tvp5150的数据。
2
The digital camera is a synchronousparallel interface able to receive a high-speed data flow
from an external 8-, 10-, 12- or 14-bit CMOS camera module. It supportsdifferent data
formats: YCbCr4:2:2/RGB565 progressive video andcompressed data (JPEG)
如果我们改为外同步
提出需要的讨论:st的文档说只支持YCbCr4:2:2progressive video,理论上,需要deinterlace芯片转换后送过来才能收到。


收藏 评论0 发布时间:2019-6-19 19:08

举报

0个回答

所属标签

相似问题

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
微信公众号二维码 微信公众号
手机版二维码 手机版