PIC16F877-04E/PT Microchip Technology, PIC16F877-04E/PT Datasheet - Page 357

IC MCU FLASH 8KX14 EE 44TQFP

PIC16F877-04E/PT

Manufacturer Part Number
PIC16F877-04E/PT
Description
IC MCU FLASH 8KX14 EE 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F877-04E/PT

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Program Memory Size
14KB (8K x 14)
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 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
PIC16F87704E/PT

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F877-04E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
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 PIC16F877-04E/PT