0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
PIC16F1574-I/P

PIC16F1574-I/P

  • 厂商:

    ACTEL(微芯科技)

  • 封装:

    DIP14

  • 描述:

    IC MCU 8BIT 7KB FLASH 14DIP

  • 数据手册
  • 价格&库存
PIC16F1574-I/P 数据手册
PIC16(L)F1574/5/8/9 14/20-Pin MCUs with High-Precision 16-Bit PWMs Description PIC16(L)F1574/5/8/9 microcontrollers combine the capabilities of 16-bit PWMs with Analog to suit a variety of applications. These devices deliver four 16-bit PWMs with independent timers for applications where high resolution is needed, such as LED lighting, stepper motors, power supplies and other general purpose applications. The core independent peripherals (16-bit PWMs, Complementary Waveform Generator), Enhanced Universal Synchronous Asynchronous Receiver Transceiver (EUSART) and Analog (ADCs, Comparator and DAC) enable closed-loop feedback and communication for use in multiple market segments. The Peripheral Pin Select (PPS) functionality allows for I/O pin remapping of the digital peripherals for increased flexibility. The EUSART peripheral enables the communication for applications such as LIN. Core Features eXtreme Low-Power (XLP) Features: • C Compiler Optimized RISC Architecture • Only 49 Instructions • Operating Speed: - DC – 32 MHz clock input - 125 ns minimum instruction cycle • Interrupt Capability • 16-Level Deep Hardware Stack • Two 8-Bit Timers • One 16-Bit Timer • Four additional 16-Bit Timers available using the 16-Bit PWMs • Power-on Reset (POR) • Power-up Timer (PWRT) • Low-Power Brown-out Reset (LPBOR) • Programmable Watchdog Timer (WDT) up to 256s • Programmable Code Protection • Sleep mode: 20 nA @ 1.8V, typical • Watchdog Timer: 260 nA @ 1.8V, typical • Operating Current: - 30 µA/MHz @ 1.8V, typical Memory • • • • Up to 14 KB Flash Program Memory Up to 1024 Bytes Data SRAM Memory Direct, Indirect and Relative Addressing modes High-Endurance Flash Data Memory (HEF) - 128 bytes if nonvolatile data storage - 100k erase/write cycles Digital Peripherals • 16-Bit PWM: - Four 16-bit PWMs with independent timers - Multiple output modes (standard, centeraligned, set and toggle on register match) - User settings for phase, duty cycle, period, offset and polarity - 16-bit timer capability - Interrupts generated based on timer matches with offset, duty cycle, period and phase registers • Complementary Waveform Generator (CWG): - Rising and falling edge dead-band control - Multiple signal sources • Enhanced Universal Synchronous Asynchronous Receiver Transceiver (EUSART): - Supports LIN applications • Peripheral Pin Select (PPS): - I/O pin remapping of digital peripherals Operating Characteristics Device I/O Port Features • Operating Voltage Range: - 1.8V to 3.6V (PIC16LF1574/5/8/9) - 2.3V to 5.5V (PIC16F1574/5/8/9) • Temperature Range: - Industrial: -40°C to 85°C - Extended: -40°C to 125°C • Internal Voltage Reference module • In-Circuit Serial Programming™ (ICSP™) via Two Pins • Up to 18 I/Os • Individually Selectable Weak Pull-ups • Interrupt-on-Change Pins Option with EdgeSelectable Option  2016 Microchip Technology Inc. DS40001782C-page 1 PIC16(L)F1574/5/8/9 Analog Peripherals Clocking Structure • 10-Bit Analog-to-Digital Converter (ADC): - Up to 12 external channels - Conversion available during Sleep • Two Comparators: - Low-Power/High-Speed modes - Fixed Voltage Reference at (non)inverting input(s) - Comparator outputs externally accessible - Synchronization with Timer1 clock source - Software hysteresis enable • 5-Bit Digital-to-Analog Converter (DAC): - 5-bit resolution, rail-to-rail - Positive Reference Selection - Unbuffered I/O pin output - Internal connections to ADCs and comparators • Voltage Reference: - Fixed Voltage Reference with 1.024V, 2.048V and 4.096V output levels • Precision Internal Oscillator: - Factory calibrated ±1%, typical - Software-selectable clock speeds from 31 kHz to 32 MHz • External Oscillator Block with: - Two external clock modes up to 32 MHz • Digital Oscillator Input Available Program Flash Memory (Kwords) Program Flash Memory (Kbytes) Data SRAM (bytes) I/O Pins 8-Bit/16-Bit Timers Comparators 16-Bit PWM 10-Bit ADC (ch) 5-Bit DAC CWG EUSART PPS Debug(1) PIC12(L)F1571/2 AND PIC16(L)F1574/5/8/9 FAMILY TYPES Data Sheet Index TABLE 1: PIC12(L)F1571 (A) 1 1.75 128 6 2/4(2) 1 3 4 1 1 0 N I PIC12(L)F1572 (A) 2 3.5 256 6 2/4(2) 1 3 4 1 1 1 N I Device PIC16(L)F1574 (B) 4 7 512 12 2/5(3) 2 4 8 1 1 1 Y I PIC16(L)F1575 (B) 8 14 1024 12 2/5(3) 2 4 8 1 1 1 Y I 2 4 12 1 1 1 Y I 2 4 12 1 1 1 Y I PIC16(L)F1578 (B) 4 7 512 18 2/5(3) PIC16(L)F1579 (B) 8 14 1024 18 2/5(3) Note 1: 2: 3: I – Debugging integrated on chip. Three additional 16-bit timers available when not using the 16-bit PWM outputs. Four additional 16-bit timers available when not using the 16-bit PWM outputs. Data Sheet Index: A) B) Note: DS-40001723 Future Release PIC12(L)F1571/2 Data Sheet, 8-Pin Flash, 8-bit MCU with High-Precision 16-bit PWM PIC16(L)F1574/5/8/9 Data Sheet, 8-Pin Flash, 8-bit MCU with High-Precision 16-bit PWM For other small form-factor package availability and marking information, please visit http://www.microchip.com/packaging or contact your local sales office. DS40001782C-page 2  2016 Microchip Technology Inc. PIC16(L)F1574/5/8/9 TABLE 2: PACKAGES Packages PDIP SOIC TSSOP           PIC16(L)F1574 PIC16(L)F1575 PIC16(L)F1578 PIC16(L)F1579 Note: SSOP UQFN       Pin details are subject to change.  2016 Microchip Technology Inc. DS40001782C-page 3 PIC16(L)F1574/5/8/9 PIN DIAGRAMS 14-PIN PDIP, SOIC, TSSOP VDD RA5 1 2 RA4 3 MCLR/VPP/RA3 4 RC5 5 RC4 6 RC3 7 PIC16(L)F1574/5 FIGURE 1: 14 VSS 13 RA0/ICSPDAT 12 RA1/ICSPCLK 11 RA2 10 RC0 9 RC1 8 RC2 Note: See Table 3 for the pin allocation table. 16-PIN UQFN (4x4) VDD NC NC VSS FIGURE 2: RA5 RA4 MCLR/VPP/RA3 RC5 1 2 3 4 PI C 16 (L )F 15 74 /5 16 15 14 13 6 7 11 10 9 RA0 RA1 RA2 RC0 8 RC4 RC3 RC2 RC1 5 12 Note: See Table 3 for the pin allocation table. DS40001782C-page 4  2016 Microchip Technology Inc. PIC16(L)F1574/5/8/9 20-PIN PDIP, SOIC, SSOP VDD 20 VSS 2 19 RA0 3 18 RA1 17 RA2 16 RC0 15 RC1 14 RC2 13 RB4 12 RB5 11 RB6 1 RA5 RA4 MCLR/VPP/RA3 4 RC5 5 RC4 6 RC3 7 RC6 8 RC7 9 PIC16(L)F1578/9 FIGURE 3: RB7 10 Note: See Table 4 for the pin allocation table. 20-PIN UQFN (4x4) RA4 RA5 VDD VSS RA0 FIGURE 4: 78 (L )F 15 16 1 2 3 4 5 PI C MCLR/VPP/RA3 RC5 RC4 RC3 RC6 /9 20 19 18 17 16 15 14 13 12 11 RA1 RA2 RC0 RC1 RC2 RC7 RB7 RB6 RB5 RB4 6 7 8 9 10 Note: See Table 4 for the pin allocation table.  2016 Microchip Technology Inc. DS40001782C-page 5 PIC16(L)F1574/5/8/9 PIN ALLOCATION TABLES 16-Pin UQFN ADC Reference Comparator Timers PWM EUSART CWG Interrupt Pull-up RA0 13 12 AN0 DAC1OUT1 C1IN+ — — — — IOC Y ICSPDAT RA1 12 11 AN1 VREF+ C1IN0-/C2IN0- — — — — IOC Y ICSPCLK RA2 11 10 AN2 — — T0CKI(1) — — CWG1IN(1) INT(1)/IOC Y — RA3 4 3 — — — — — — — IOC Y MCLR/VPP RA4 3 2 AN3 — — T1G(1) — — — IOC Y CLKOUT RA5 2 1 — — — T1CKI(1) — — — IOC Y CLKIN RC0 10 9 AN4 — C2IN+ — — — — IOC Y — RC1 9 8 AN5 — C1IN1-/C2IN1- — — — — IOC Y — RC2 8 7 AN6 — C1IN2-/C2IN2- — — — — IOC Y — RC3 7 6 AN7 — C1IN3-/C2IN3- — — — — IOC Y — RC4 6 5 ADCACT(1) — — — — CK(1) — IOC Y — RC5 5 4 — — — — — RX(1,3) — IOC Y — VDD 1 16 — — — — — — — — — VDD Vss 14 13 — — — — — — — — — VSS — — — — C1OUT — PWM1OUT DT(3) CWG1A — — — — — — — C2OUT — PWM2OUT CK CWG1B — — — OUT(2) Note Basic 14-Pin PDIP/SOIC/TSSOP 14/16-PIN ALLOCATION TABLE (PIC16(L)F1574/5) I/O TABLE 3: — — — — — — PWM3OUT TX — — — — — — — — — — PWM4OUT — — — — — 1: 2: 3: Default peripheral input. Input can be moved to any other pin with the PPS Input Selection registers. All pin outputs default to PORT latch data. Any pin can be selected as a digital peripheral output with the PPS Output Selection registers. These peripheral functions are bidirectional. The output pin selections must be the same as the input pin selections. DS40001782C-page 6  2016 Microchip Technology Inc. PIC16(L)F1574/5/8/9 20-PIN ALLOCATION TABLE (PIC16(L)F1578/9) Reference Comparator Timers PWM EUSART CWG Interrupt Pull-up Basic RA0 19 16 AN0 DAC1OUT1 C1IN+ — — — — IOC Y ICSPDAT RA1 18 15 AN1 VREF+ C1IN0-/C2IN0- — — — — IOC Y ICSPCLK RA2 17 14 AN2 — — T0CKI(1) — — CWG1IN(1) INT(1)/IOC Y — RA3 4 1 — — — — — — — IOC Y MCLR/VPP RA4 3 20 AN3 — — T1G(1) — — — IOC Y CLKOUT RA5 2 19 — — — T1CKI(1) — — — IOC Y CLKIN RB4 13 10 AN10 — — — — — — IOC Y — RB5 12 9 AN11 — — — — RX(1,3) — IOC Y — RB6 11 8 — — — — — — — IOC Y — RB7 10 7 — — — — — CK(1) — IOC Y — RC0 16 13 AN4 — C2IN+ — — — — IOC Y — RC1 15 12 AN5 — C1IN1-/C2IN1- — — — — IOC Y — RC2 14 11 AN6 — C1IN2-/C2IN2- — — — — IOC Y — RC3 7 4 AN7 — C1IN3-/C2IN3- — — — — IOC Y — RC4 6 3 ADCACT(1) — — — — — — IOC Y — RC5 5 2 — — — — — — — IOC Y — RC6 8 5 AN8 — — — — — — IOC Y — RC7 9 6 AN9 — — — — — — IOC Y — VDD 1 18 — — — — — — — — — VDD Vss 20 17 — — — — — — — — — VSS — — — — C1OUT — PWM1OUT DT(3) CWG1A — — — — — — — C2OUT — PWM2OUT CK CWG1B — — — I/O ADC 20-Pin UQFN 20-Pin PDIP/SOIC/SSOP TABLE 4: OUT(2) Note — — — — — — PWM3OUT TX — — — — — — — — — — PWM4OUT — — — — — 1: 2: 3: Default peripheral input. Input can be moved to any other pin with the PPS Input Selection registers. All pin outputs default to PORT latch data. Any pin can be selected as a digital peripheral output with the PPS Output Selection registers. These peripheral functions are bidirectional. The output pin selections must be the same as the input pin selections.  2016 Microchip Technology Inc. DS40001782C-page 7 PIC16(L)F1574/5/8/9 TABLE OF CONTENTS 1.0 Device Overview ........................................................................................................................................................................ 10 2.0 Enhanced Mid-Range CPU ........................................................................................................................................................ 17 3.0 Memory Organization ................................................................................................................................................................. 19 4.0 Device Configuration .................................................................................................................................................................. 55 5.0 Oscillator Module........................................................................................................................................................................ 61 6.0 Resets ........................................................................................................................................................................................ 73 7.0 Interrupts .................................................................................................................................................................................... 81 8.0 Power-Down Mode (Sleep) ........................................................................................................................................................ 94 9.0 Watchdog Timer (WDT) ............................................................................................................................................................. 97 10.0 Flash Program Memory Control ............................................................................................................................................... 101 11.0 I/O Ports ................................................................................................................................................................................... 117 12.0 Peripheral Pin Select (PPS) Module ........................................................................................................................................ 135 13.0 Interrupt-On-Change ................................................................................................................................................................ 141 14.0 Fixed Voltage Reference (FVR) ............................................................................................................................................... 147 15.0 Temperature Indicator Module ................................................................................................................................................. 150 16.0 Analog-to-Digital Converter (ADC) Module .............................................................................................................................. 152 17.0 5-Bit Digital-to-Analog Converter (DAC) Module ...................................................................................................................... 166 18.0 Comparator Module.................................................................................................................................................................. 169 19.0 Timer0 Module ......................................................................................................................................................................... 176 20.0 Timer1 Module with Gate Control............................................................................................................................................. 179 21.0 Timer2 Module ......................................................................................................................................................................... 189 22.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 192 23.0 16-bit Pulse-Width Modulation (PWM) Module ........................................................................................................................ 220 24.0 Complementary Waveform Generator (CWG) Module ............................................................................................................ 246 25.0 In-Circuit Serial Programming™ (ICSP™) ............................................................................................................................... 258 26.0 Instruction Set Summary .......................................................................................................................................................... 260 27.0 Electrical Specifications............................................................................................................................................................ 274 28.0 DC and AC Characteristics Graphs and Charts ....................................................................................................................... 398 29.0 Development Support............................................................................................................................................................... 312 30.0 Packaging Information.............................................................................................................................................................. 316 Appendix A: Data Sheet Revision History.......................................................................................................................................... 338 The Microchip Website....................................................................................................................................................................... 339 Customer Change Notification Service .............................................................................................................................................. 339 Customer Support .............................................................................................................................................................................. 339 Product Identification System............................................................................................................................................................. 340 DS40001782C-page 8  2016 Microchip Technology Inc. PIC16(L)F1574/5/8/9 TO OUR VALUED CUSTOMERS It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and enhanced as new volumes and updates are introduced. If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via E-mail at docerrors@microchip.com. We welcome your feedback. Most Current Data Sheet To obtain the most up-to-date version of this data sheet, please register at our Worldwide Website at: http://www.microchip.com You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page. The last character of the literature number is the version number, (e.g., DS30000000A is version A of document DS30000000). Errata An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision of silicon and revision of document to which it applies. To determine if an errata sheet exists for a particular device, please check with one of the following: • Microchip’s Worldwide Website; http://www.microchip.com • Your local Microchip sales office (see last page) When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are using. Customer Notification System Register on our website at www.microchip.com to receive the most current information on all of our products.  2016 Microchip Technology Inc. DS40001782C-page 9 PIC16(L)F1574/5/8/9 1.0 DEVICE OVERVIEW The PIC16(L)F1574/5/8/9 are described within this data sheet. The block diagram of these devices are shown in Figure 1-1, the available peripherals are shown in Table 1-1, and the pinout descriptions are shown in Table 1-2 and Table 1-3. Peripheral PIC16(L)F1575 PIC16(L)F1578 PIC16(L)F1579 DEVICE PERIPHERAL SUMMARY PIC16(L)F1574 TABLE 1-1: Analog-to-Digital Converter (ADC) ● ● ● ● Complementary Wave Generator (CWG) ● ● ● ● Digital-to-Analog Converter (DAC) ● ● ● ● Enhanced Universal Synchronous/Asynchronous Receiver/Transmitter (EUSART) ● ● ● ● Fixed Voltage Reference (FVR) ● ● ● ● Temperature Indicator ● ● ● ● C1 ● ● ● ● C2 ● ● ● ● PWM1 ● ● ● ● PWM2 ● ● ● ● PWM3 ● ● ● ● PWM4 ● ● ● ● Timer0 ● ● ● ● Timer1 ● ● ● ● Timer2 ● ● ● ● Comparators PWM Modules Timers DS40001782C-page 10  2016 Microchip Technology Inc. PIC16(L)F1574/5/8/9 1.1 1.1.1 Register and Bit Naming Conventions REGISTER NAMES When there are multiple instances of the same peripheral in a device, the peripheral control registers will be depicted as the concatenation of a peripheral identifier, peripheral instance, and control identifier. The control registers section will show just one instance of all the register names with an ‘x’ in the place of the peripheral instance number. This naming convention may also be applied to peripherals when there is only one instance of that peripheral in the device to maintain compatibility with other devices in the family that contain more than one. 1.1.2 BIT NAMES There are two variants for bit names: • Short name: Bit function abbreviation • Long name: Peripheral abbreviation + short name 1.1.2.1 Short Bit Names Short bit names are an abbreviation for the bit function. For example, some peripherals are enabled with the EN bit. The bit names shown in the registers are the short name variant. Short bit names are useful when accessing bits in C programs. The general format for accessing bits by the short name is RegisterNamebits.ShortName. For example, the enable bit, EN, in the COG1CON0 register can be set in C programs with the instruction COG1CON0bits.EN = 1. Short names are generally not useful in assembly programs because the same name may be used by different peripherals in different bit positions. When this occurs, during the include file generation, all instances of that short bit name are appended with an underscore plus the name of the register in which the bit resides to avoid naming contentions. 1.1.2.2 Long Bit Names Long bit names are constructed by adding a peripheral abbreviation prefix to the short name. The prefix is unique to the peripheral thereby making every long bit name unique. The long bit name for the COG1 enable bit is the COG1 prefix, G1, appended with the enable bit short name, EN, resulting in the unique bit name G1EN. Long bit names are useful in both C and assembly programs. For example, in C the COG1CON0 enable bit can be set with the G1EN = 1 instruction. In assembly, this bit can be set with the BSF COG1CON0,G1EN instruction.  2016 Microchip Technology Inc. 1.1.2.3 Bit Fields Bit fields are two or more adjacent bits in the same register. Bit fields adhere only to the short bit naming convention. For example, the three Least Significant bits of the COG1CON0 register contain the mode control bits. The short name for this field is MD. There is no long bit name variant. Bit field access is only possible in C programs. The following example demonstrates a C program instruction for setting the COG1 to the Push-Pull mode: COG1CON0bits.MD = 0x5; Individual bits in a bit field can also be accessed with long and short bit names. Each bit is the field name appended with the number of the bit position within the field. For example, the Most Significant mode bit has the short bit name MD2 and the long bit name is G1MD2. The following two examples demonstrate assembly program sequences for setting the COG1 to Push-Pull mode: Example 1: MOVLW ANDWF MOVLW IORWF ~(1 >   $$ 6  6""  2 . 2 3"' '  2 > >  #$ '  #$ ?$' /  . .2  $$ 6?$' /  2 @ >   $$ 6  6""  2 . 2 3"' '  2 > >  #$ '  #$ ?$' / . . .2  $$ 6?$' /  2 @ >
PIC16F1574-I/P 价格&库存

很抱歉,暂时无法提供与“PIC16F1574-I/P”相匹配的价格&库存,您可以联系我们找货

免费人工找货
PIC16F1574-I/P
    •  国内价格 香港价格
    • 30+11.0212730+1.33572
    • 90+10.9697690+1.32948
    • 150+10.96952150+1.32945
    • 300+10.96928300+1.32942
    • 600+10.96904600+1.32939

    库存:0