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.

UART communication program request between 89c5 and PC

Status
Not open for further replies.

prasanth2

Newbie level 1
Joined
Dec 7, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
coimbatore
Activity points
1,290
microcontroller coding

Hi
I am new to microcontroller, can anyone give me transmit & receive program to upload & download data between PC & 89c51 microcontroller.
Thanks
 

Re: microcontroller coding

Find requested program attached here...

Micro to PC is tested, but PC to Micro is not tested....
 

Re: microcontroller coding

Use following format

LOOP: JNB RI,$ ;waiting data from pc
CLR RI
MOV A,SBUF
CJNE A,#5,LOP ;check data is 5
CLR TI
MOV SBUF,#10 ;if data is 5,send dta 10
JNB TI,$
SJMP LOOP
 
microcontroller coding

as Hameeds said "search for mazidis book"

"8051 microcontrollers and embeded systems with assembly and C" by M.Ali.Mazidi
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top