Dear LiQiang,
For what you mentioned:
With the 8 bits BT656 interface, for each line of NTSC, we will output (1440 + 276) bytes, and there are total 525 lines for each frame, I don't know what's your meaning of 3432.
By the way, for the blanking video, we havne't output "0x80 0x10 0x80 0x10" for all of them, some blanking video will be filled with all 0x00; that means if you are checking "0x80 0x10" for all blank video, there will be issue.
How can I change 0x00 in blanking video to 0x80 0x10 0x80 0x10? We faved this issue that our encoder output dark green video between frames(should be blanking).
Johnson
Hi Johnson,
I think you should check the EAV/SAV for blanking video, not the content. It is very diffcult for IPU microcode to generate different blank data "0x80 0x10" for blank video.
Hi Darren, before released this BT656 output patch, we had captured all datas of the BT656 frame, and it was confirmed there are both EAV and SAV data.
You can use logical analyzer to capture all data on the 8 data line to verify it. By the way, can you attach your kernel boot up log here?
Please refer the log file.
================================================================================================================================================================
This message may contain information which is private, privileged or confidential of Compal Electronics, Inc. If you are not the intended recipient of this message, please notify the sender and destroy/delete the message. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information, by persons or entities other than the intended recipient is prohibited.
================================================================================================================================================================
There is no error in the log, please show us the information how did you find "imx6 sent twice EAV , not send SAV + EAV".
The patch will output data with followed EAV and SAV code:
FF 00 00 B6 ... ... FF 00 00 AB ... ... (Repeat for 22(19) lines)
FF 00 00 9D ... ... FF 00 00 80 ... ... (Repeat for 288(240)lines)
FF 00 00 B6 ... ... FF 00 00 AB ... ... (Repeat for 2(3)lines)
FF 00 00 F1 ... ... FF 00 00 EC ... ... (Repeat for 23(20)lines)
FF 00 00 DA ... ... FF 00 00 C7 ... ... (Repeat for 288(240)lines)
FF 00 00 F1 ... ... FF 00 00 EC ... ... Repeat for 2(3)lines
FF 00 00 B6 ... ... FF 00 00 AB ... ... (Repeat for 22(19) lines)
FF 00 00 9D ... ... FF 00 00 80 ... ... (Repeat for 288(240)lines)
FF 00 00 B6 ... ... FF 00 00 AB ... ... (Repeat for 2(3)lines)
FF 00 00 F1 ... ... FF 00 00 EC ... ... (Repeat for 23(20)lines)
FF 00 00 DA ... ... FF 00 00 C7 ... ... (Repeat for 288(240)lines)
FF 00 00 F1 ... ... FF 00 00 EC ... ... Repeat for 2(3)lines...
Dear Qiang:
正常horizontal (1440 + 276) * 2 =3432 畫面會正常.
但我們I.MX6 輸出到終端,使用接收端tool 量測卻為6864.
目前只剩這個數值是有差異的,想請問一下在CODE方面有哪些可注意嗎?
thank you.
Hi Darren,
With the 8 bits BT656 interface, for each line of NTSC, we will output (1440 + 276) bytes, and there are total 525 lines for each frame, I don't know what's your meaning of 3432.
By the way, for the blanking video, we havne't output "0x80 0x10 0x80 0x10" for all of them, some blanking video will be filled with all 0x00; that means if you are checking "0x80 0x10" for all blank video, there will be issue.
I am out of the office until 22.06.2014.
I will respond to your message when I return.
Note: This is an automated response to your message "Re:
- i.MX6 solo output BT.656 issue (MCIMX6S5EVM10AB)" sent on 06/18/2014
3:34:16 AM.
This is the only notification you will receive while this person is away.
Hi Darren, I can't identify which picture is for 图一,图二,表一,表二. The reference code had only supported the standard 720*480i mode. It can be found as followed:
* hsync_len: EAV Code + Blanking Video + SAV Code (in pixel clock count)
* For BT656 NTSC, it is 4 + 67*4 + 4 = 276.
* For BT1120 NTSC, it is 4 + 67*2 + 4 = 142.
* For BT656 PAL, it is 4 + 70*4 + 4 = 288.
* For BT1120 PAL, it is 4 + 70*2 + 4 = 148.
*
* vsync_len: not used, set to 1
*/
static struct fb_videomode bt656if_modedb[] = {
{
/* NTSC Interlaced output */
"BT656-NTSC", 60, 720, 480, 37037,
19, 3,
20, 3,
276, 1,
FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
FB_VMODE_INTERLACED,
FB_MODE_IS_DETAILED,},
The above 19, 3, 20, 3 are lines as in table of "image003.png".
So "image003.png" and "image004.png" is current NTSC mode output data.
Dear Qiang:
想請問使用BT.656 port(8 bits data + clk), 為何不能支援到480p , 是哪邊的硬體極限或是其它問題?
thank you.
Hi Darren, the current IPU BT656 microcode is only for interlaced display mode, we haven't implemented the prograssive mode microcode, we think for prograssive mode, it is more easy to use VSYNC/HSYNC mode.
I am out of the office until 22.06.2014.
I will respond to your message when I return.
Note: This is an automated response to your message "Re:
- i.MX6 solo output BT.656 issue (MCIMX6S5EVM10AB)" sent on 06/20/2014
8:27:12 AM.
This is the only notification you will receive while this person is away.
I am out of the office until 22.06.2014.
I will respond to your message when I return.
Note: This is an automated response to your message "Re:
- i.MX6 solo output BT.656 issue (MCIMX6S5EVM10AB)" sent on 06/18/2014
4:14:15 AM.
This is the only notification you will receive while this person is away.
I am out of the office until 22.06.2014.
I will respond to your message when I return.
Note: This is an automated response to your message "Re:
- i.MX6 solo output BT.656 issue (MCIMX6S5EVM10AB)" sent on 06/16/2014
9:41:07 AM.
This is the only notification you will receive while this person is away.
I am out of the office until 22.06.2014.
I will respond to your message when I return.
Note: This is an automated response to your message "Re:
- i.MX6 solo output BT.656 issue (MCIMX6S5EVM10AB)" sent on 06/13/2014
4:59:07 AM.
This is the only notification you will receive while this person is away.
I am out of the office until 22.06.2014.
I will respond to your message when I return.
Note: This is an automated response to your message "Re:
- i.MX6 solo output BT.656 issue (MCIMX6S5EVM10AB)" sent on 06/11/2014
9:04:08 AM.
This is the only notification you will receive while this person is away.
Hello Darren,
Would you like to paste connections of CPU-->TW8836 here ? Let me check if hardware connection is correct!
Regards,
Weidong