This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I can't select external XTAL (ADuC7026)

Hi,
well i am using de ADuC7026 and have problems in configure the external clock. I can't debug if i put at the beginning of main():
// PLLKEY1=0xAA;
// PLLCON=0x01;
// PLLKEY2=0x55;
// dummy1=27;
// dummy2=14;
// dummy1=dummy1+dummy2;

and i need to use the external xtal because of precision. What am i doing wrong?
I can't debug and uVision gets lots of errors like JTAG, dll cancelled....
I tried to run without debugging but the ADuC doesn't work well... i have 3 leds on I/O ports and at the beggining (in main) i turn on one, but sometimes when i reset de uC the all three turn on, and sometimes not.... so it doesn't do what i want.

Can you please help me?

0