PIC16F818-I/P Microchip Technology, PIC16F818-I/P Datasheet - Page 76

IC MCU FLASH 1KX14 18-DIP

PIC16F818-I/P

Manufacturer Part Number
PIC16F818-I/P
Description
IC MCU FLASH 1KX14 18-DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F818-I/P

Program Memory Type
FLASH
Program Memory Size
1.75KB (1K x 14)
Package / Case
18-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
I2C/SPI/SSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014
Minimum Operating Temperature
- 40 C
On-chip Adc
5-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ACICE0202 - ADAPTER MPLABICE 18P 300 MILAC164010 - MODULE SKT PROMATEII DIP/SOIC
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F818-I/P
Manufacturer:
Microchip Technology
Quantity:
295
PIC16F818/819
FIGURE 10-1:
TABLE 10-1:
DS39598E-page 74
0Bh,8Bh
10Bh,18Bh
0Ch
8Ch
86h
13h
14h
94h
Legend:
RB1/SDI/SDA
Address
RB2/SDO/
RB4/SCK/
RB5/SS
CCP1
SCL
x = unknown, u = unchanged, - = unimplemented, read as ‘0’. Shaded cells are not used by the SSP in SPI™ mode.
INTCON
PIR1
PIE1
TRISB
SSPBUF
SSPCON
SSPSTAT
Name
Read
SS Control
REGISTERS ASSOCIATED WITH SPI™ OPERATION
TRISB<4>
Select
Edge
bit 0
SSPM3:SSPM0
Enable
SSP BLOCK DIAGRAM
(SPI™ MODE)
Select
SSPBUF reg
Edge
PORTB Data Direction Register
Synchronous Serial Port Receive Buffer/Transmit Register
WCOL SSPOV SSPEN
Bit 7
SMP
GIE
SSPSR reg
Clock Select
4
ADIF
ADIE
Bit 6
PEIE
CKE
2
Prescaler
4, 16, 64
TMR2 Output
Write
Clock
TMR0IE
Shift
Bit 5
Data Bus
D/A
Internal
2
T
CY
Bit 4
INTE
CKP
P
SSPM3 SSPM2
SSPIF
SSPIE
RBIE
Bit 3
S
To enable the serial port, SSP Enable bit, SSPEN
(SSPCON<5>), must be set. To reset or reconfigure
SPI mode, clear bit SSPEN, reinitialize the SSPCON
register and then set bit SSPEN. This configures the
SDI, SDO, SCK and SS pins as serial port pins. For the
pins to behave as the serial port function, they must
have their data direction bits (in the TRISB register)
appropriately programmed. That is:
• SDI must have TRISB<1> set
• SDO must have TRISB<2> cleared
• SCK (Master mode) must have TRISB<4> cleared
• SCK (Slave mode) must have TRISB<4> set
• SS must have TRISB<5> set
Note 1: When
TMR0IF
CCP1IE TMR2IE TMR1IE -0-- 0000 -0-- 0000
CCP1IF TMR2IF TMR1IF -0-- 0000 -0-- 0000
Bit 2
R/W
2: If the SPI is used in Slave mode with
3: When
with the SS
(SSPCON<3:0> = 0100), the SPI module
will reset if the SS pin is set to V
CKE = 1, then the SS pin control must be
enabled.
with the SS
(SSPCON<3:0> = 0100), the state of the
SS pin can affect the state read back from
the TRISB<2> bit. The peripheral OE
signal from the SSP module into PORTB
controls the state that is read back from
the TRISB<2> bit. If read-modify-write
instructions, such as BSF are performed
on the TRISB register while the SS pin is
high, this will cause the TRISB<2> bit to
be set, thus disabling the SDO output.
SSPM1
INTF
Bit 1
UA
the
the
SSPM0 0000 0000 0000 0000
RBIF
Bit 0
BF
 2004 Microchip Technology Inc.
SPI
SPI
pin
pin
0000 000x 0000 000u
1111 1111 1111 1111
xxxx xxxx uuuu uuuu
0000 0000 0000 0000
POR, BOR
Value on
is
is
control
control
in
in
Slave
Slave
Value on
DD
all other
Resets
enabled
enabled
.
mode
mode

Related parts for PIC16F818-I/P