Newbie UART question. Thanks

S

sommes

Guest
I would like to connect two AVR 8535 uC with UART serial link by TxD and
RxD. I am using BASCOM-AVR.

I can use "print" command to show the desired value on terminal emulator
(default rs232 port to pc). However, I can not receive this value when I
transmit it by TxD (Port group D, pin1) and connected with a wire to other
uC RxD (Port group D, pin0). I've try to use command such as "input',
"waitkey", "inkey", "inputbin" to input, but still can't receive the value
from master uC.

I set bith crystal at 8MHz and Baud at 9600.

Could you guy please let me know What I did wrong.
 
"sommes" <ljk@jlk.com> wrote in message news:e444qo$7fj$1@emma.aioe.org...
I would like to connect two AVR 8535 uC with UART serial link by TxD and
RxD. I am using BASCOM-AVR.

I can use "print" command to show the desired value on terminal emulator
(default rs232 port to pc). However, I can not receive this value when I
transmit it by TxD (Port group D, pin1) and connected with a wire to other
uC RxD (Port group D, pin0). I've try to use command such as "input',
"waitkey", "inkey", "inputbin" to input, but still can't receive the value
from master uC.

I set bith crystal at 8MHz and Baud at 9600.

Could you guy please let me know What I did wrong.
 
sommes wrote:

I would like to connect two AVR 8535 uC with UART serial link by TxD and
RxD. I am using BASCOM-AVR.

I can use "print" command to show the desired value on terminal emulator
(default rs232 port to pc). However, I can not receive this value when I
transmit it by TxD (Port group D, pin1) and connected with a wire to other
uC RxD (Port group D, pin0). I've try to use command such as "input',
"waitkey", "inkey", "inputbin" to input, but still can't receive the value
from master uC.

I set bith crystal at 8MHz and Baud at 9600.

Could you guy please let me know What I did wrong.
Suggest you join the BASCOM listserver :
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59

these guys sill be able to assist.

Don...


--
Don McKenzie
E-Mail Contact Page: http://www.dontronics.com/e-mail.html

Micro,TTL,USB to 1.5" color LCD http://www.dontronics.com/micro-lcd.html
USB,RS232 or TTL to VGA Monitor http://www.dontronics.com/micro-vga.html
World's smallest USB 2 TTL Conv http://www.dontronics.com/micro-usb.html
 
"Don McKenzie" <look@mysig.com> wrote in message
news:4465a4d6$0$8307$afc38c87@news.optusnet.com.au...
sommes wrote:

I would like to connect two AVR 8535 uC with UART serial link by TxD and
RxD. I am using BASCOM-AVR.

I can use "print" command to show the desired value on terminal emulator
(default rs232 port to pc). However, I can not receive this value when I
transmit it by TxD (Port group D, pin1) and connected with a wire to
other
uC RxD (Port group D, pin0). I've try to use command such as "input',
"waitkey", "inkey", "inputbin" to input, but still can't receive the
value
from master uC.

I set bith crystal at 8MHz and Baud at 9600.

Could you guy please let me know What I did wrong.

Suggest you join the BASCOM listserver :
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59

these guys sill be able to assist.

Don...


--
Don McKenzie
E-Mail Contact Page: http://www.dontronics.com/e-mail.html

Micro,TTL,USB to 1.5" color LCD http://www.dontronics.com/micro-lcd.html
USB,RS232 or TTL to VGA Monitor http://www.dontronics.com/micro-vga.html
World's smallest USB 2 TTL Conv http://www.dontronics.com/micro-usb.html
 

Welcome to EDABoard.com

Sponsor

Back
Top