michel qunica

908JL16 RC clock option configuration problem

Discussion created by michel qunica on May 10, 2007
Latest reply on May 21, 2007 by michel qunica
908JL16 has a alternative OSC input of RC circuit. In datasheet, clearing the OSCSEL in MOR will force the RC oscillator to be the osc signal.
I write "MOR_OSCSEL=0;" in the beginning of main.c with CW5.1HC08 and the compiler error indicates the OSCSEL is a const var and will not be modifiable.
I just need to use the RC osc instead of a XTAL in cost-sensitive project. And I believe that JL16 has this feather, but I don't know how to initialize it.
How can I do that?
popup :smileytongue: