PIC18F4585-I/ML Microchip Technology, PIC18F4585-I/ML Datasheet

IC MCU FLASH 24KX16 44QFN

PIC18F4585-I/ML

Manufacturer Part Number
PIC18F4585-I/ML
Description
IC MCU FLASH 24KX16 44QFN
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F4585-I/ML

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
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 ~ 85°C
Package / Case
44-QFN
Core
PIC
Processor Series
PIC18F
Data Bus Width
8 bit
Maximum Clock Frequency
40 MHz
Data Ram Size
3.25 KB
On-chip Adc
11 bit
Number Of Programmable I/os
44
Number Of Timers
1 x 8
Operating Supply Voltage
4.2 V to 5.5 V
Mounting Style
SMD/SMT
Height
0.88 mm
Interface Type
I2C, SPI, EUSART
Length
8 mm
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Supply Voltage (max)
5.5 V
Supply Voltage (min)
4.2 V
Width
8 mm
For Use With
XLT44QFN2 - SOCKET TRAN ICE 44QFN/40DIPAC164322 - MODULE SOCKET MPLAB PM3 28/44QFNI3-DB18F4680 - BOARD DAUGHTER ICEPIC3444-1001 - DEMO BOARD FOR PICMICRO MCU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
The PIC18F2585/2680/4585/4680 Rev. A3 parts you
have received conform functionally to the Device Data
Sheet
described below. Any Data Sheet Clarification issues
related to the PIC18F2585/2680/4585/4680 will be
reported in a separate Data Sheet errata. Please check
the Microchip web site for any existing issues.
All of the issues listed here will be addressed in future
revisions of the PIC18F2585/2680/4585/4680 silicon.
The
PIC18F2585/2680/4585/4680 devices with these
Device/Revision IDs:
1. Module: ECCP
EXAMPLE 1:
© 2007 Microchip Technology Inc.
The Device IDs (DEVID1 and DEVID2) are located at
addresses
configuration space. They are shown in binary in the
format “DEVID2 DEVID1”.
Part Number
PIC18F2585
PIC18F2680
PIC18F4585
PIC18F4680
When monitoring a shutdown condition using a bit
test on the ECCPASE bit (ECCP1AS<7>) or
performing a bit operation on the ECCPASE bit,
the device may produce unexpected results.
Work around
Before performing a bit test or bit operation on the
ECCPASE bit, copy the ECCP1AS register to the
working register and perform the test or operation
there.
By avoiding these operations on the ECCPASE bit
in the ECCP1AS register, the module will operate
normally.
In Example 1, ECCPASE bit operations are
performed on the W register.
Date Codes that pertain to this issue:
All engineering and production devices.
following
MOVF
BTFSC
BRA
(DS39625C),
PIC18F2585/2680/4585/4680 Rev. A3 Silicon Errata
3FFFFEh:3FFFFFh
ECCP1AS, W
WREG, ECCPASE
SHUTDOWN_ROUTINE
silicon
0001 1010 100
0001 1010 110
0001 1010 101
0001 1010 111
Device ID
except
errata apply
for
in
the
the
Revision ID
PIC18F2585/2680/4585/4680
0 0100
0 0100
0 0100
0 0100
anomalies
only
device’s
to
2. Module: ECCP
3. Module: ECCP
4. Module: ECCP
When a shutdown condition occurs, the output port
is made inactive for the duration of the event. After
the event that caused the shutdown ends, the
ECCP module immediately enables the PWM
output and does not wait until the beginning of the
next PWM cycle.
Work around
Disable the auto-restart feature in software, polling
the Timer2 Interrupt Flag (TMR2IF) and do not
clear the ECCPASE bit until TMR2IF is set.
Date Codes that pertain to this issue:
All engineering and production devices.
ECCP1
Comparator 1 corrupts the PWM duty cycle pulse.
In addition, it does not consistently synchronize
the pulse to the beginning of the period, and the
end of the pulse can occur at any time within the
period.
Work around
None.
Date Codes that pertain to this issue:
The auto-shutdown event will cause the ECCP
pins (P1A, P1B, P1C, P1D) to draw higher current
than expected. This occurs when the ECCPAS1 or
ECCPAS0 bits are set and an auto-shutdown
event occurs.
Work around
None.
Date Codes that pertain to this issue:
All engineering and production devices.
All engineering and production devices.
configured
for
auto-shutdown
DS80283E-page 1
with

Related parts for PIC18F4585-I/ML

PIC18F4585-I/ML Summary of contents

Page 1

... PIC18F2585/2680/4585/4680 devices with these Device/Revision IDs: Part Number Device ID PIC18F2585 0001 1010 100 PIC18F2680 0001 1010 110 PIC18F4585 0001 1010 101 PIC18F4680 0001 1010 111 The Device IDs (DEVID1 and DEVID2) are located at addresses 3FFFFEh:3FFFFFh in configuration space. They are shown in binary in the format “ ...

Page 2

... All other duty cycle and period settings will function as described in the Device Data Sheet. The ECCP and CCP modules remain capable of 10-bit accuracy. Date Codes that pertain to this issue: All engineering and production devices. Event Trigger (CCP1CON bits between TMRxH:TMRxL and In other words, if © 2007 Microchip Technology Inc. ...

Page 3

... Do not write to TMR1H/TMR3H and then wait for another event before also updating TMR1L/ TMR3L. Date Codes that pertain to this issue: All engineering and production devices. © 2007 Microchip Technology Inc. PIC18F2585/2680/4585/4680 13. Module: Timer1 In 16-Bit Asynchronous Counter mode (with or without use of the Timer1 oscillator), the TMR1H and TMR3H buffers do not update when TMRxL is read ...

Page 4

... MHz)) – SCL CY F SCL (2 Rollovers of BRG) (1) 0Eh 400 kHz 15h 312.5 kHz 59h 100 kHz (1) 05h 400 kHz 08h 308 kHz 23h 100 kHz (1) 01h 333 kHz 08h 100 kHz (1) 00h 1 MHz © 2007 Microchip Technology Inc. ...

Page 5

... This bit can be polled and will set when the transfer is complete. Date Codes that pertain to this issue: All engineering and production devices. © 2007 Microchip Technology Inc. PIC18F2585/2680/4585/4680 21. Module: MSSP In SPI mode, the SDO output may change after the inactive clock edge of the bit ‘0’ output. This may affect some SPI components that read data over 300 ns after the inactive edge of SCK ...

Page 6

... Foo with the fast option in the high priority service routine. The code segment, shown in Example 4 on the following page, demonstrates the work around using the C18 compiler. C18 C Compiler, TEMP, W MOVFF TEMP, BSR. © 2007 Microchip Technology Inc. ...

Page 7

... CALL high_vector_branch, 1 _endasm } void high_vector_branch (void) { _asm POP GOTO high_isr _endasm } #pragma interrupt high_isr void high_isr (void) { ... } © 2007 Microchip Technology Inc. PIC18F2585/2680/4585/4680 Date Codes that pertain to this issue: All engineering and production devices. DS80283E-page 7 ...

Page 8

... Set up the timer to overflow at the end of the Stop bit, then start the timer when you load the TXREG. Do not load the TXREG when timer is about to overflow. Date Codes that pertain to this issue: All engineering and production devices. © 2007 Microchip Technology Inc. ...

Page 9

... Was previous transmission aborted? { TXREQ = 1; // Set transmit request MyFlag = 0; // Reset stored transmission aborted status } © 2007 Microchip Technology Inc. PIC18F2585/2680/4585/4680 31. Module: ECAN™ Technology Following an error on the bus, the ECAN module is unable to switch from Listen Only mode directly to Supply Configuration mode. ...

Page 10

... Technology). Rev C Document (2/2007) Correct issue 31 ECAN™ Technology. Corrected code comment in Example 6 for silicon issue 33 (ECAN™ Technology). Rev D Document (5/2007) Added silicon issue 34 (10-Bit Analog-to-Digital Converter). Rev E Document (10/2007) Removed silicon issue 22 (A/D). 23 (BOD/HLVD), © 2007 Microchip Technology Inc. ...

Page 11

... PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Smart Serial, SmartTel, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 12

... Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2007 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords