PIC18F2331-E/MM Microchip Technology, PIC18F2331-E/MM Datasheet - Page 245

IC MCU FLASH 4KX16 28QFN

PIC18F2331-E/MM

Manufacturer Part Number
PIC18F2331-E/MM
Description
IC MCU FLASH 4KX16 28QFN
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2331-E/MM

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, Power Control PWM, QEI, POR, PWM, WDT
Number Of I /o
24
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-QFN
Core
PIC
Processor Series
PIC18F
Data Bus Width
8 bit
Maximum Clock Frequency
40 MHz
Data Ram Size
768 B
Data Rom Size
256 B
On-chip Adc
Yes
Number Of Programmable I/os
24
Number Of Timers
4
Operating Supply Voltage
2 V to 5.5 V
Mounting Style
SMD/SMT
A/d Bit Size
10 bit
A/d Channels Available
5
Height
0.88 mm
Interface Type
EUSART, I2C, SPI, SSP
Length
6 mm
Maximum Operating Temperature
+ 125 C
Minimum Operating Temperature
- 40 C
Supply Voltage (max)
5.5 V, 5.8 V
Supply Voltage (min)
3.9 V, 4.2 V
Width
6 mm
For Use With
I3-DB18F4431 - BOARD DAUGHTER ICEPIC3
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Other names
PIC18F2331-E/ML
PIC18F2331-E/ML
REGISTER 21-6:
REGISTER 21-7:
 2010 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-0
Note 1:
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-1
bit 0
Note 1:
ANS7
R/W-1
U-0
2:
2:
(2)
Setting a pin to an analog input disables the digital input buffer. The corresponding TRIS bit should be set
for an input and cleared for an output (analog or digital). The ANSx bits directly correspond to the ANx pins
(e.g., ANS0 = AN0, ANS1 = AN1, etc.). Unused ANSx bits are read as ‘0’.
ANS7 through ANS5 are available only on PIC18F4331/4431 devices.
Setting a pin to an analog input disables the digital input buffer. The corresponding TRIS bit should be set
for an input and cleared for an output (analog or digital). The ANSx bits directly correspond to the ANx pins
(e.g., ANS8 = AN8, ANS9 = AN9, etc.). Unused ANSx bits are read as ‘0’.
ANS8 is available only on PIC18F4331/4431 devices.
ANS<7:0>: Analog Input Function Select bits
Correspond to pins, AN<7:0>.
1 = Analog input
0 = Digital I/O
Unimplemented: Read as ‘0’
ANS8: Analog Input Function Select bit
1 = Analog input
0 = Digital I/O
ANS6
R/W-1
U-0
ANSEL0: ANALOG SELECT REGISTER 0
ANSEL1: ANALOG SELECT REGISTER 1
(2)
W = Writable bit
W = Writable bit
‘1’ = Bit is set
‘1’ = Bit is set
ANS5
R/W-1
U-0
(2)
PIC18F2331/2431/4331/4431
R/W-1
ANS4
U-0
(2)
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-1
ANS3
U-0
(1)
(1)
R/W-1
ANS2
U-0
x = Bit is unknown
x = Bit is unknown
R/W-1
ANS1
U-0
DS39616D-page 245
ANS8
R/W-1
R/W-1
ANS0
(2)
bit 0
bit 0

Related parts for PIC18F2331-E/MM