frequency question [abandoned] - Printable Version +- ds30 Loader free edition forums (https://picbootloader.com/forum) +-- Forum: Support (https://picbootloader.com/forum/forumdisplay.php?fid=3) +--- Forum: 16-bit firmwares (https://picbootloader.com/forum/forumdisplay.php?fid=6) +--- Thread: frequency question [abandoned] (/showthread.php?tid=33) |
frequency question [abandoned] - salviador - 2010-12-31 Hi, In my application I use the p33FJ256MC710 with UART1, frequency RUN application is 80MHz. This is my setting in application: Code: _FOSCSEL(FNOSC_PRIPLL & IESO_OFF) I want use bootloader with UART1 , but the problem is how setting frequency 80Mhz in the code of boot loader the frequency is max 40Mhz RE: frequency question - Mikael Gustavsson - 2010-12-31 See section 8.1 in the family data sheet. fcy = fosc / 2. Setting fcy=40 means you should have fosc = 80 RE: frequency question - salviador - 2010-12-31 (2010-12-31, 14:11:59)Mikael Gustafsson Wrote: See section 8.1 in the family data sheet. fcy = fosc / 2. Hi , I change this code in setting file: Code: .equ FCY, 40000000 and in ds30loader.s file I change this for work PLL at 40Mips: Code: ;------------------------------------------------------------------------------ But not work Happy New Years RE: frequency question - Mikael Gustavsson - 2011-01-16 Sorry, I missed your last post. Please verify the actual frequency the PIC is running at after your pll initialization. Personally I prefer do put a while loop that toggles a pin then look at it on an oscilloscope. Let me know the result. |