I know posting code is a no-no, but... My boss was having trouble using the USART on the 16C74. I spent 15 minutes or so changing the order in which the registers were configured until it worked. i'm not saying this is the only way (or the right way) to do it, but it works. Note that the comments are not mine and are quite ugly. Regards, Vincent Deno ;------------------------------------------------------------------------------- ----------------- Setup_UARTS setb RP0 ; setb INTCON.6 ; interrupt control clrb TXSTA.2 ; set BRGH mov SPBRG,#129 ; set baud to 2400 clrb TXSTA.4 ; clear sync clrb RP0 ; setb RCSTA.7 ; set spen setb RP0 ; setb PIE1.5 ; set rcie clrb RP0 ; clrb RCSTA.6 ; clear rx9 setb RP0 ; clrb TXSTA.6 ; clear tx9 setb TXEN ; enable transmission clrb RP0 ; setb RCSTA.4 ; enable reception cren setb INTCON.7 ; set gie ret ; return in bank 0 ;------------------------------------------------------------------------------- ------------------- > Hi all.. > > I'am programming MIcrochip PIC16C73 and have problems with data transmission > using USART registers?. > First, I enable Tx,Rx pines with SPEN at RCSTA, > then set TXSTA for async mode > finally BRG register. When I send a character it looks like there is no transm ission. > > Some suggestions please? > > Thanks!! > -------------- Vincent Deno Design Engineer Theta Digital Corp. www.thetadigital.com denovj@email.uc.edu _____________ | ____ ____ | |/| | | | | |\| | | |/| |\| | | | | | | | | | | | |_/ | | \_| | | | | | | | |_/ /___\ \_|