Share:


PIC18LF8722-I/PT

Specifications

SKU: 11270063

BUY PIC18LF8722-I/PT https://www.utsource.net/itm/p/11270063.html

Parameter Description Value
Device Type Microcontroller -
Family PIC18 -
Series PIC18LF -
Part Number PIC18LF8722-I/PT -
Package 64-Pin TQFP (PT) -
Operating Voltage (VDD) Supply Voltage Range 2.0 V to 5.5 V
Operating Temperature Temperature Range -40°C to +85°C
Flash Program Memory Size 128 KB
EEPROM Data Memory Size 4 KB
RAM Data Memory Size 4 KB
Clock Speed Maximum Frequency 32 MHz
ADC Analog-to-Digital Converter 12-bit, 16 channels
DAC Digital-to-Analog Converter 2 x 10-bit
Timers Number and Type 3 x 16-bit timers, 1 x 8-bit timer
Communication Interfaces Types I2C, SPI, USART, CAN 2.0B
Interrupts Number of Interrupt Sources 35
I/O Ports Number of I/O Pins 59
Watchdog Timer (WDT) Yes -
Brown-out Reset (BOR) Yes -
Low-Voltage Programming (LVP) Yes -
Power Management Sleep Mode, Idle Mode -
Program Memory Write Protection Yes -
Data Memory Write Protection Yes -
Oscillator Types Internal/External, Primary/Secondary -

Instructions for Use

  1. Power Supply:

    • Ensure the supply voltage (VDD) is within the specified range of 2.0 V to 5.5 V.
    • Connect the VSS pin to ground.
  2. Clock Configuration:

    • Configure the internal or external oscillator as needed. The maximum clock speed is 32 MHz.
    • Use the OSCCON register to set the oscillator configuration.
  3. Programming:

    • Use a programmer compatible with the PIC18 family to program the flash memory.
    • Enable Low-Voltage Programming (LVP) if required by setting the appropriate configuration bits.
  4. Memory Management:

    • Access the 128 KB of flash program memory and 4 KB of RAM data memory using standard read/write operations.
    • Use the EEPROM data memory for non-volatile storage.
  5. Analog-to-Digital Conversion (ADC):

    • Configure the ADC module using the ADCON0, ADCON1, and ADCON2 registers.
    • Select the appropriate input channel and start the conversion.
  6. Digital-to-Analog Conversion (DAC):

    • Configure the DAC module using the DAC1CON and DAC2CON registers.
    • Set the output voltage level by writing to the DAC data registers.
  7. Timer Configuration:

    • Configure the 16-bit and 8-bit timers using the TMRx and PRx registers.
    • Set the prescaler and enable interrupts as needed.
  8. Communication Interfaces:

    • Initialize the I2C, SPI, USART, and CAN modules using their respective control registers.
    • Configure the communication parameters such as baud rate, data format, and addressing mode.
  9. Interrupt Handling:

    • Enable interrupts by setting the appropriate bits in the INTCON register.
    • Write interrupt service routines (ISRs) to handle specific interrupt sources.
  10. Power Management:

    • Enter sleep mode by setting the SLEEP bit in the SLEEP register.
    • Use the WDT to prevent system lockup during sleep mode.
    • Enable Brown-out Reset (BOR) to reset the device if the supply voltage drops below a threshold.
  11. Write Protection:

    • Protect the program and data memory from accidental writes by setting the appropriate configuration bits.
    • Use the CONFIG registers to configure write protection settings.

For detailed information and specific register configurations, refer to the PIC18LF8722 datasheet and programming manual.

(For reference only)

 Inquiry - PIC18LF8722-I/PT