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.

serial communication using max232 in 8051

Status
Not open for further replies.

anasfuad33eng

Member level 1
Joined
Mar 21, 2013
Messages
32
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,498
hi, all when i send 11001100 from matlab to my 8051 kit using usb to rs232 i receive 11100000 my is the error in my code or in max232 connections my code for recieving below:

org 2000h
mov tmod,#20h
mov th1,#0fah
mov scon,#50h
setb tr1
here:jnb ri,here
mov a,sbuf
mov p1,a
clr ri
sjmp here
end
max232 connection in the following picture
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top