increased oscillator clock speed to 8MHz to speed up the bootloader, changed usb descriptor in application firmware to use the PID assigned by Microchip & removed flag making the device report that it is self powered to the host

This commit is contained in:
2019-08-23 18:17:46 -04:00
parent e55bbc58f3
commit d548fb9579
2 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@
// CONFIG1L
#pragma config PLLDIV = 3 // PLL Prescaler Selection bits (Divide by 3 (12 MHz oscillator input))
#pragma config CPUDIV = OSC4_PLL6// System Clock Postscaler Selection bits ([Primary Oscillator Src: /4][96 MHz PLL Src: /6])
#pragma config CPUDIV = OSC2_PLL3// System Clock Postscaler Selection bits ([Primary Oscillator Src: /4][96 MHz PLL Src: /6])
#pragma config USBDIV = 2 // USB Clock Selection bit (used in Full-Speed USB mode only; UCFG:FSEN = 1) (USB clock source comes from the 96 MHz PLL divided by 2)
// CONFIG1H