December 16, 2014 MPLAB Code Configurator Version 2.10 Release Notes for MPLAB® Code Configurator v2.10 1 What is MPLAB Code Configurator (MCC) The MPLAB® Code Configurator generates seamless, easy to understand C code that is inserted into your project. It enables, configures and utilizes a rich set of peripherals across select list of devices. It is integrated into MPLAB® X IDE to provide a very powerful and extremely easy to use development platform. 2 System Requirements • • • MPLAB® X IDE v2.26 or later XC8 compiler v 1.33 or later XC16 compiler v 1.23 or later 3 Documentation Support The MPLAB® Code Configurator User’s Guide (DS40001725) may be found on the MPLAB® Code Configurator page on the Microchip web site. http://www.microchip.com/mcc 4 Installing MPLAB® Code Configurator Basic steps for installing MPLAB® Code Configurator are given here. To install the MPLAB® Code Configurator Plugin: • • • In the MPLAB® X IDE, select Plugins from the Tools menu Select the Available Plugins tab Check the box for the MPLAB® Code Configurator, and click on Install 5 What’s New • • • • • • • 1 Additional 8-bit and 16 bit devices are supported in 2.10. Refer to Supported Devices section for more details. Additional complex peripherals like; DMA, Pipeline ADC and Sigma Delta ADC are supported. Additional CIPs like; Angular Timer (AT), Cyclic Redundancy Check (CRC), Complementary Waveform Generator (CWG), Math Accelerator with PID, Signal Measurement Timer(SMT). DSM, HLVD supported added to all new and existing 16 bit devices. The drv_ is removed from all 16 bit generated files, and DRV_ is removed from all generated files for 16 bit devices. MCC will provide option to remove the files and will allow migrating the manual changes made to the new set of files. CRC UI is updated to allow for calculating the value from within the tool, to allow the customers to choose the CRC setup. Timers in 16 bit devices support Callback rate. December 16, 2014 5.1 MPLAB Code Configurator Version 2.10 Supported Devices The devices highlighted in bold are new in 2.10 release. 5.1.1 8 bit Devices • • • • • • • • • • • • • • • • • • • • • • • PIC12(L)F1501 PIC12(L)F1612 PIC12(L)F1822 PIC12(L)F1840 PIC16(L)F1503 PIC16(L)F1507 PIC16(L)F1508 PIC16(L)F1509 PIC16(L)F1512 PIC16(L)F1513 PIC16(L)F1516 PIC16(L)F1517 PIC16(L)F1518 PIC16(L)F1519 PIC16(L)F1526 PIC16(L)F1527 PIC16(L)F1613 PIC16(L)F1614 PIC16(L)F1615 PIC16(L)F1618 PIC16(L)F1619 PIC16(L)F1704 PIC16(L)F1708 • • • • • • • • • • • • • • • • • • • • • • • PIC16(L)F1713 PIC16(L)F1716 PIC16(L)F1782 PIC16(L)F1783 PIC16(L)F1784 PIC16(L)F1786 PIC16(L)F1787 PIC16(L)F1788 PIC16(L)F1789 PIC16(L)F1823 PIC16(L)F1824 PIC16(L)F1825 PIC16(L)F1826 PIC16(L)F1827 PIC16(L)F1828 PIC16(L)F1829 PIC16(L)F1847 PIC16(L)F1933 PIC16(L)F1934 PIC16(L)F1936 PIC16(L)F1937 PIC16(L)F1938 PIC16(L)F1939 • • • • • • • • • • • • • • • • • • • • • • PIC16(L)F1946 PIC16(L)F1947 PIC16LF1554 PIC16LF1559 PIC18(L)F14K22 PIC18(L)F23K22 PIC18(L)F23K22 PIC18(L)F24K22 PIC18(L)F25K22 PIC18(L)F26K22 PIC18(L)F43K22 PIC18(L)F44K22 PIC18(L)F45K22 PIC18(L)F46K22 PIC18(L)F23K20 PIC18(L)F24K20 PIC18(L)F25K20 PIC18(L)F26K20 PIC18(L)F43K20 PIC18(L)F44K20 PIC18(L)F45K20 PIC18(L)F46K20 • • • • • • • • • • • • • • PIC24FJ128GA202 PIC24FJ128GA204 PIC24FJ128GB202 PIC24FJ128GB204 PIC24FJ128GC006 PIC24FJ128GC010 PIC24FJ32GA102 PIC24FJ32GA104 PIC24FJ32GB002 PIC24FJ32GB004 PIC24FJ64GA102 PIC24FJ64GA104 PIC24FJ64GA202 PIC24FJ64GA204 • • • • • • PIC24FJ64GB002 PIC24FJ64GB004 PIC24FJ64GB202 PIC24FJ64GB204 PIC24FJ64GC006 PIC24FJ64GC010 5.1.2 16 bit Devices • • • • • • • • • • • • • • PIC24F(V)08KM101 PIC24F(V)08KM102 PIC24F(V)08KM202 PIC24F(V)08KM204 PIC24F(V)16KM102 PIC24F(V)16KM104 PIC24F(V)16KM202 PIC24F(V)16KM204 PIC24FJ128GA306 PIC24FJ128GA308 PIC24FJ128GA310 PIC24FJ64GA306 PIC24FJ64GA308 PIC24FJ64GA310 6 Repairs and Enhancements # 1. 2 ID MCCD-1069 Description MCCP Compare: Multiple Initializers don't set OCxEN bits Device(s) PIC24F KM family December 16, 2014 # MPLAB Code Configurator ID Description Version 2.10 Device(s) 2. MCCD-999 MCCP reload of timer and compare values not working PIC24F KM family 3. MCCD-915 WDT: Incorrect watchdog timer period displayed All 16 bit devices 4. MCCD-1001 I2C Master hangs when I2C Slave is not on the bus All 16 bit devices. 5. MCCD-1002 KM Pins are not correct All PIC24F KM devices 6. MCCD-1006 On reload, system settings are not reloaded properly All 16 bit devices 7. MCCD-1420 MCCP alert updated to reflect the correct spelling of requires. All PIC24F KM devices 8. MCCD-1419 UART TransmitBufferSizeGet and ReceiveBufferSizeGet API error All 16 bit devices 9. MCC-1094 The I2C Slave driver fails to acknowledge the first data byte sent by the Master after the Slave address is decoded PIC18F46K20, PIC16F1938, PIC16F1937 10. MCC-1039 CVREF pin when accessed by CMP should throw alert when released in CVR PIC24 devices 11. MCC-1004 Create main.c question appears even when main.c exists All 12. MCC-1007 Pin manager generate #defines for only pins in use All 8 bit devices 13. MCCD-908 PWM frequency display in GUI corrected All 8 bit devices 14. MCCD-909 EUSART WUE does not get enabled All 8 bit devices 15. MCCD-916 NCOxINCU, NCOxINCH, NCOxINCl register ordering PIC16(L)F150x, PIC16(L)F171x 16. MCCD-1348 CVRef Module default voltage source PIC18F2x/4xK20 17. MCCD-1185 Timer 2/4/6 displays incorrect Period Calculation All 8 bit devices 18. MCC-1179 COG Auto-Shutdown State Control incorrect PIC16(L)F17xx devices 19. MCCD-1341 NCO not using correct clock selection All 8 bit devices with NCO 7 Known Issues The following are enumerated issues for the MPLAB® Code Configurator. # 1. 3 ID MCCD-1102 Description CN\IOC functionality not supported Device(s) All 16 bit devices December 16, 2014 # ID 2. MCCD-1421 3. MPLAB Code Configurator Description Version 2.10 Device(s) MCCP Compare Alert does not go away on selecting output pin(s) All PIC24F KM devices MCC-1190 Configuration setting ZCD compatible with XC8 v1.33 only PIC16(L)F161x devices 4. MCC-1250 MCC-1253 I2C driver errors when multiple initializer are used All 8 bit devices 5. MCC-1259 Timer 2/4/6 input pins not configured as digital PIC16(L)F161x devices Interrupt on change (IOC) and Interrupt pin (INT) not available All 8 bit devices PWM3 and PWM4 only work with Timer 2 PIC16(L)F17xx devices MCC-1284 MCCD-910 MCCD-911 MCCD-912 MCCD-914 MCCD-1290 6. 7. MCCD-917 8. MCCD-1295 I2C slave driver does not fit in RAM PIC12(L)F1822 9. MCCD-1466 I2C PPS register value incorrect for RC3 PIC16(L)F161x devices 8 Customer Support 8.1 The Microchip Web Site Microchip provides online support via our web site at http://www.microchip.com. This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the web site contains the following information: • • • Product Support – Data sheets and errata, application notes and sample programs, design resources, user’s guides and hardware support documents, latest software releases and archived software General Technical Support – Frequently Asked Questions (FAQs), technical support requests, online discussion groups/forums (http://forum.microchip.com), Microchip consultant program member listing Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives 8.2 Additional Support Users of Microchip products can receive assistance through several channels: • • • • 4 Distributor or Representative Local Sales Office Field Application Engineering (FAE) Technical Support December 16, 2014 MPLAB Code Configurator Version 2.10 Customers should contact their distributor, representative or field application engineer (FAE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is available on our web site. Technical support is available through the web site at: http://support.microchip.com 5