Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

a small doubt on Vertical synchronization in a PAL TV

Status
Not open for further replies.

vinodstanur

Advanced Member level 3
Joined
Oct 31, 2009
Messages
751
Helped
114
Reputation
234
Reaction score
114
Trophy points
1,333
Location
Kerala (INDIA)
Activity points
7,054
Hi,
I am tryign to dispay characters (black & white) on my PAL TV using an atmega32. I successfully did it. But now I have a doubt in the vertical synchronization sequency.. I am usign fake interlacing ...
According to some books and weblinks, I had written my fake interlacing vertical synchronization code as below..
Code:
		ZERO;_delay_us(2);BLACK;_delay_us(30);ZERO;_delay_us(2);BLACK;_delay_us(30);
		ZERO;_delay_us(2);BLACK;_delay_us(30);ZERO;_delay_us(2);BLACK;_delay_us(30);
		ZERO;_delay_us(2);BLACK;_delay_us(30);ZERO;_delay_us(2);BLACK;_delay_us(30);
		ZERO;_delay_us(28);BLACK;_delay_us(4);ZERO;_delay_us(28);BLACK;_delay_us(4);
		ZERO;_delay_us(28);BLACK;_delay_us(4);ZERO;_delay_us(28);BLACK;_delay_us(4);
		ZERO;_delay_us(28);BLACK;_delay_us(4);ZERO;_delay_us(2);BLACK;_delay_us(30);
		ZERO;_delay_us(2);BLACK;_delay_us(30);ZERO;_delay_us(2);BLACK;_delay_us(30);
		ZERO;_delay_us(2);BLACK;_delay_us(30);ZERO;_delay_us(2);BLACK;_delay_us(30);


But now I tried with a single line ie
Code:
		ZERO;_delay_us(28);BLACK;_delay_us(4);ZERO;_delay_us(28);BLACK;_delay_us(4);
and it is also working fine without any problem! So what is the need of 8 lines ? Also if I can use a single line, I can save more CPU time also..
 

It is a long time since I have worked on analogue video but I think that it depends on what you are using to look at the signal. So, you may get away with what you suggest on one monitor but not on another. The strange sequence of the vertical sync is historic and based on analogue methods of controlling a TV so a lot if it is probably ignored by modern chips/decoding methods.

https://www.danalee.ca/ttt/analog_video.htm

This part was quite interesting
Vmoves_big.jpg


Keith.
 
In years gone (pre-1965?) the line time base was hard driven, so it needed line sync pulses through out the frame blanking period. Later on "flywheel sync" came along which was a local oscillator which was kept phase locked by the line syncs, so as in your case the line oscillator is still running correctly through out the frame blanking period. if you raise the brilliance of your screen you may see at the top of the screen a little sideways shift of the picture.
Frank
 
Thanks for your reply, and now I am using the single 64 us time for V SYNC and it saves my CPU time...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top