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. A1 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. A1 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
Revision ID
the
PIC18F2585/2680/4585/4680
0 0010
0 0010
0 0010
0 0010
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 out-
put and does not wait until the beginning of the
next PWM cycle.
Work around
Disable the auto-restart feature in software, poll
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:
All engineering and production devices.
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.
configured
for
auto-shutdown
DS80202G-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

... Module: Timer1/Timer3 When the Timer1/Timer3 is in External Clock Synchronized mode and the external clock period is between 1 and 2 T occasionally be skipped. Work around None Date Codes that pertain to this issue: All engineering and production devices. , interrupts may CY © 2007 Microchip Technology Inc. ...

Page 3

... The I C™ interface does not conform to the 400 kHz I 100 kHz) in all details, but may be used with care where higher rates are required by the application. © 2007 Microchip Technology Inc. PIC18F2585/2680/4585/4680 Work around Avoid writing SSPBUF until the data transfer is complete, indicated by the setting of the SSPIF bit (PIR1< ...

Page 4

... PIC18F458, to achieve the same Reset period on the PIC18F4680 family, CCPR1H:CCPR1L = where the prescale depending on the T1CKPS1:T1CKPS0 bit values. Date Codes that pertain to this issue: All engineering and production devices ) in BOR Supply Trigger (CCP1CON bits between TMRxH:TMRxL and © 2007 Microchip Technology Inc. ...

Page 5

... IPRx register, then the interrupt is treated as high priority in spite of the pragma interruptlow directive. The code segment, shown in Example 3 on the next page, demonstrates the work around using the C18 compiler. © 2007 Microchip Technology Inc. PIC18F2585/2680/4585/4680 Work around 1. Assembly Language Programming ...

Page 6

... 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) { ... } DS80202G-page 6 Date Codes that pertain to this issue: All engineering and production devices. © 2007 Microchip Technology Inc. ...

Page 7

... Work around None. Date Codes that pertain to this issue: All engineering and production devices. © 2007 Microchip Technology Inc. PIC18F2585/2680/4585/4680 23. Module: EUSART In rare situations, one or more extra zero bytes have been observed in a packet transmitted by the module operating in Asynchronous mode. The actual data is not lost or corrupted, only unwanted (extra) zero bytes are observed in the packet ...

Page 8

... While keeping the LAT bits clear, configure SCL and SDA as inputs by setting their TRIS bits. Once this is done, use the SSPCON1 and SSPCON2 registers to configure the proper I mode as before. Date Codes that pertain to this issue: All engineering and production devices operation © 2007 Microchip Technology Inc. ...

Page 9

... Q4 cycle). Work around None. Date Codes that pertain to this issue: All engineering and production devices. © 2007 Microchip Technology Inc. PIC18F2585/2680/4585/4680 30. Module: ECAN™ Technology Under specific conditions, the first five bits of a transmitted identifier may not match the value in the Transmit Buffer ID register, TXBnSIDH ...

Page 10

... The pseudo-code segment in Example example of how to disable a pending transmission. This code is for illustration purposes only. Date Codes that pertain to this issue: All engineering and production devices. or OSC , OSC OSC © 2007 Microchip Technology Inc. ...

Page 11

... Rev E Document (2/2007) Updated issue 31 (ECAN™ Technology). Corrected code comment in Example 6 for silicon issue 34 (ECAN™ Technology). Rev F Document (5/2007) Added silicon issue 35 (10-Bit Analog-to-Digital Converter). Rev G Document (10/2007) Removed silicon issue 16 (A/D). © 2007 Microchip Technology Inc. PIC18F2585/2680/4585/4680 16 (DC DS80202G-page 11 ...

Page 12

... PIC18F2585/2680/4585/4680 NOTES: DS80202G-page 12 © 2007 Microchip Technology Inc. ...

Page 13

... 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 14

... 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