PC’s command:		Meaning:		MCU’s reply

S1 			Status			0 or 1 or 2 with “cr”

Vn			Voltage			0-65565 (2 bytes of 16 bit ADC result) with n = channel 1 to 10
						“cr” must be sent as well. The PC’s program will ask all test result of channel 1 to 10
;-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I have been able to set up the communication in between the ADuC848 and PC’s terminal as:

void serial_init(void)
{									//Configure UART
  T3CON = 0x83;         			//configure timer 3...
  T3FD  = 0x12;          			//...for 9600 baud
  SCON  = 0x52;
}

I use this to send ADC result to the terminal:

ADCread(); //read results from channel 1 to 10
printf("Head #1: %un",Channel1_ADC);   //display channel 1 reading on windows' terminal
printf("Head #2: %un", Channel 2_ADC); //display channel 2 reading on windows' terminal 