MCU 8-Bit PIC18 PIC RISC 32KB Flash 2.5V/3.3V/5V 28-Pin SOIC W Tube, PIC18LF252-I/SO, Microchip

PIC18LF252 come in 28-pin and 40/44-pin packages. The 28-pin devices do not have a Parallel Slave Port (PSP) implemented and the number of Analog-toDigital (A/D) converter input channels is reduced to 5. For timing-insensitive applications, the “RC” and “RCIO” device options offer additional cost savings. The RC oscillator frequency is a function of the supply voltage, the resistor (REXT) and capacitor (CEXT) values and the operating temperature. In addition to this, the oscillator frequency will vary from unit to unit due to normal process parameter variation. Furthermore, the difference in lead frame capacitance between package types will also affect the oscillation frequency, especially for low CEXT values. The user also needs to take into account variation due to tolerance of external R and C components used In the RC Oscillator mode, the oscillator frequency divided by 4 is available on the OSC2 pin. This signal may be used for test purposes or to synchronize other logic. The RCIO Oscillator mode functions like the RC mode, except that the OSC2 pin becomes an additional general purpose I/O pin. The I/O pin becomes bit 6 of PORTA (RA6). The EC and ECIO Oscillator modes require an external clock source to be connected to the OSC1 pin. The feedback device between OSC1 and OSC2 is turned off in these modes to save current. There is no oscillator start-up time required after a Power-on Reset or after a recovery from SLEEP mode In the EC Oscillator mode, the oscillator frequency divided by 4 is available on the OSC2 pin. This signal may be used for test purposes or to synchronize other logic A Phase Locked Loop circuit is provided as a programmable option for users that want to multiply the frequency of the incoming crystal oscillator signal by 4. For an input clock frequency of 10 MHz, the internal clock frequency will be multiplied to 40 MHz. This is useful for customers who are concerned with EMI due to high frequency crystals. The PLL can only be enabled when the oscillator configuration bits are programmed for HS mode. If they are programmed for any other mode, the PLL is not enabled and the system clock will come directly from OSC1. The PLL is one of the modes of the FOSC<2:0> configuration bits. The Oscillator mode is specified during device programming. A PLL lock timer is used to ensure that the PLL has locked before device execution starts. The PLL lock timer has a time-out that is called TPLL.

  • C compiler optimized architecture/instruction set
  • Source code compatible with the PIC16 and PIC17 instruction sets
  • Linear program memory addressing to 32 Kbytes
  • Linear data memory addressing to 1.5 Kbytes
  • Up to 10 MIPs operation:
  • DC 40 MHz osc./clock input
  • 4 MHz 10 MHz osc./clock input with PLL active
  • 16 bit wide instructions, 8 bit wide data path
  • Priority levels for interrupts
  • 8 x 8 Single Cycle Hardware Multiplier
  • High current sink/source 25 mA/25 mA
  • Three external interrupt pins
  • Timer0 module: 8 bit/16 bit timer/counter with 8 bit programmable prescaler
  • Timer1 module: 16 bit timer/counter
  • Timer2 module: 8 bit timer/counter with 8 bit period register (time base for PWM)
  • Timer3 module: 16 bit timer/counter
  • Secondary oscillator clock option Timer1/Timer3
  • Two Capture/Compare/PWM (CCP) modules. CCP pins that can be configured as:
  • Capture input: capture is 16 bit, max. resolution 6.25 ns (TCY/16)
  • Compare is 16 bit, max. resolution 100 ns (TCY)
  • PWM output: PWM resolution is 1 to 10 bit, max. PWM freq. @: 8 bit resolution = 156 kHz 10 bit resolution = 39 kHz
  • Master Synchronous Serial Port (MSSP) module, Two modes of operation:
  • 3 wire SPI™ (supports all 4 SPI modes)
  • I2C™ Master and Slave mode
  • Addressable USART module:
  • Supports RS 485 and RS 232
  • Parallel Slave Port (PSP) module
  • Compatible 10 bit Analog to Digital Converter module (A/D) with:
  • Fast sampling rate
  • Conversion available during SLEEP
  • Linearity = 1 LSb
  • Programmable Low Voltage Detection (PLVD)
  • Supports interrupt on Low Voltage Detection
  • Programmable Brown out Reset (BOR)
  • 100,000 erase/write cycle Enhanced FLASH program memory typical
  • 1,000,000 erase/write cycle Data EEPROM memory
  • FLASH/Data EEPROM Retention: > 40 years
  • Self reprogrammable under software control
  • Power on Reset (POR), Power up Timer (PWRT) and Oscillator Start up Timer (OST)
  • Watchdog Timer (WDT) with its own On Chip RC Oscillator for reliable operation
  • Programmable code protection
  • Power saving SLEEP mode
  • Selectable oscillator options including:
  • 4X Phase Lock Loop (of primary oscillator)
  • Secondary Oscillator (32 kHz) clock input
  • Single supply 5V In Circuit Serial Programming™ (ICSP™) via two pins
  • In Circuit Debug (ICD) via two pins
  • Low power, high speed FLASH/EEPROM technology
  • Fully static design
  • Wide operating voltage range (2.0V to 5.5V)
  • Industrial and Extended temperature ranges
  • Low power consumption:
  • < 1.6 mA typical @ 5V, 4 MHz
  • 25 µA typical @ 3V, 32 kHz
  • < 0.2 µA typical standby current

