Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers > 8051/8951


8051/8951 A specify forum for the Intel 8051/8951 single chip microcontroller.

Reply
 
Tools
Old 15th December 2007, 04:38 AM   #1
Default 8051 Serial UART Problem

Hi im using 89S52 UART With max232 , the transmitter to pc works fine to hyber terminal but the reciever doesnt work , and the code works fine on the keil UART simulator ! i dont know why the reciever doesnt work , is there a setup for hyber terminal to let the reciever work ?

thanks
ahmedragia21 is offline  
Old 15th December 2007, 06:14 AM   #2
Default

Try setting handshaking to NONE in "hyber terminal" if you haven't already.
__________________
Inside every little problem, is a big problem trying to get out.
kchriste is online now  
Old 15th December 2007, 06:17 AM   #3
Default

thanks for the reply
what's handshaking i didnt put it to NONE in hyperterminal ..
how to do it
so do u think the problem isnt in the hardware ?
ahmedragia21 is offline  
Old 15th December 2007, 06:39 AM   #4
Default

It is one thing of many that could be wrong but the easiest to fix.
Look here:
Attached Thumbnails
8051 Serial UART Problem-ht.png  
__________________
Inside every little problem, is a big problem trying to get out.
kchriste is online now  
Old 15th December 2007, 06:40 AM   #5
Default

the Tx to pc is working but from pc to the micro it doesnt
is this is problem ?

thanks again
ahmedragia21 is offline  
Old 15th December 2007, 09:04 PM   #6
Default

i set the handshaking to none and still the hyber doesnt send charachters :S and the micro doesnt recieve...
is there a test to make sure the circuits are working ?
ahmedragia21 is offline  
Old 16th December 2007, 12:27 AM   #7
Default

You can check that the pins on the MAX232 have the following voltages:
Pin 16 = +5V
Pin 2 = +9V
Pin 6 = -9V
Pin 15 = 0V (ground reference for above measurements)

Without a diagram it is hard to tell which input on the MAX232 your are using, but when the PC sends data to the PIC you should get activity on either pins 8&9 or pins 12&13 of the MAX232.
__________________
Inside every little problem, is a big problem trying to get out.
kchriste is online now  
Reply

Tags
8051, problem, serial, uart

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
hyperterminal communication w/ 8051 spyghost 8051/8951 8 22nd May 2008 11:54 AM
Big thermocouple ADC problem Oznog General Electronics Chat 9 4th May 2004 09:42 PM
pic16f877 serial recieve acting screwy masconejos Micro Controllers 6 9th April 2004 11:09 AM
8051 microcontroller reading data from serial port godatguitar 8051/8951 11 17th February 2004 09:04 PM
I NEED CODE FOR 8051 SERIAl comm..PLSSS HELP kumar_3k 8051/8951 2 3rd January 2004 03:30 AM



All times are GMT. The time now is 12:39 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker