Begin with the part number and the actual board. The tool can prepare clock and startup code, but the selected PIC, clock source and wiring must match the hardware.
For the usual setup, set the external crystal and MCU speed. If your selected PIC offers it, you can instead use Clock Recovery.
In Hardware, choose the complete part number under PIC target preset. Check F or LF and the letters and numbers at the end. Similar-looking PIC names can need different clock, fuse, memory and interrupt settings.
Open Registers and press Datasheet to open the document associated with that target. Use its pin diagram for your package and its oscillator, USB, power-supply and electrical sections when checking your board. The settings for one PIC are not a substitute for those of another.
Choose a device that is listed by name. A part needs more than a valid clock to work with the library: its USB hardware, memory layout and interrupt handling must also be supported.
Start with a named PIC. The Custom classic PIC18 entry does not provide a checked startup for an exact device. Changing its memory fields does not add support for a new PIC.
Check the actual board as well as the code. Confirm D+ and D−, power and ground, the clock circuit, and any required USB-regulator or core-regulator connections and capacitors. Use the pin diagram for the exact package and follow its voltage requirements.
The tool provides a basic analog/digital setup where applicable. Adapt it for the analog inputs your application actually uses, and configure application pin directions. If you select a VBUS-sense input, provide its board circuit and configure its input direction and digital mode before USB starts. Choosing a pin in software does not provide voltage conversion or wiring.
Before investigating descriptors or application data, check:
The Datasheet button is the quickest route to your target's hardware requirements. The two worked examples use Microchip's PIC18F46J50 family datasheet and PIC24FJ64GB004 family datasheet. The PIC16 clock options are described in the PIC16(L)F1454/5/9 datasheet.
Created with the Personal Edition of HelpNDoc: Transform Your CHM Help File Creation Process with HelpNDoc