Pedro Vergara

problem with internal oscillator

Discussion created by Pedro Vergara on Sep 13, 2006
Latest reply on Sep 17, 2006 by Pedro Vergara
Hi everybody!
 
I have a problem with the internal oscilator, I've tried to change the value of the bus frecuency using the value of the OSCTRIM register, but nothing happened. Here is some code:
 
 
 MOV   #1,CONFIG1
            MOV   #-1,OSCTRIM
            LDA   #-1
herei:   DBNZA here
 
The delay is for wait establishment of the internal oscillator.
 
am I doing something wrong?
 
do you really think that I can trust in the internal oscillator?
 
I'm using Code Warrior V 5 and a microcontroller of Q family.
 

Outcomes