PIC18F4580-I/ML Microchip Technology, PIC18F4580-I/ML Datasheet - Page 481

IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,44PIN,PLASTIC

PIC18F4580-I/ML

Manufacturer Part Number
PIC18F4580-I/ML
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,44PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F4580-I/ML

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT44QFN2 - SOCKET TRAN ICE 44QFN/40DIPAC164322 - MODULE SOCKET MPLAB PM3 28/44QFN444-1001 - DEMO BOARD FOR PICMICRO MCU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PORTB
PORTC
PORTD
PORTE
Postscaler, WDT
Power-Managed Modes ..................................................... 39
Power-on Reset (POR) ...................................................... 49
Power-up Delays ................................................................ 37
Power-up Timer (PWRT) ............................................. 37, 51
Prescaler
Prescaler, Capture ........................................................... 169
© 2009 Microchip Technology Inc.
Associated Registers ............................................... 140
I/O Summary ............................................................ 139
LATB Register .......................................................... 138
PORTB Register ...................................................... 138
TRISB Register ........................................................ 138
Associated Registers ............................................... 142
I/O Summary ............................................................ 142
LATC Register ......................................................... 141
PORTC Register ...................................................... 141
RC3/SCK/SCL Pin ................................................... 205
TRISC Register ........................................................ 141
Associated Registers ............................................... 145
I/O Summary ............................................................ 144
LATD Register ......................................................... 143
Parallel Slave Port (PSP) Function .......................... 143
PORTD Register ...................................................... 143
TRISD Register ........................................................ 143
Associated Registers ............................................... 148
I/O Summary ............................................................ 148
LATE Register .......................................................... 146
PORTE Register ...................................................... 146
PSP Mode Select (PSPMODE Bit) .......................... 143
TRISE Register ........................................................ 146
Assignment (PSA Bit) .............................................. 153
Rate Select (T0PS2:T0PS0 Bits) ............................. 153
Switching Between Timer0 and WDT ...................... 153
and A/D Operation ................................................... 260
and EUSART Operation ........................................... 235
and Multiple Sleep Commands .................................. 40
Clock Transitions and Status Indicators ..................... 40
Effects on Clock Sources ........................................... 37
Entering ...................................................................... 39
Exiting Idle and Sleep Modes .................................... 45
Idle Modes ................................................................. 43
Run Modes ................................................................. 40
Selecting .................................................................... 39
Sleep Mode ................................................................ 43
Summary (table) ........................................................ 39
Oscillator Start-up Timer (OST) ................................. 51
Power-up Timer (PWRT) ........................................... 51
Time-out Sequence .................................................... 51
Timer2 ...................................................................... 180
by Interrupt ......................................................... 45
by Reset ............................................................. 45
by WDT Time-out ............................................... 45
Without an Oscillator Start-up Delay .................. 46
PRI_IDLE ........................................................... 44
RC_IDLE ............................................................ 45
SEC_IDLE ......................................................... 44
PRI_RUN ........................................................... 40
RC_RUN ............................................................ 41
SEC_RUN .......................................................... 40
PIC18F2480/2580/4480/4580
Prescaler, Timer0 ............................................................ 153
Prescaler, Timer2 ............................................................ 174
PRI_IDLE Mode ................................................................. 44
PRI_RUN Mode ................................................................. 40
Program Counter ............................................................... 68
Program Memory
Program Verification and Code Protection ...................... 363
Programming, Device Instructions ................................... 367
PSP. See Parallel Slave Port.
Pulse-Width Modulation. See PWM (CCP Module)
PUSH ............................................................................... 396
PUSH and POP Instructions .............................................. 69
PUSHL ............................................................................. 412
PWM (CCP Module) ........................................................ 173
PWM (ECCP Module) ...................................................... 179
Q
Q Clock .................................................................... 174, 180
R
RAM. See Data Memory.
RC Oscillator ...................................................................... 31
Assignment (PSA Bit) .............................................. 153
Rate Select (T0PS2:T0PS0 Bits) ............................. 153
Switching Between Timer0 and WDT ...................... 153
PCL, PCH and PCU Registers .................................. 68
PCLATH and PCLATU Registers .............................. 68
and the Extended Instruction Set .............................. 98
Code Protection ....................................................... 364
Instructions ................................................................ 72
Interrupt Vector .......................................................... 67
Look-up Tables .......................................................... 70
Map and Stack (diagram) .......................................... 67
Reset Vector .............................................................. 67
Associated Registers ............................................... 364
and PWM (ECCP Module).
Associated Registers ............................................... 175
Auto-Shutdown ........................................................ 174
CCPR1H:CCPR1L Registers .................................. 173
Duty Cycle ............................................................... 173
Example Frequencies/Resolutions .......................... 174
Period ...................................................................... 173
Setup for PWM Operation ....................................... 174
TMR2 to PR2 Match ................................................ 173
Associated Registers ............................................... 190
Direction Change in Full-Bridge Output Mode ......... 184
Duty Cycle ............................................................... 180
ECCPR1H:ECCPR1L Registers .............................. 179
Effects of a Reset .................................................... 189
Enhanced PWM Auto-Shutdown ............................. 186
Example Frequencies/Resolutions .......................... 180
Full-Bridge Application Example .............................. 184
Full-Bridge Mode ..................................................... 183
Half-Bridge Mode ..................................................... 182
Half-Bridge Output Mode Applications Example ..... 182
Output Configurations .............................................. 180
Output Relationships (Active-High) ......................... 181
Output Relationships (Active-Low) .......................... 181
Period ...................................................................... 179
Programmable Dead-Band Delay ............................ 186
Start-up Considerations ........................................... 188
TMR2 to PR2 Match ................................................ 179
RCIO Oscillator Mode ................................................ 31
Two-Word .......................................................... 72
DS39637D-page 481

Related parts for PIC18F4580-I/ML