Does anyone know how to get the CH552 serial port 1 configured and working? I can get serial port 0 working but can't get serial port1 working for the life of me. I configure the serial port1 this way but get no output:
SCON1=0x70 // 8 bit FAST mode SBAUD1= 100 // 4800 BAUD with internal 24Mhz clock running
The in the main program I have the following code:
while(1) { SBUF1='A'; DlyMs(100); }
TxD1 is on P1.7 (CH552T pin#5)
Regards,
Bert van den Berg New Zealand