Характеристики

Бренд

Number_of_timers

4

Watchdog

1

Specifications

https://4donline.ihs.com/images/VipMasterIC/IC/MCHP/MCHPS02216/MCHPS02216-1.pdf?hkey=52A5661711E402568146F3353EA87419

Screening_level

Industrial

Schedule_b

8542310000

Program_memory_type

Flash

Product_dimensions

17.87 x 7.49 x 2.31 mm

Pin_count

28

Operating_temperature

-40 to 85 °C

Operating_supply_voltage

2.5, 3.3, 5 V

On_chip_adc

5-chx10-bit

Number_of_programmable_i_os

23

Country_of_origin

Thailand

Msl_level

1, 3

Mounting

Surface Mount

Maximum_speed

40 MHz

Lead_finish

Matte Tin

Тип интерфейса

I2C/SPI/USART

Instruction_set_architecture

RISC

Htsn

8542310001

Eccn

3A991.A.2

Device_core

PIC

Data_bus_width

8 Bit

Max_expanded_memory_size

2 MB

SKU: PIC18LF252-I/SO

Description

PIC18LF252 come in 28-pin and 40/44-pin packages. The 28-pin devices do not have a Parallel Slave Port (PSP) implemented and the number of Analog-toDigital (A/D) converter input channels is reduced to 5. For timing-insensitive applications, the “RC” and “RCIO” device options offer additional cost savings. The RC oscillator frequency is a function of the supply voltage, the resistor (REXT) and capacitor (CEXT) values and the operating temperature. In addition to this, the oscillator frequency will vary from unit to unit due to normal process parameter variation. Furthermore, the difference in lead frame capacitance between package types will also affect the oscillation frequency, especially for low CEXT values. The user also needs to take into account variation due to tolerance of external R and C components used In the RC Oscillator mode, the oscillator frequency divided by 4 is available on the OSC2 pin. This signal may be used for test purposes or to synchronize other logic. The RCIO Oscillator mode functions like the RC mode, except that the OSC2 pin becomes an additional general purpose I/O pin. The I/O pin becomes bit 6 of PORTA (RA6). The EC and ECIO Oscillator modes require an external clock source to be connected to the OSC1 pin. The feedback device between OSC1 and OSC2 is turned off in these modes to save current. There is no oscillator start-up time required after a Power-on Reset or after a recovery from SLEEP mode In the EC Oscillator mode, the oscillator frequency divided by 4 is available on the OSC2 pin. This signal may be used for test purposes or to synchronize other logic A Phase Locked Loop circuit is provided as a programmable option for users that want to multiply the frequency of the incoming crystal oscillator signal by 4. For an input clock frequency of 10 MHz, the internal clock frequency will be multiplied to 40 MHz. This is useful for customers who are concerned with EMI due to high frequency crystals. The PLL can only be enabled when the oscillator configuration bits are programmed for HS mode. If they are programmed for any other mode, the PLL is not enabled and the system clock will come directly from OSC1. The PLL is one of the modes of the FOSC<2:0> configuration bits. The Oscillator mode is specified during device programming. A PLL lock timer is used to ensure that the PLL has locked before device execution starts. The PLL lock timer has a time-out that is called TPLL.

  • C compiler optimized architecture/instruction set
  • Source code compatible with the PIC16 and PIC17 instruction sets
  • Linear program memory addressing to 32 Kbytes
  • Linear data memory addressing to 1.5 Kbytes
  • Up to 10 MIPs operation:
  • DC 40 MHz osc./clock input
  • 4 MHz 10 MHz osc./clock input with PLL active
  • 16 bit wide instructions, 8 bit wide data path
  • Priority levels for interrupts
  • 8 x 8 Single Cycle Hardware Multiplier
  • High current sink/source 25 mA/25 mA
  • Three external interrupt pins
  • Timer0 module: 8 bit/16 bit timer/counter with 8 bit programmable prescaler
  • Timer1 module: 16 bit timer/counter
  • Timer2 module: 8 bit timer/counter with 8 bit period register (time base for PWM)
  • Timer3 module: 16 bit timer/counter
  • Secondary oscillator clock option Timer1/Timer3
  • Two Capture/Compare/PWM (CCP) modules. CCP pins that can be configured as:
  • Capture input: capture is 16 bit, max. resolution 6.25 ns (TCY/16)
  • Compare is 16 bit, max. resolution 100 ns (TCY)
  • PWM output: PWM resolution is 1 to 10 bit, max. PWM freq. @: 8 bit resolution = 156 kHz 10 bit resolution = 39 kHz
  • Master Synchronous Serial Port (MSSP) module, Two modes of operation:
  • 3 wire SPI™ (supports all 4 SPI modes)
  • I2C™ Master and Slave mode
  • Addressable USART module:
  • Supports RS 485 and RS 232
  • Parallel Slave Port (PSP) module
  • Compatible 10 bit Analog to Digital Converter module (A/D) with:
  • Fast sampling rate
  • Conversion available during SLEEP
  • Linearity = 1 LSb
  • Programmable Low Voltage Detection (PLVD)
  • Supports interrupt on Low Voltage Detection
  • Programmable Brown out Reset (BOR)
  • 100,000 erase/write cycle Enhanced FLASH program memory typical
  • 1,000,000 erase/write cycle Data EEPROM memory
  • FLASH/Data EEPROM Retention: > 40 years
  • Self reprogrammable under software control
  • Power on Reset (POR), Power up Timer (PWRT) and Oscillator Start up Timer (OST)
  • Watchdog Timer (WDT) with its own On Chip RC Oscillator for reliable operation
  • Programmable code protection
  • Power saving SLEEP mode
  • Selectable oscillator options including:
  • 4X Phase Lock Loop (of primary oscillator)
  • Secondary Oscillator (32 kHz) clock input
  • Single supply 5V In Circuit Serial Programming™ (ICSP™) via two pins
  • In Circuit Debug (ICD) via two pins
  • Low power, high speed FLASH/EEPROM technology
  • Fully static design
  • Wide operating voltage range (2.0V to 5.5V)
  • Industrial and Extended temperature ranges
  • Low power consumption:
  • < 1.6 mA typical @ 5V, 4 MHz
  • 25 µA typical @ 3V, 32 kHz
  • < 0.2 µA typical standby current

Additional information

Бренд

Number_of_timers

4

Watchdog

1

Specifications

https://4donline.ihs.com/images/VipMasterIC/IC/MCHP/MCHPS02216/MCHPS02216-1.pdf?hkey=52A5661711E402568146F3353EA87419

Screening_level

Industrial

Schedule_b

8542310000

Program_memory_type

Flash

Product_dimensions

17.87 x 7.49 x 2.31 mm

Pin_count

28

Operating_temperature

-40 to 85 °C

Operating_supply_voltage

2.5, 3.3, 5 V

On_chip_adc

5-chx10-bit

Number_of_programmable_i_os

23

Country_of_origin

Thailand

Msl_level

1, 3

Mounting

Surface Mount

Maximum_speed

40 MHz

Lead_finish

Matte Tin

Тип интерфейса

I2C/SPI/USART

Instruction_set_architecture

RISC

Htsn

8542310001

Eccn

3A991.A.2

Device_core

PIC

Data_bus_width

8 Bit

Max_expanded_memory_size

2 MB