Created Tue, 25 Jun 2013 14:05:08 +0000 by thepascalix
Tue, 25 Jun 2013 14:05:08 +0000
Hi at all, i have a question about a clock in chipkit max32 board. I has read the pic32's datasheet and i want to know if is possible to use the internal microcontroller's intrnal clock instead of the oscillator. How change i have to done?
thanks a lot for your patiente
Tue, 25 Jun 2013 14:10:57 +0000
Yes, it is possible. You will need to change the config bits in the bootloader and re-program the bootloader if you want to ONLY use the internal oscillator.
If you want to still boot off the crystal, then switch over to the internal after your sketch starts running, I think there's a way (by changing some bits in the oscillator registers) to do this at run time, but I've never done it before so I don't know off the top of my head.
*Brian
Tue, 25 Jun 2013 15:34:51 +0000
hi, thanks for your response. There is any guide for make it (for modify the boot loader and recompile on chipkit)? I've bought the chipkit programmer/debugger. I can use it on my max32 or i have to buy the pickit3 from microchip?
Tue, 25 Jun 2013 16:45:59 +0000
So far there isn't a guide per-se. Just the bootloader Github [url]https://github.com/chipKIT32/PIC32-avrdude-bootloader[/url]
You can absolutely use your chipKIT programmer to re-flash the bootloader on the Max32.
Note that as soon as you use the internal oscillator, you won't be able to use the built-in USB on the PIC32 (the FTDI UART-USB port will still work just fine though).
*Brian