PIC18F4585-H/PT Microchip Technology, PIC18F4585-H/PT Datasheet - Page 476

no-image

PIC18F4585-H/PT

Manufacturer Part Number
PIC18F4585-H/PT
Description
IC MCU 8BIT 48KB FLASH 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheet

Specifications of PIC18F4585-H/PT

Core Processor
PIC
Core Size
8-Bit
Speed
25MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
48KB (24K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.25K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 150°C
Package / Case
44-TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
PIC18F2585/2680/4585/4680
Timer0 .............................................................................. 147
Timer1 .............................................................................. 151
Timer2 .............................................................................. 157
Timer3 .............................................................................. 159
Timing Diagrams
DS39625C-page 474
Associated Registers ............................................... 149
Clock Source Edge Select (T0SE Bit) ...................... 148
Clock Source Select (T0CS Bit) ............................... 148
Operation ................................................................. 148
Overflow Interrupt .................................................... 149
Prescaler. See Prescaler, Timer0.
Reads and Writes in 16-Bit Mode ............................ 148
16-Bit Read/Write Mode ........................................... 153
Associated Registers ............................................... 155
Interrupt .................................................................... 154
Operation ................................................................. 152
Oscillator .................................................................. 153
Resetting, Using a Special Event Trigger
Special Event Trigger (ECCP1) ............................... 174
Use as a Real-Time Clock ....................................... 154
Associated Registers ............................................... 158
Interrupt .................................................................... 158
Operation ................................................................. 157
Output ...................................................................... 158
PR2 Register .................................................... 169, 175
TMR2 to PR2 Match Interrupt .......................... 169, 175
16-Bit Read/Write Mode ........................................... 161
Associated Registers ............................................... 161
Operation ................................................................. 160
Oscillator .................................................. 151, 159, 161
Overflow Interrupt .................................... 151, 159, 161
Special Event Trigger (CCP) .................................... 161
TMR3H Register .............................................. 151, 159
TMR3L Register ............................................... 151, 159
A/D Conversion ........................................................ 450
Acknowledge Sequence .......................................... 220
Asynchronous Reception ......................................... 239
Asynchronous Transmission .................................... 237
Asynchronous Transmission (Back to Back) ........... 237
Automatic Baud Rate Calculation ............................ 235
Auto-Wake-up Bit (WUE) During
Auto-Wake-up Bit (WUE) During Sleep ................... 240
Baud Rate Generator with Clock Arbitration ............ 214
BRG Overflow Sequence ......................................... 235
BRG Reset Due to SDA Arbitration During
Brown-out Reset (BOR) ........................................... 436
Bus Collision During a Repeated
Bus Collision During a Repeated
Bus Collision During a Start
Bus Collision During a Start
Bus Collision During a Stop
Bus Collision During a Stop
Bus Collision for Transmit and Acknowledge ........... 221
Capture/Compare/PWM (CCP) ................................ 438
CLKO and I/O .......................................................... 435
Layout Considerations ..................................... 154
Output (CCP) ................................................... 154
Normal Operation ............................................. 240
Start Condition ................................................. 223
Start Condition (Case 1) .................................. 224
Start Condition (Case 2) .................................. 224
Condition (SCL = 0) ......................................... 223
Condition (SDA Only) ....................................... 222
Condition (Case 1) ........................................... 225
Condition (Case 2) ........................................... 225
Preliminary
Clock Synchronization ............................................. 207
Clock/Instruction Cycle .............................................. 65
EUSART Synchronous Receive
EUSART Synchronous Transmission
Example SPI Master Mode (CKE = 0) ..................... 440
Example SPI Master Mode (CKE = 1) ..................... 441
Example SPI Slave Mode (CKE = 0) ....................... 442
Example SPI Slave Mode (CKE = 1) ....................... 443
External Clock (All Modes Except PLL) ................... 433
Fail-Safe Clock Monitor ........................................... 356
First Start Bit Timing ................................................ 215
Full-Bridge PWM Output .......................................... 179
Half-Bridge PWM Output ......................................... 178
High/Low-Voltage Detect ......................................... 270
I
I
I
I
I
I
I
I
I
I
I
Master SSP I
Master SSP I
Parallel Slave Port (PIC18F4585/4680) ................... 439
Parallel Slave Port (PSP) Read ............................... 145
Parallel Slave Port (PSP) Write ............................... 145
PWM Auto-Shutdown (PRSEN = 0,
PWM Auto-Shutdown (PRSEN = 1,
PWM Direction Change ........................................... 181
PWM Direction Change at Near
PWM Output ............................................................ 169
Repeat Start Condition ............................................ 216
Reset, Watchdog Timer (WDT), Oscillator
Send Break Character Sequence ............................ 241
Slave Synchronization ............................................. 193
Slow Rise Time (MCLR Tied to V
SPI Mode (Master Mode) ......................................... 192
SPI Mode (Slave Mode with CKE = 0) ..................... 194
SPI Mode (Slave Mode with CKE = 1) ..................... 194
Stop Condition Receive or Transmit Mode .............. 220
Synchronous Reception
Synchronous Transmission ..................................... 242
Synchronous Transmission (Through TXEN) .......... 243
Time-out Sequence on POR w/PLL Enabled
Time-out Sequence on Power-up
Time-out Sequence on Power-up
Time-out Sequence on Power-up
2
2
2
2
2
2
2
2
2
2
2
C Bus Data ............................................................ 444
C Bus Start/Stop Bits ............................................ 444
C Master Mode (7 or 10-Bit Transmission) ........... 218
C Master Mode (7-Bit Reception) .......................... 219
C Slave Mode (10-Bit Reception, SEN = 0) .......... 204
C Slave Mode (10-Bit Reception, SEN = 1) .......... 209
C Slave Mode (10-Bit Transmission) .................... 205
C Slave Mode (7-Bit Reception, SEN = 0) ............ 202
C Slave Mode (7-Bit Reception, SEN = 1) ............ 208
C Slave Mode (7-Bit Transmission) ...................... 203
C Slave Mode General Call Address
(Master/Slave) ................................................. 448
(Master/Slave) ................................................. 448
Sequence (7 or 10-Bit Address Mode) ............ 210
Auto-Restart Disabled) .................................... 184
Auto-Restart Enabled) ..................................... 184
100% Duty Cycle ............................................. 181
Start-up Timer (OST) and Power-up
Timer (PWRT) ................................................. 436
V
(Master Mode, SREN) ..................................... 244
(MCLR Tied to V
(MCLR Not Tied to V
(MCLR Not Tied to V
(MCLR Tied to V
DD
Rise > T
2
2
C Bus Data ........................................ 446
C Bus Start/Stop Bits ........................ 446
PWRT
© 2007 Microchip Technology Inc.
DD
DD
) ............................................ 47
) .......................................... 47
, V
DD
DD
DD
), Case 1 ...................... 46
), Case 2 ...................... 46
Rise T
DD
,
PWRT
) .............. 46

Related parts for PIC18F4585-H/PT