bettyxyz1028
Newbie level 6
There is a table about commonly used baud rate on user guide.
However the frequency i use is 2.097152Mhz = 1.048576Mhz * 2 which is not in the table...
I want the baud rate to be 9600. So i set:
UBR00 = 218; // 109 *2
UBR01=0;
But i dunt knwo how to set the modulation
UMCTL0=??
Any one can help??? Plus the value of UCBR0 correct? I juz 2 times the UCBR0 of 1.048576Mhz. Tks very much
However the frequency i use is 2.097152Mhz = 1.048576Mhz * 2 which is not in the table...
I want the baud rate to be 9600. So i set:
UBR00 = 218; // 109 *2
UBR01=0;
But i dunt knwo how to set the modulation
UMCTL0=??
Any one can help??? Plus the value of UCBR0 correct? I juz 2 times the UCBR0 of 1.048576Mhz. Tks very much