// PLL CLKSEL = 0; // disable PLL to configure // xtal 16MHz, bus 24MHz SYNR = 3 - 1; REFDV = 2 - 1; while (!(CRGFLG & 0x08)) // wait for PLL LOCK cop_optional_reset(); CLKSEL |= 0x80; // use PLL
Can you use Processor Expert and just create a test program and plug in the values you are using and/or needing and see what works and what does not work?
I just did a quick PE test using your device. With a 6mhz crystal you can use the PLL to get your required baud rate with 18mhz bus speed.
You can also use the Low and High speed features of Processor Expert and only increase the bus speed to 16mhz when you are going to use the SCI at 115200. When you are done with the transmission set it back to low speed to save on power.
Message Edited by Technoman64 on 05-18-200603:08 PM