PIC16F/PIC18F PIC Components

These Components enable users to easily configure and generate drivers for the different peripherals of PIC16F and PIC18F microcontrollers.

1 Operating Environment

  • MCC Plugin v5.5.1 or later
  • MCC Core v5.7.1 or later
  • Melody Core v2.8.0 or later
  • MPLAB® XC8 Compilers v3.00 or later
  • PIC12-16F1xxx_DFP.1.7.242
  • PIC16F1xxxx_DFP.1.26.410
  • PIC18F-Q_DFP.1.26.442
  • PIC18F-K_DFP.1.14.301

3 Repairs and Enhancements

#IDDescriptionDevice(s)
1M8PD-11429Fixed issues with the ADC_ComputationModeSet and ADC_ThresholdModeSet APIsPIC18F Q Series Device Families
2M8PD-11612Generate TMR1_OverflowStatusGet() and TMR1_OverflowStatusClear() APIs when TMRI bit is disabled and TMRGI is enabledPIC18F Q Series and PIC18F K Series Device Families

4 Known Issues

#IDDescriptionDevice(s)
1M8PD-322I2C: Running the interrupt driven host on lower system clock (<= 1MHz) stalls the codePIC18FxxQ40/Q41/Q43
2CC8SCRIP-10276TMR1/3/5: TMRxGATE(1,3,5) register mask value is wrong (Unable to select CCP5, PWM6/7, CMP1/2/3, ZCD as Timer Gate Source Selections) PIC18F6xK40
3CC8SCRIP-14861ADC: Missing ADACT pin for PIC16LF15313PIC16LF15313
4CC8SCRIP-14939Drop down is not appearing for an option for "MCLR Pin Function Select" bit in CONFIG1 register.PIC12/16(L)F157x
5CC8SCRIP-16679VREF+ pin name is not matching with datasheetPIC12/16(L)F157x
6M8PD-5212Pin Manager: Missing Slew Rate SettingsPIC18FxxK20, PIC18(L)FxxK22, PIC18(L)FxxK50
7CC8SCRIP-16112Configuration Bits: CONFIG1L register does not exist for devices but still present in Easy View.PIC18FxxK20, PIC18(L)FxxK22
8M8PD-5208Pins: Weak Pull option mismatchesPIC18(L)FxxK50
9CC8SCRIP-16831ADC: VREF+ pin selection is not available in Pin Grid ViewPIC12/16LF155x
10M8PD-4277Compilation error with EUSART module if interrupt is enabled. PIC16F18024
11M8PD-11763Restore context of TBLPTR in FLASH_RowWrite APIPIC18FxxK20, PIC18FxxK40
12M8PD-11854Conflict in the default input and output pins used for DAC module instances in the MCC’s pin grid viewPIC16F171xx, PIC16F175xx, PIC18FxxQ71
13M8PD-13081Rising and falling edge interrupt selection options do not appear in the comparator module MCC UI viewPIC16F171xx, PIC16F180xx, PIC16F175xx

5 Supported MCU Families

  • PIC16F131xx
  • PIC16F152xx
  • PIC16(L)F153xx**
  • PIC16F171xx
  • PIC16F175xx
  • PIC16F180xx
  • PIC16F181xx
  • PIC16(L)F183xx**
  • PIC16(L)F184xx**
  • PIC16(L)F188xx**
  • PIC16(L)F191xx**
  • PIC16(L)F151x**
  • PIC16(L)F152x**
  • PIC16LF156x**
  • PIC12/16(L)F157x**
  • PIC12/16(L)F161x**
  • PIC16(L)F170x**
  • PIC16(L)F171x**
  • PIC16(L)F176x**
  • PIC16(L)F177x**
  • PIC16(L)F178x**
  • PIC16(L)F182x**
  • PIC16(L)F184x**
  • PIC16LF190x**
  • PIC16(L)F193x**
  • PIC16(L)F194x**
  • PIC12/16LF155x**
  • PIC12/16(L)F150x**
  • PIC16(L)F145x**
  • PIC18FxxQ10
  • PIC18FxxQ40
  • PIC18FxxQ41
  • PIC18FxxQ43
  • PIC18FxxQ83
  • PIC18FxxQ84
  • PIC18FxxQ71
  • PIC18FxxK20**
  • PIC18(L)FxxK22**
  • PIC18(L)FxxK40**
  • PIC18(L)FxxK42**
  • PIC18(L)FxxK50**
  • PIC18(L)FxxK80**
  • PIC18(L)FxxK83**
  • PIC18FxxK90**
  • PIC18FxxQ20
  • PIC18FxxQ24

All families listed support Config Field Datasheet Lookup, except those marked with an asterisk**.

6 Table: Peripheral Support by MCU Device

The MCC 8-bit PIC modules support the following devices and peripherals:

Table 6-1. Legend
SymbolNote
Peripheral supported
Peripheral presently not supported
Peripheral does not exist in the device
Table 6-2. PIC16 Device Peripheral Drivers List
DeviceIntelligent AnalogWaveform ControlTiming and MeasurementsLogic and MathSafety and MonitoringCommunicationsUser InterfaceLow Power and System FlexibilityMemory
ADCADCCCMPDACFVROPAZCDCCPECCPSR LATCHCWGDSMNCOPWMSMTTMR0TMR1/3/5TMR2/4/6RTCCCLCCLBCRCHLVDInterruptWDTWWDTEUSARTI2CMSSPSPIUARTPinsLCDSRPORTAPMCLKREFCMPLPCPUDMAOscillatorCHPMPPMDVREFLPMemory
PIC16F175xx Family
PIC16F17524.............................................
PIC16F17525.............................................
PIC16F17526.............................................
PIC16F17544.............................................
PIC16F17545.............................................
PIC16F17546.............................................
PIC16F17554.............................................
PIC16F17555.............................................
PIC16F17556.............................................
PIC16F17574.............................................
PIC16F17575.............................................
PIC16F17576.............................................
PIC16F131xx Family
PIC16F13113.....................................................................
PIC16F13114.....................................................................
PIC16F13115.....................................................................
PIC16F13123.....................................................................
PIC16F13124.....................................................................
PIC16F13125.....................................................................
PIC16F13143.....................................................................
PIC16F13144.....................................................................
PIC16F13145.....................................................................
PIC16F152xx Family
PIC16F15213.......................................................................................
PIC16F15214.......................................................................................
PIC16F15223.......................................................................................
PIC16F15224.......................................................................................
PIC16F15225.......................................................................................
PIC16F15243....................................................................................
PIC16F15244.......................................................................................
PIC16F15245.......................................................................................
PIC16F15254..........................................................................................
PIC16F15255.......................................................................................
PIC16F15256.......................................................................................
PIC16F15274.......................................................................................
PIC16F15275.......................................................................................
PIC16F15276.......................................................................................
PIC16(L)F153xx Family
PIC16(L)F15313..................................................................
PIC16(L)F15323..................................................................
PIC16(L)F15324..................................................................
PIC16(L)F15325..................................................................
PIC16(L)F15344..................................................................
PIC16(L)F15345..................................................................
PIC16(L)F15354..................................................................
PIC16(L)F15355..................................................................
PIC16(L)F15356..................................................................
PIC16(L)F15375..................................................................
PIC16(L)F15376..................................................................
PIC16(L)F15385..................................................................
PIC16(L)F15386..................................................................
PIC16(L)F188xx Family
PIC16F18854.........................................................
PIC16F18855.........................................................
PIC16F18856.........................................................
PIC16F18857.........................................................
PIC16F18875.........................................................
PIC16F18876.........................................................
PIC16F18877.........................................................
PIC16LF18854.........................................................
PIC16LF18855.........................................................
PIC16LF18856.........................................................
PIC16LF18857.........................................................
PIC16LF18875.........................................................
PIC16LF18876.........................................................
PIC16LF18877.........................................................
PIC16F171/181xx Family
PIC16F17126.........................................................
PIC16F17146.........................................................
PIC16F17114.........................................................
PIC16F17115.........................................................
PIC16F17124.........................................................
PIC16F17125.........................................................
PIC16F17144.........................................................
PIC16F17145.........................................................
PIC16F17154.........................................................
PIC16F17155.........................................................
PIC16F17156.........................................................
PIC16F17174.........................................................
PIC16F17175.........................................................
PIC16F17176.........................................................
PIC16F18126............................................................
PIC16F18146............................................................
PIC16F18114............................................................
PIC16F18115............................................................
PIC16F18124............................................................
PIC16F18125............................................................
PIC16F18144............................................................
PIC16F18145............................................................
PIC16F18154............................................................
PIC16F18155............................................................
PIC16F18156............................................................
PIC16F18174............................................................
PIC16F18175............................................................
PIC16F18176............................................................
PIC16F180xx Family
PIC16F18013........................................................................
PIC16F18014........................................................................
PIC16F18015.....................................................................
PIC16F18023........................................................................
PIC16F18024........................................................................
PIC16F18025.....................................................................
PIC16F18026.....................................................................
PIC16F18044.....................................................................
PIC16F18045.....................................................................
PIC16F18046.....................................................................
PIC16F18054.....................................................................
PIC16F18055.....................................................................
PIC16F18056.....................................................................
PIC16F18074.....................................................................
PIC16F18075.....................................................................
PIC16F18076.....................................................................
PIC16(L)F184xx Family
PIC16(L)F18424............................................................
PIC16(L)F18425............................................................
PIC16(L)F18426............................................................
PIC16(L)F18444............................................................
PIC16(L)F18445............................................................
PIC16(L)F18446............................................................
PIC16(L)F18455............................................................
PIC16(L)F18456............................................................
PIC16(L)F191xx Family
PIC16(L)F19155...............................................................
PIC16(L)F19156...............................................................
PIC16(L)F19175...............................................................
PIC16(L)F19176...............................................................
PIC16(L)F19185...............................................................
PIC16(L)F19186...............................................................
PIC16(L)F19195...............................................................
PIC16(L)F19196...............................................................
PIC16(L)F19197...............................................................
PIC16(L)F183xx Family
PIC16(L)F18313..................................................................
PIC16(L)F18323..................................................................
PIC16(L)F18324..................................................................
PIC16(L)F18325..................................................................
PIC16(L)F18326..................................................................
PIC16(L)F18344..................................................................
PIC16(L)F18345..................................................................
PIC16(L)F18346..................................................................
PIC16(L)F194x/3x Family
PIC16(L)F1947..............................................................................
PIC16(L)F1946..............................................................................
PIC16(L)F1939..............................................................................
PIC16(L)F1938..............................................................................
PIC16(L)F1937..............................................................................
PIC16(L)F1936..............................................................................
PIC16(L)F1934..............................................................................
PIC16(L)F1933..............................................................................
PIC16(L)F184x/2x Family
PIC16(L)F1847...........................................................................
PIC16(L)F 1829...........................................................................
PIC16(L)F1828...........................................................................
PIC16(L)F1827...........................................................................
PIC16(L)F1826...........................................................................
PIC16(L)F1825...........................................................................
PIC16(L)F1824...........................................................................
PIC16(L)F1823...........................................................................
PIC16LF190x Family
PIC16LF1907...................................................................................................
PIC16LF1906...................................................................................................
PIC16LF1904...................................................................................................
PIC16LF1903...................................................................................................
PIC16LF1902...................................................................................................
PIC16(L)F178x Family
PIC16(L)F1789.................................................................................
PIC16(L)F1788.................................................................................
PIC16(L)F1787.................................................................................
PIC16(L)F1786.................................................................................
PIC16(L)F1784.................................................................................
PIC16(L)F1783.................................................................................
PIC16(L)F1782.................................................................................
PIC12/16(L)F161x Family
PIC16(L)F1619.....................................................................
PIC16(L)F1618.....................................................................
PIC16(L)F1615.....................................................................
PIC16(L)F1614.....................................................................
PIC16(L)F1613.....................................................................
PIC12(L)F1612.....................................................................
PIC16(L)F177x Family
PIC16(L)F1779........................................................................
PIC16(L)F1778........................................................................
PIC16(L)F1777........................................................................
PIC16(L)F1776........................................................................
PIC16(L)F1773........................................................................
PIC16(L)F176x Family
PIC16(L)F1769........................................................................
PIC16(L)F1768........................................................................
PIC16(L)F1765........................................................................
PIC16(L)F1764........................................................................
PIC16(L)F171x Family
PIC16(L)F1719........................................................................
PIC16(L)F1718........................................................................
PIC16(L)F1717........................................................................
PIC16(L)F1716........................................................................
PIC16(L)F1713........................................................................
PIC16(L)F170x Family
PIC16(L)F1709...........................................................................
PIC16(L)F1708...........................................................................
PIC16(L)F1707...........................................................................
PIC16(L)F1705...........................................................................
PIC16(L)F1704...........................................................................
PIC16(L)F1703...........................................................................
PIC12/16(L)F157x Family
PIC16(L)F1579.......................................................................................
PIC16(L)F1578.......................................................................................
PIC16(L)F1575.......................................................................................
PIC16(L)F1574....................................................................................
PIC12(L)F1572.......................................................................................
PIC12(L)F1571.......................................................................................
PIC16LF156x Family
PIC16LF1567.............................................................................................
PIC16LF1566.............................................................................................
PIC12/16LF155x Family
PIC16LF1559.............................................................................................
PIC16LF1554.............................................................................................
PIC12LF1552.............................................................................................
PIC16(L)F152x Family
PIC16(L)F1527.............................................................................................
PIC16(L)F1526.............................................................................................
PIC16(L)F151x Family
PIC16(L)F1519.............................................................................................
PIC16(L)F1518.............................................................................................
PIC16(L)F1517.............................................................................................
PIC16(L)F1516.............................................................................................
PIC16(L)F1513.............................................................................................
PIC16(L)F1512.............................................................................................
PIC12/16(L)F150x Family
PIC16(L)F1509..............................................................................
PIC16(L)F1508..............................................................................
PIC16(L)F1507..............................................................................
PIC16(L)F1503..............................................................................
PIC12(L)F1501..............................................................................
PIC16(L)F145x Family
PIC16(L)F1459.................................................................................
PIC16(L)F1455.................................................................................
PIC16(L)F1454.................................................................................
Table 6-3. PIC18 Device Peripheral Drivers List
DeviceIntelligent AnalogWaveform ControlTiming and MeasurementsLogic and MathSafety and MonitoringCommunicationsUser InterfaceLow Power and System FlexibilityMemory
ADCADCCADC3CMPCVREFDACFVROPAZCDCCPECCPSRLATCHCWGDSMNCOPWMSMTUTMRRTCCTMR0TMR1/3/5TMR2/4/6CLCCRCHLVDInterruptWDTWWDTEUSARTI2CMSSPSPICANCAN FDUARTUSBI3CPinsSRPORTCLKREFCPUDMAOscillatorPMDAPMMVIOMemory
PIC18FxxQ10 Family
PIC18F24Q10........................................................................
PIC18F25Q10........................................................................
PIC18F26Q10.....................................................................
PIC18F27Q10.....................................................................
PIC18F45Q10.....................................................................
PIC18F46Q10.....................................................................
PIC18F47Q10.....................................................................
PIC18FxxQ40 Family
PIC18F04Q40......................................................
PIC18F05Q40......................................................
PIC18F06Q40......................................................
PIC18F14Q40......................................................
PIC18F15Q40......................................................
PIC18F16Q40......................................................
PIC18FxxQ41 Family
PIC18F04Q41...................................................
PIC18F05Q41...................................................
PIC18F06Q41...................................................
PIC18F14Q41...................................................
PIC18F15Q41...................................................
PIC18F16Q41...................................................
PIC18FxxQ43 Family
PIC18F25Q43......................................................
PIC18F26Q43......................................................
PIC18F27Q43......................................................
PIC18F45Q43......................................................
PIC18F46Q43......................................................
PIC18F47Q43......................................................
PIC18F55Q43......................................................
PIC18F56Q43......................................................
PIC18F57Q43......................................................
PIC18FxxQ83 Family
PIC18F26Q83................................................
PIC18F27Q83................................................
PIC18F46Q83................................................
PIC18F47Q83................................................
PIC18F56Q83................................................
PIC18F57Q83................................................
PIC18FxxQ84 Family
PIC18F26Q84................................................
PIC18F27Q84................................................
PIC18F46Q84................................................
PIC18F47Q84................................................
PIC18F56Q84................................................
PIC18F57Q84................................................
PIC18FxxQ71 Family
PIC18F26Q71................................................
PIC18F46Q71................................................
PIC18F56Q71................................................
PIC18F24Q71................................................
PIC18F25Q71................................................
PIC18F44Q71................................................
PIC18F45Q71................................................
PIC18F54Q71................................................
PIC18F55Q71................................................
PIC18FxxK20 Family
PIC18F23K20.......................................................................................
PIC18F24K20.......................................................................................
PIC18F25K20.......................................................................................
PIC18F26K20.......................................................................................
PIC18F43K20.......................................................................................
PIC18F44K20.......................................................................................
PIC18F45K20.......................................................................................
PIC18F46K20.......................................................................................
PIC18(L)FxxK22 Family
PIC18(L)F13K22..........................................................................................
PIC18(L)F14K22..........................................................................................
PIC18(L)F23K22....................................................................................
PIC18(L)F24K22....................................................................................
PIC18(L)F25K22....................................................................................
PIC18(L)F26K22....................................................................................
PIC18(L)F43K22....................................................................................
PIC18(L)F44K22....................................................................................
PIC18(L)F45K22....................................................................................
PIC18(L)F46K22....................................................................................
PIC18F65K22..........................................................................................
PIC18F66K22..........................................................................................
PIC18F67K22..........................................................................................
PIC18F85K22..........................................................................................
PIC18F86K22..........................................................................................
PIC18F87K22..........................................................................................
PIC18FxxK42 Family
PIC18(L)F24K42......................................................
PIC18(L)F25K42......................................................
PIC18(L)F26K42......................................................
PIC18(L)F27K42......................................................
PIC18(L)F45K42......................................................
PIC18(L)F46K42......................................................
PIC18(L)F47K42......................................................
PIC18(L)F55K42......................................................
PIC18(L)F56K42......................................................
PIC18(L)F57K42......................................................
PIC18FxxK40 Family
PIC18(L)F24K40.....................................................................
PIC18(L)F25K40.....................................................................
PIC18(L)F26K40.....................................................................
PIC18(L)F27K40.....................................................................
PIC18(L)F45K40.....................................................................
PIC18(L)F46K40.....................................................................
PIC18(L)F47K40.....................................................................
PIC18(L)F65K40.....................................................................
PIC18(L)F66K40.....................................................................
PIC18(L)F67K40.....................................................................
PIC18(L)FxxK50 Family
PIC18(L)F13K50.......................................................................................
PIC18(L)F14K50.......................................................................................
PIC18(L)F24K50....................................................................................
PIC18(L)F25K50....................................................................................
PIC18(L)F45K50....................................................................................
PIC18(L)FxxK80 Family
PIC18(L)F25K80.......................................................................................
PIC18(L)F26K80.......................................................................................
PIC18(L)F45K80.......................................................................................
PIC18(L)F46K80.......................................................................................
PIC18(L)F65K80.......................................................................................
PIC18(L)F66K80.......................................................................................
PIC18(L)FxxK83 Family
PIC18(L)F25K83...................................................
PIC18(L)F26K83...................................................
PIC18FxxK90 Family
PIC18(L)F65K90.............................................................................................
PIC18(L)F66K90.............................................................................................
PIC18(L)F67K90.............................................................................................
PIC18(L)F85K90.............................................................................................
PIC18(L)F86K90.............................................................................................
PIC18(L)F87K90.............................................................................................
PIC18FxxQ20 Family
PIC18F16Q20............................................................
PIC18F15Q20............................................................
PIC18F14Q20............................................................
PIC18F06Q20............................................................
PIC18F05Q20............................................................
PIC18F04Q20............................................................
PIC18FxxQ24 Family
PIC18F24Q24...................................................
PIC18F25Q24...................................................
PIC18F26Q24...................................................
PIC18F45Q24...................................................
PIC18F46Q24...................................................
PIC18F55Q24...................................................
PIC18F56Q24...................................................

7 Config Field Datasheet Lookup

In MCC Melody Drivers (or PLIB Drivers), the settings of an individual configuration fields, are often associated with BIT or BITFIELD settings in an associated REGISTER on the target microcontroller. Depending on the configuration selected, the corresponding value to write to that register will be inserted into the generated code. Direct links to the associated regsiter description, in the online version of the device datasheet, can be very helpful to understand the setting of that configuration field.

Figure 7-1. PIC18F Q43 Datasheet lookup in Timer0 for Synchronization Config Field

Try the link here: PIC18F47Q43&register=T0CON1