PIC16F88-E/P Microchip Technology, PIC16F88-E/P Datasheet - Page 357

IC MCU FLASH 4KX14 EEPROM 18DIP

PIC16F88-E/P

Manufacturer Part Number
PIC16F88-E/P
Description
IC MCU FLASH 4KX14 EEPROM 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F88-E/P

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 7x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
18-DIP (0.300", 7.62mm)
Controller Family/series
PIC16F
No. Of I/o's
16
Eeprom Memory Size
256Byte
Ram Memory Size
368Byte
Cpu Speed
20MHz
No. Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ACICE0202 - ADAPTER MPLABICE 18P 300 MIL
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
18.7
1997 Microchip Technology Inc.
Initialization
Example 18-2
Example 18-3
load into the SPBRG register is dependent on the desired baud rate and the device frequency.
Example 18-2:
Example 18-3:
BSF
MOVLW
MOVWF
MOVLW
MOVWF
BSF
BSF
BCF
MOVLW
MOVWF
BSF
MOVLW
MOVWF
MOVLW
MOVWF
BSF
BSF
BCF
MOVLW
MOVWF
STATUS,RP0
<baudrate>
SPBRG
0x40
TXSTA
PIE1,TXIE
PIE1,RCIE
STATUS,RP0
0x90
RCSTA
STATUS,RP0
<baudrate>
SPBRG
0xB0
TXSTA
PIE1,TXIE
PIE1,RCIE
STATUS,RP0
0x90
RCSTA
is for the synchronous mode. In both examples the data is 8-bits, and the value to
is an initialization routine for asynchronous Transmitter/Receiver mode.
Asynchronous Transmitter/Receiver
Synchronous Transmitter/Receiver
; Go to Bank1
; Set Baud rate
; 8-bit transmit, transmitter enabled,
; asynchronous mode, low speed mode
; Enable transmit interrupts
; Enable receive interrupts
; Go to Bank 0
; 8-bit receive, receiver enabled,
; serial port enabled
; Go to Bank 1
; Set Baud Rate
; Synchronous Master,8-bit transmit,
; transmitter enabled, low speed mode
; Enable transmit interrupts
; Enable receive interrupts
; Go to Bank 0
; 8-bit receive, receiver enabled,
; continuous receive, serial port enabled
Section 18. USART
DS31018A-page 18-21
18

Related parts for PIC16F88-E/P