??? 06/15/06 10:09 Read: times |
#118340 - Strange behavior with P89C51RD2 |
I was using a P89C51RD , I used the PWM(4) and that code worked well. Now I use a P89C51RD2 and the system resets hitself exactly like the Watchdog was activated. My code is CMOD = 0x06 // using extrenal clock CL =0; CH =0; CCAPM4 = 0x42; PWM is activated CCAP4L = 0; CCAP4H = 0x80 ; CR = 1; // that code worked well on P89C51RD // on a P89C51RD2 as soon as the controler execute ( CR=1) the system is reseted , exactcly like the watchdog was activated. If I use the third PCA 3 instead of PCA 4 the system works. Can someone explain me what I am missing ? why the controler is reseted as soon as I do CR=1 ? |
Topic | Author | Date |
Strange behavior with P89C51RD2 | 01/01/70 00:00 | |
well it is the "Intel kluge" and a guess | 01/01/70 00:00 | |
Remote Possibility | 01/01/70 00:00 | |
short | 01/01/70 00:00 | |
Please explain | 01/01/70 00:00 | |
answers erick | 01/01/70 00:00 | |
I take the WDTE is a zero, also .. | 01/01/70 00:00 | |
Fixed !!! | 01/01/70 00:00 | |
The danger of I know | 01/01/70 00:00 | |
answers Eric![]() | 01/01/70 00:00 |