Professional Documents
Culture Documents
Slide 1
Hello, my name is Marc McComb, I am a Technical Training Engineer with the Securities and Microcontroller Technology Division here a Microchip Technology. I am pleased to present the following webinar that will overview the first 8 members of the new PIC18F K-series 8-bit low-power, low-cost high performance microcontroller family developed using Microchips latest processing technology.
Agenda
Differentiating the PIC18F family from other PIC MCU offerings Introduction to the PIC18F2XK20/4XK20 Family
Features
During this webinar I will discuss a number of topics. First, an overview of the entire PIC18F family. Here I will talk about the distinct differences between three categories offered in this family including why you would select one product over the other. Next, an introduction to the new PIC18F2XK20/4XK20 microcontrollers including some of the enhanced features. Finally, I will discuss the soon to be released PIC18FxXK20 demonstration board which includes application examples specifically designed to highlight various features of the K-series and provide you with a diverse platform to develop your own designs.
Slide 3
So, lets start with a question. Where does the PIC18F family of microcontrollers fit in with the rest of Microchips product line?
Slide 4
Microchip currently offers a wide variety of 8-bit to 16-bit microcontrollers along with digital signal controllers. These products range from the very small, low-cost 8-bit PIC10F microcontrollers all the way up to the sophisticated dsPIC DSCs with powerful high-level digital signal processing capabilities.
PIC18 PIC10
Three groups:
Traditional PIC18 PIC18 J-series
PIC18FXXKXX
PIC18 K-series
2007 Microchip Technology Incorporated. All Rights Reserved. PIC18F2XK/4XK20 Web Seminar
Slide 5
The PIC18F family offers Microchips highest performance 8-bit MCUs with a 16-bit instruction word. Flash program memory in this family is up to 128 Kbytes with packages ranging from 18 to 100pins. The RISC architecture with single instruction word execution allows for optimal performance with up to 16 MIPS. Thanks to this large Flash program memory and high performance, applications using this family can be easily developed using Microchips MPLAB C18 C compiler or one of the supporting third party C compilers. The PIC18F family is further subdivided into three categories. The traditional PIC18F, the PIC18 J-series, and now, the new PIC18F K-series. Lets take a closer look at the characteristics that distinguish each of these groups.
100k, 40 yr Flash Endurance, Retention Typical Data EEPROM 1M, 40 yr Endurance, Retention Typical 2-5.5V Range 4 KB 40 MHz, 10 MIPS
32 KB
Performance
2007 Microchip Technology Incorporated. All Rights Reserved. PIC18F2XK/4XK20 Web Seminar Slide 6
Each group offers different options depending on the Flash Program Memory and Performance that your application demands. The traditional PIC18F members offer Flash program memory sizes from 4 to 128 Kbytes along with operating voltages ranging from 2 to 5.5 volts. This group can perform up to 40 MHz offering 10 MIPS. Data EEPROM along with 100k write endurance and a 40 yr retention.
J-series PIC18
1k-10k, 20 yr 1kEndurance, Retention EEPROM emulation 2-3.6V Range
100k, 40 yr Flash Endurance, Retention Typical Data EEPROM 1M, 40 yr Endurance, Retention Typical 2-5.5V Range 4 KB 40 MHz, 10 MIPS
32 KB
Performance
2007 Microchip Technology Incorporated. All Rights Reserved. PIC18F2XK/4XK20 Web Seminar Slide 7
The PIC18F J-series members are available with Flash Program memories ranging from 32 to 128 Kbytes and an operating voltage range of 2 to 3.6 volts. This group can also operate at greater frequencies than the traditional PIC18F group offering 10 to 12 MIPS.
J-series PIC18
1k-10k, 20 yr Endurance, Retention Typical EEPROM emulation 2-3.6V Range
100k, 40 yr Flash Endurance, Retention Typical Data EEPROM 1M, 40 yr Endurance, Retention Typical 2-5.5V Range 4 KB 40 MHz, 10 MIPS
K-series PIC18
10k, 40 yr Flash Endurance, Retention Typical Data EEPROM 100K,40 yr Endurance, Retention Typical 1.8-3.6V 1.8Range
32 KB
64 MHz,16 MIPS
Performance
2007 Microchip Technology Incorporated. All Rights Reserved. PIC18F2XK/4XK20 Web Seminar Slide 8
The new PIC18F K-series are now the highest performance members of the PIC18F family offering up to 64 MHz operation with16 MIPS. Operating range of 1.8 to 3.6 volts with 100K write endurance and 40 yr retention typical for both Flash and Data EEPROM memory. Bottom line, the K-series adds to the diversity of the PIC18F family providing you with a variety of options to meet your design requirements.
Slide 9
Having distinguished these three groups, lets take a closer look at the first 8 members of the new PIC18F K-series
PIC18F2X20/4X20
PI C
18F
Slide 10
The PIC18F2XK20 and 4XK20 MCUs are born out of the PIC18F2X20 and 4X20 traditional PIC18F family members. The new K-series offers key feature enhancements. Such key features I have already mentioned include 1.8 to 3.6V operating range and higher speed operation these are offered along with power managed modes to minimize power consumption. Enhancements to traditional peripherals include individual dual rail-to-rail comparators with configurable speed option, bit address masking to the Master Synchronous Serial Port module, the 10-bit Analog-to-Digital converter now has14 selectable input channels and a 1.2V Fixed Voltage Reference is available. The Enhanced Capture/Compare Pulse-Width Modulation module offers a variety of PWM modes for a variety of bridge configurations as well as PWM steering on 4 different pins. These features and more make the PIC18F4XK20/2XK20 devices ideally suited for general-purpose control, and a broad range of low-power applications. Lets take a closer look at these features.
2 XK /4 X K2 0
10
High Performance
4x Phase Locked Loop for crystal and internal oscillators
PLL
16
S@ MIP
3V
FIN
4 4
A wide variety of clock sources and selection features allow for maximum performance with frequencies ranging from 31 KHz to 64 MHz while minimizing power consumption. A 4x Phase Locked Loop is provided enabling the use of a lower frequency oscillator in applications sensitive to electromagnetic interference that can be caused when using higher-frequency crystals. The PLL further enables external crystals and the internal oscillators to be driven to their highest rated frequencies. This means, 16 MIPS can be easily achieved at a 3V operating voltage.
11
Run, Idle and Sleep power management mode categories with a total of seven different sub-modes provide a variety of options for power conservation. Each of these modes determines which areas of the microcontroller are clocked and even at what speed. Enhancements include a reduction in Idle mode currents down to 1 uA and current reduction down to 0.1 uA in low-powered Sleep mode. Furthermore, clock switching features allow the 32 KHz, low-powered Timer1 oscillator to be used as the primary clock source. All these features make the new PIC18FXXK20 ideal for battery operated applications.
12
Comparator Module
Dual Rail-to-Rail Comparators Each comparator has a choice of four negative input references Two Internal Reference Voltages CVREF and 1.2V Fixed Voltage Reference Configurable propagation delay for power conservation
Comparator 1 + _
C1OUT
C12IN0C12IN1C12IN2C12IN3C12IN0C12IN1C12IN2C12IN3-
Comparator 2 + _
C2OUT
Slide 13
The dual comparators now feature rail-to-rail input voltages along with up to four selectable input channels for each comparator. Two internal reference voltages are available the 1.2V fixed Voltage Reference and the programmable Comparator Voltage Reference. Furthermore, the propagation delay through each comparator can be configured to speeds that will optimize power consumption.
13
Comparator Module
Programmable Comparator Voltage Reference configurable for external use
CVREF
CVREF pin
Slide 14
The programmable Comparator Voltage Reference further offers the advantage of being configured for external use by off-chip devices or other on-chip inputs.
14
0 1 1 0 1 11 0
Motor Controller
SLAVE 4
MASTER
Fan Control EEPROM
PIC18F2XK/4XK20
SLAVE 1
2007 Microchip Technology Incorporated. All Rights Reserved.
SLAVE 2
SLAVE 3
SLAVE 5
Slide 15
The Master Synchronous Serial Port Module serial peripheral can be operated in either I2C or SPI mode. I2C further offers Master, Multi-Master and Slave modes. The PIC18F2XK20 and 4XK20 further allow individual bit address masking. Enabling individual communication with the master or
Real-time Clock
15
0 1 1 0 1 11 0 0 11 1 0 1
Motor Controller
SLAVE 4
SLAVE 1
2007 Microchip Technology Incorporated. All Rights Reserved.
SLAVE 2
SLAVE 3
SLAVE 5
Slide 16
Real-Time Clock
MASTER
Fan Control
EEPROM
PIC18F2XK/4XK20
16
Analog-to-Digital Converter
10-bit Analog-to-Digital Converter with up to 14 channels
1.2V fixed voltage reference
AN0 AN1 AN2 AN3 AN4 AN5 AN6 AN7 AN8 AN9 AN10 AN11 AN12
ADC
1.2V
Slide 17
The on-chip 10-bit Analog-to-Digital converter now offers 14 selectable analog input channels including an option to use the 1.2V Fixed Voltage Reference as one of these channels. Each analog input can be individually configured for digital functionality if not used with any of the analog peripherals.
17
V+
Full-Bridge Mode
2007 Microchip Technology Incorporated. All Rights Reserved. PIC18F2XK/4XK20 Web Seminar Slide 18
The Enhanced Capture/Compare Pulse Width Modulation module with auto shutdown and programmable dead band delay can provide PWM output on up to 4 pins with up to 10-bit resolution. Four different PWM modes are available Single, Half-Bridge and Full-Bridge Forward or Reverse PWM modes.
18
P1A
OR
Combination
Slide 19
Individual pulse steering of the same PWM signal to any one of 4 individual output pins can be accomplished in single output mode. Additionally, the same PWM signal can now be output to multiple pins simultaneously.
19
Other Features
Up to 64 KB of Flash program memory Up to 3,936 bytes of RAM with up to 1,024 bytes of Data EEPROM memory Programmable Brown-Out Reset and Extended Watchdog Timer both with Software Enable Option EUSART with LIN compatibility Fail-safe clock monitoring with two-speed oscillator start-up
4XK 20 PI C
Slide 20
Other features include optimal memory ranges up to 64 Kbytes of Flash memory and up to 3936 bytes of ram. Additionally, true Data EEPROM memory is implemented with available sizes up to 1024 bytes. The K-series provides programmable Brown-out Reset with software enable, extended WDT along with EUSART module with LIN compatibility and two-speed oscillator start-up. The PIC18F2XK20 and 4XK20 continue Microchips tradition providing for easy migration from earlier family members allowing your current designs to benefit from these enhanced features.
18F 2
X K/
20
Development Tools
Slide 21
Now that weve seen some of the new features that are incorporated in the K-series, lets take a look at some development tools.
21
Development Tools
A full range of hardware and software tools:
Programmers Debuggers Emulators Analyzers and the MPLAB Integrated Development Environment
with Visual Device Initializer
2007 Microchip Technology Incorporated. All Rights Reserved. PIC18F2XK/4XK20 Web Seminar Slide 22
The PIC18F2XK20 and 4XK20 are fully supported by Microchips complete line of programmers, debuggers, in-circuit emulators and analyzers. Application firmware is easily developed using Microchips MPLAB integrated development environment along with such tools as Visual Device Initializer and the aforementioned C18 and third party C compilers.
22
Slide 23
Along with the introduction of the PIC18FXXK20 family, a new demonstration board will soon be available to ease the development of original design applications.
23
Audio/Analog Output
Temperature Sensor
2007 Microchip Technology Incorporated. All Rights Reserved.
Serial EEPROM
Slide 24
The PIC18FXXK20 Demonstration Board comes equipped with a PIC18FXXK20 MCU. Interface connections include a full complement of pushbuttons and LEDs, along with a 64 x 128 display. Serial applications can be easily developed and tested using the on-board serial EEPROM or EUSART testing using Microchips PICkit Serial Analyzer. Standard debugger connectivity is provided to allow the demonstration board to be used with either Microchips low-cost PICkit 2 Debug Express or MPLAB ICD 2 In-Circuit Debugger. Other features include a temperature sensor, Audio inputs and a 32 KHz crystal for low-power applications using the Timer1 oscillator.
24
Slide 25
A number of application examples are provided with the PIC18FXXK20 Demonstration Board to provide a unique out-of-the box experience. Lets take a look at one of these applications that highlight the high-performance characteristics of the new PIC18FXXK20 MCU.
25
Low-pass LowFilter
ADC
Data Memory
Display on OLED
Calculate DFT
Slide 26
A Discrete Fourier Transform application incorporates a microphone connected to the audio input on the PIC18FXXK20 board. The audio signal generated passes through a Low-Pass filter into one of the 14 analog input channels of the 10-bit ADC. Thirty-two digitized samples of the audio signal are taken, each value transformed to the frequency domain using a Discrete Fourier Transform and then a 16 point spectral representation of the signal is displayed on the display. The high performance of the PIC18FXXK20 enables high level mathematical operations to be performed easily at faster rates. All firmware for this application is provided with the demonstration board as well as connectivity requirements.
26
HR
2:30
Pong Game
Play until 5 points
Displayed on OLED
UP
DOWN
4
Slide 27
Other demos include a Real-Time Clock application using Low-Power Timer1 as the clock source and a neat Pong game to name a few.
27
Summary
The new PIC18FXXK20 MCU
Low-Cost Power conservation features Enhancements to peripherals
Comparators MSSP ECCP ADC
With the ever-increasing focus on portable applications that require reduced energy consumption and increased functionality, there is a clear need for embedded electronic intelligence that can do more with less. Microchips new PIC18F4XK20/2XK20 family of high-performance 8-bit microcontrollers meets these needs head-on, not just with the levels of performance, but also at a cost-effective price point. Additionally, this new family continues Microchips easy migration strategy, providing full code, pin-out and tool compatibility with the Companys comprehensive portfolio of 8-bit microcontrollers. The soon to be released PIC18FXXK20 development kit, will highlight new features of the PIC18FXXK20 device as well as provide a platform for the development of your own original designs.
28
More Information
Visit www.microchip.com
Data sheets Application notes Tech briefs Ordering information New product development
Slide 29
For iInformation on this or any of Microchips products, please visit our web site a www.microchip.com. Here you find a complete list of data sheets, application notes and other important information for all your design needs.
29
THANK YOU!!
Slide 30
My name is Marc McComb and I thank you for your interest in the PIC18FXXK20 family.
30