This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Serial Window #2

hello,
I'm using the C167 with Keil and I'm printing out some text in the serial window #1 (COM1)
for this I initialize the serial interface */
P3 |= 0x0400;
DP3 |= 0x0400; /* SET PORT 3.10
DP3 &= 0xF7FF;
S0TIC = 0x80;
S0RIC = 0x00;
S0BG = 0x40;
S0CON = 0x8011;

IT WORKS !!!!!!!

my problem: In the next step I wanted to use the COM2 - serial Window #2
Now I have to initialize the port 3.9 and 3.8
but after starting the programm nothing happnes in Serial window #2 and I don't understang why because it works in Window #1
pleas help me --------thx-----------

0