Re: problems changing clock multiplier to 4X on the DS80C400
"Bernard" <[email protected]> Mon, 24 May 2004 16:57:53 +0200
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Hallo Koen, I use identical cristal frequency and program code, with one exception: I added 1 program line (mov pmr, #10000000b) before your program, it means before: ";Multiply crystal frequency by 4 mov pmr, #10001000b ; Set for crystal * 4 ..." and it works very well Ben ----- Original Message ----- From: "Koen Swinters" <[email protected]> To: <tini-6tN4nzCoH/[email protected]> Sent: Sunday, May 23, 2004 9:48 AM Subject: [TINI]problems changing clock multiplier to 4X on the DS80C400 > Hello, > > I'm trying to set the clock multiplier on 4x . For this I use the following > code: > ; > ; Multiply crystal frequency by 4 > ; > mov pmr, #10001000b ; Set for crystal * 4 > mov pmr, #10011000b ; Enable multiplier > WaitCrystal: > mov a, exif ; Wait for multiplier to be ready > jnb acc.3, WaitCrystal ; Jump if CKRY is low > mov pmr, #00011000b ; Go to crystal * 4 > > I've also written a small test program to test the speed of the > DS80C400.this program just toggles a pin at full speed for a few msec with > disabled interrupts. > The axternal cristal frequency is 14.7456MHz. > Can someone tell my what is going wrong with changing the clock multiplier > to 4X and how i can solve this. > > regards > > > > > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list archives: > http://lists.dalsemi.com/mailman/listinfo/tini _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini