PIC18F2680-H/SP Microchip Technology, PIC18F2680-H/SP Datasheet - Page 476
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC18F2680-H/SP
Manufacturer Part Number
PIC18F2680-H/SP
Description
IC MCU 8BIT 48KB FLASH 28SPDIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheet
1.PIC18F4585-IPT.pdf
(482 pages)
Specifications of PIC18F2680-H/SP
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
25
Program Memory Size
64KB (32K 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 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 150°C
Package / Case
28-DIP (0.300", 7.62mm)
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
- Current page: 476 of 482
- Download datasheet (9Mb)
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 PIC18F2680-H/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC18F-LF1XK50](/images/no-image3.png)
Part Number:
Description:
20-Pin USB Flash Microcontrollers
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC18F6393T-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6493T-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F8393T-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F8493T-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6585-I/L](/photos/16/12/161282/68-plcc-large-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) 48KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6680-I/L](/photos/16/12/161282/68-plcc-large-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) 64KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90T-I/MR](/photos/16/3/160368/qfn64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90T-I/PT](/photos/16/3/160367/tqfp-64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F87K90T-I/PT](/photos/40/31/403173/tqfp-80_tmb.jpg)
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm T/
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90-I/MR](/photos/16/3/160368/qfn64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90-I/PT](/photos/16/3/160367/tqfp-64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm TRAY
Manufacturer:
Microchip Technology
![PIC18F87K90-I/PT](/photos/40/31/403173/tqfp-80_tmb.jpg)
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm TR
Manufacturer:
Microchip Technology