2012-10-26 02:50 PM
I trying to use DCMI Interface connected to external video decoder IC ''TVP5150''. DCMI Interface is configured in Snapshot mode (single frame) and to use embedded data synchronization codes (ITU656) in ''Mode 1'' as described in STM32F4 Reference manual ''Doc ID 018909 Rev 2'' on page 280.
Video decoder IC ''TVP5150'' is working too in mode ITU656 and generating correct embedded sync codes in video data stream (SAV / EAV blanking, SAV / EAV active video). But STM32F4 is not able extract sycronisation (hsycn, vsync) from ITU656 in a correct way. STM32 is always generating ''IT_ERR'' (Indicates the detection of an error in the embedded synchronization frame detection) and not grabbing video data. After research i found out that the reason for that behavior is the order of sync code ''SAV active video'' and ''EAV active video'' in data stream. STM32F4 is expecting in ''Mode 1'' that after sync code FEC (frame end delimiter) is following a LSC (line start limiter = SAV) as decribed in ''Doc ID 018909 Rev 2'' page 293. STM32F4 is expecting something like that: ... [FEC]... line n+0: [SAV] [active video data] [EAV] [horizontal blanking] line n+1: [SAV] [active video data] [EAV] [horizontal blanking] line n+2: [SAV] [active video data] [EAV] [horizontal blanking] ... But video decoder IC is generating sync codes in opposite way (line starts with EAV and not SAV): ... [FEC]... line n+0: [EAV] horizontal blanking] [SAV] [active video data] line n+1: [EAV] horizontal blanking] [SAV] [active video data] line n+2: [EAV] horizontal blanking] [SAV] [active video data] ... Anybody have an idea how to configure STM32F4 register ''DCMI_ESCR'' and DCMI_ESUR'' (or maybe other register) that it can be used for ITU656 ? #translation2014-04-14 12:15 PM
2014-04-16 01:35 AM
Hi Vaidas,
It should be better to describe clearly your issue so that community members can help you. Please create a new discussion for this purpose. -Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2014-04-16 07:57 AM
Assume the salient keywords are TVP5150, ITU656 and DCMI
Does ST have any app notes related to using DCMI with assorted video sources and decoders? Does ST have ANY FAE's that can participate here? Can any Distributor FAE's lurking here participate?2014-11-14 01:23 AM
2017-01-13 05:56 AM
TVP5150 output is a valid, standard one. You have considered order of fields in registers as order of codes in data stream – but that isn't related to each other. Just enter 'itu-r bt.656 eav sav' in google images to see that TVP5150 outputs according to the standard.
However, did anyone succeed in decoding video-decoder ICs? Not cameras?
Best regards,
Sebastian Gniazdowski