Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/11/02 15:04
Read: times


 
#21670 - RE: program RS 232 with 8052
Hi Walter,

First of all you need to know the 8052--read the data sheets on your particular variant. Erik Malund also gives frequent references here to a number of very good documents from Philips on the chip and its instruction set.

Then you can check out the tutorials here; pay special attention to the section on the 8052 UART, timers and interrupt system.

Then, assuming you know how the PC wants to communicate over the serial interface, you have to match it--baud rate, number of data bits, and such. You also have to decide if you want to implement polled or interrupt driven serial interface (interrupt driven allows you time to do other things, like collect the data you want to send to the PC).

And of course if you do a little searching you'll probably find some source code that will do it all for you.

Good luck!

Dennis

List of 8 messages in thread
TopicAuthorDate
program RS 232 with 8052            01/01/70 00:00      
RE: program RS 232 with 8052            01/01/70 00:00      
RE: program RS 232 with 8052            01/01/70 00:00      
RE: program RS 232 with 8052            01/01/70 00:00      
RE: program RS 232 with 8052            01/01/70 00:00      
RE: program RS 232 with 8052            01/01/70 00:00      
RE: program RS 232 with 8052            01/01/70 00:00      
RE: program RS 232 with 8052            01/01/70 00:00      

Back to Subject List