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.

LCD buzy bit in 8051 initialization

Status
Not open for further replies.

vedaprabhu

Junior Member level 3
Joined
Aug 2, 2006
Messages
26
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,283
Activity points
1,472
In mazidi and mazidi pg 252(2006 edition) for the case of checking the buzy bit during initialization of LCD they are sending a low to high pulse to enable pin instead of a high to low as done in previous programs.Can anybody please explain why this special syntax for checking buzy bit?or is it a printing mistake?
 

Is it really required to check the busy flag. You can init the LCD by using Delay Programe.

Mak
 

it is needed to check the busy flag, to ensure the LCD works properly
 

I couldn't understand perfectly till now by checking the busy flag, As per my view LCD is bing used to be written on that and two process are there to solve the purpose:
1) Delay Process
2) By checking busy flag.

I am using the Delay process and facing no problem. You are saying it is required to check the busy flag continuously to check wheather LCD is working properly or not, i couldn't understand this thing.

Thanks
Mak
 

Hey guys thanks for the quick responses.
There are two ways to initialize an LCD :

1)Introduce delay after every command call or data call
2) Use buzy bit flag D7 and check whether LCD is buzy or not and then ensuring it is free do any writing.

My problem refers to the use of "enable" in context of a buzy bit .Isn't enable a high to low pulse to be sent in order to latch the data at pins into LCD ?Mazidi does this the other way round, that is low to high pulse is sent in case of using buzy bit for initialization.

Hope I put my point across :|
 

when one builds a hierachie of sample designs and code

to implement conformaty to top level designs

api and cpi offer all pins up to the lowest level projects

this is common practice

although its not strictly needed

:cry:
 

I think software delay helps in saving microcontroller resources but it takes extra time.......
 

ok guys lets get it clear.I agree one can use software delay.
Set that aside for the time being.
My question was - to latch data into lcd, should one send high to low to enable pin or low to high?

PS: It is generally high to low right? In case of buzy bit why low to high?
 

Sending a low to high pulse to enable pin is the only way to read or write to the 44780 !
 

you can use delay to replace the check busy
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top