Briez
Member level 5
- Joined
- Nov 30, 2012
- Messages
- 83
- Helped
- 4
- Reputation
- 8
- Reaction score
- 4
- Trophy points
- 1,288
- Activity points
- 1,835
I am programing UART in pic18f2550, and it works well in proteus.
But i can't get required output on my hyperterminal.
I have made my circuit like,
and max232 connection is shown in figure,
But i can't get required output on my hyperterminal.
I have made my circuit like,
Code:
MCLR= +5V
VSS= 0V
VDD= +5V
Crystal(16.590Mhz)= Pin 8-9 (uC)
RC7(RX) = PIN-12 of max232
RC6(TX) = PIN-11 of max232
RC7 made input pin by TRISC
RC6 made output pin by TRISC.
Config bits are,
PLLDIV= 00
FOSC= 0C
PWRT= 1F
WDT= 1E
MCLRE= Enabled, RE input Disabled.