PIC16F627-04/SO Microchip Technology Inc., PIC16F627-04/SO Datasheet - Page 77

no-image

PIC16F627-04/SO

Manufacturer Part Number
PIC16F627-04/SO
Description
18 PIN, 1.75 KB FLASH, 224 RAM, 16 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F627-04/SO

Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
128 Bytes
Input Output
16
Interface
SCI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin SOIC
Programmable Memory
1.75K Bytes
Ram Size
224 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F627-04/SO
Manufacturer:
MIC
Quantity:
933
Part Number:
PIC16F627-04/SO
Manufacturer:
MICROCHI
Quantity:
20 000
FIGURE 12-5:
Steps to follow when setting up an Asynchronous
Transmission:
1.
2.
3.
4.
5.
6.
7.
FIGURE 12-6:
 2003 Microchip Technology Inc.
RB2/TX/CK (pin)
Initialize the SPBRG register for the appropriate
baud rate. If a high speed baud rate is desired,
set bit BRGH. (Section 12.1)
Enable the asynchronous serial port by clearing
bit SYNC and setting bit SPEN.
If interrupts are desired, then set enable bit
TXIE.
If 9-bit transmission is desired, then set transmit
bit TX9.
Enable the transmission by setting bit TXEN,
which will also set bit TXIF.
If 9-bit transmission is selected, the ninth bit
should be loaded in bit TX9D.
Load data to the TXREG register (starts
transmission).
Write to TXREG
TXIF bit
(Transmit buffer
reg. empty flag)
TRMT bit
(Transmit shift
reg. empty flag)
BRG output
(shift clock)
TXIE
Interrupt
USART TRANSMIT BLOCK DIAGRAM
ASYNCHRONOUS TRANSMISSION
TXEN
TXIF
Baud Rate Generator
WORD 1
Transmit Shift Reg
Word 1
SPBRG
Baud Rate CLK
START Bit
MSb
(8)
TX9D
Bit 0
Preliminary
TSR register
TX9
TXREG register
2 2 2
8
Data Bus
Bit 1
WORD 1
LSb
0
TRMT
Pin Buffer
and Control
Bit 7/8
SPEN
PIC16F62X
STOP Bit
RB2/TX/CK pin
DS40300C-page 75

Related parts for PIC16F627-04/SO