??? 11/16/06 09:13 Read: times |
#128067 - That's better Responding to: ???'s previous message |
Although the layout could be clearer:
void main( void ) { PORTECFG = 0x08; //Turn on uart pin rxd0out. SCON0 = 0x13; //Mode 0, baud 24/12, enable receive, TI=1, RI=1. while(1) { TI = FALSE; SBUF0 = 'B'; //spi_Data; while( !TI ); } } In that first line you say, "Turn on uart pin rxd0out" You don't mention turning-on the TxD pin - does this chip require you to turn on (or otherwise configure) the TxD pin? |