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

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
PICmicro MID-RANGE MCU FAMILY
DS31018A-page 18-16
PIR
RCSTA
TXREG
PIE
TXSTA
SPBRG Baud Rate Generator Register
Legend: x = unknown, - = unimplemented, read as '0'.
Note 1: The position of this bit is device dependent.
RX/DT pin
TX/CK pin
TXREG reg
Write to
Name
(Interrupt flag)
TXEN bit
TRMT bit
TXIF bit
TRMT
TXREG reg
Shaded cells are not used for Synchronous Master Transmission.
RX/DT pin
TX/CK pin
TRMT bit
Q1Q2 Q3Q4 Q1 Q2Q3 Q4Q1 Q2Q3 Q4Q1 Q2Q3 Q4Q1 Q2 Q3Q4
CSRC
SPEN
'1'
TXIF bit
Bit 7
Write to
TX7
Note: Sync master mode; SPBRG = '0'. Continuous transmission of two 8-bit words.
Write word1
Steps to follow when setting up a Synchronous Master Transmission:
1.
2.
3.
4.
5.
6.
7.
Table 18-8: Registers Associated with Synchronous Master Transmission
Figure 18-10:
Figure 18-11:
Bit 6
RX9
TX6
TX9
Initialize the SPBRG register for the appropriate baud rate (Subsection
Baud Rate Generator (BRG)”
Enable the synchronous master serial port by setting the SYNC, SPEN, and CSRC bits.
If interrupts are desired, then set the TXIE bit.
If 9-bit transmission is desired, then set the TX9 bit.
Enable the transmission by setting the TXEN bit.
If 9-bit transmission is selected, the ninth bit should be loaded in the TX9D bit.
Start transmission by loading data to the TXREG register.
SREN CREN
TXEN SYNC
Bit 0
Bit 5
TX5
Write word2
WORD 1
Bit 1
Bit 4
TX4
bit0
Synchronous Transmission
Synchronous Transmission (Through TXEN)
TXIF
TXIE
Bit 2
Bit 3
TX3
(1)
(1)
bit1
BRGH
FERR
Bit 2
).
TX2
Q3Q4 Q1Q2 Q3Q4 Q1Q2 Q3Q4 Q1Q2 Q3 Q4Q1 Q2Q3 Q4Q1 Q2Q3 Q4Q1 Q2Q3 Q4
bit2
Bit 7
OERR
TRMT
Bit 1
TX1
Bit 0
RX9D
WORD 2
TX9D
Bit 0
TX0
bit6
Bit 1
0000 -00x
0000 0000
0000 -010
0000 0000
Value on:
1997 Microchip Technology Inc.
POR,
BOR
0
0
bit7
18.3 “USART
other Resets
Value on all
0000 -00x
0000 0000
0000 -010
0000 0000
Bit 7
0
0
'1'

Related parts for PIC16F818-I/P