PIC16F913-I/SP Microchip Technology Inc., PIC16F913-I/SP Datasheet - Page 138

no-image

PIC16F913-I/SP

Manufacturer Part Number
PIC16F913-I/SP
Description
28 PIN, 7 KB FLASH, 352 RAM, 25 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F913-I/SP

A/d Inputs
5-Channel, 10-Bit
Comparators
2
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Input Output
25
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
7K Bytes
Ram Size
256 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:
PIC16F913-I/SP
Manufacturer:
TI
Quantity:
212
PIC16F917/916/914/913
11.2.3
When setting up an Asynchronous Reception with
address detect enabled:
• Initialize the SPBRG register for the appropriate
• Enable the asynchronous serial port by clearing
• If interrupts are desired, then set enable bit RCIE.
• Set bit RX9 to enable 9-bit reception.
• Set ADDEN to enable address detect.
• Enable the reception by setting enable bit CREN.
FIGURE 11-6:
DS41250E-page 136
baud rate. If a high-speed baud rate is desired,
set bit BRGH.
bit SYNC and setting bit SPEN.
F
RC7/RX/DT
SDI/SDA/SEG8
OSC
SETTING UP 9-BIT MODE WITH
ADDRESS DETECT
Baud Rate Generator
x64 Baud Rate CLK
USART RECEIVE BLOCK DIAGRAM
SPBRG
and Control
Pin Buffer
SPEN
RSR<8>
ADDEN
ADDEN
RX9
RX9
Recovery
Interrupt
Data
or
64
16
Preliminary
CREN
Enable
Load of
Receive
Buffer
RCIF
RCIE
• Flag bit RCIF will be set when reception is
• Read the RCSTA register to get the ninth bit and
• Read the 8-bit received data by reading the
• If any error occurred, clear the error by clearing
• If the device has been addressed, clear the
RX9
complete, and an interrupt will be generated if
enable bit RCIE was set.
determine if any error occurred during reception.
RCREG register to determine if the device is
being addressed.
enable bit CREN.
ADDEN bit to allow data bytes and address bytes
to be read into the receive buffer and interrupt the
CPU.
Stop
MSb
RX9D
(8)
OERR
7
RSR Register
RCREG Register
8
Data Bus
© 2005 Microchip Technology Inc.
8
8
1
FERR
0
LSb
Start
FIFO

Related parts for PIC16F913-I/SP