PIC16F887-E/PT Microchip Technology, PIC16F887-E/PT Datasheet - Page 165
![IC PIC MCU FLASH 8KX14 44TQFP](/photos/6/82/68251/c04-076_pt_sml.jpg)
PIC16F887-E/PT
Manufacturer Part Number
PIC16F887-E/PT
Description
IC PIC MCU FLASH 8KX14 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.MCP1631RD-MCC2.pdf
(328 pages)
3.PIC16F882-ISS.pdf
(16 pages)
4.PIC16F882-ISS.pdf
(36 pages)
5.PIC16F883-ISO.pdf
(288 pages)
Specifications of PIC16F887-E/PT
Program Memory Type
FLASH
Program Memory Size
14KB (8K x 14)
Package / Case
44-TQFP, 44-VQFP
Mfg Application Notes
Intro to Capacitive Sensing Appl Notes Layout and Physical Design Appl Note
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
35
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
368 B
Interface Type
MSSP/EUSART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
35
Number Of Timers
3
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 53273-916
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM164123, DM164120-3, DV164122
Minimum Operating Temperature
- 40 C
On-chip Adc
14-ch x 10-bit
Package
44TQFP
Device Core
PIC
Family Name
PIC16
Maximum Speed
20 MHz
Operating Supply Voltage
2.5|3.3|5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM164125 - BOARD DEMO PICDEM TOUCH SENSE 1
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F887-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
- PIC16F616T-ISL PDF datasheet
- MCP1631RD-MCC2 PDF datasheet #2
- PIC16F882-ISS PDF datasheet #3
- PIC16F882-ISS PDF datasheet #4
- PIC16F883-ISO PDF datasheet #5
- Current page: 165 of 328
- Download datasheet (6Mb)
12.3
The Baud Rate Generator (BRG) is an 8-bit or 16-bit
timer that is dedicated to the support of both the
asynchronous and synchronous EUSART operation.
By default, the BRG operates in 8-bit mode. Setting the
BRG16 bit of the BAUDCTL register selects 16-bit
mode.
The SPBRGH, SPBRG register pair determines the
period of the free running baud rate timer. In
Asynchronous mode the multiplier of the baud rate
period is determined by both the BRGH bit of the TXSTA
register and the BRG16 bit of the BAUDCTL register. In
Synchronous mode, the BRGH bit is ignored.
Table 12-3 contains the formulas for determining the
baud rate. Example 12-1 provides a sample calculation
for determining the baud rate and baud rate error.
Typical baud rates and error values for various
asynchronous modes have been computed for your
convenience and are shown in Table 12-3. It may be
advantageous to use the high baud rate (BRGH = 1),
or the 16-bit BRG (BRG16 = 1) to reduce the baud rate
error. The 16-bit BRG mode is used to achieve slow
baud rates for fast oscillator frequencies.
Writing a new value to the SPBRGH, SPBRG register
pair causes the BRG timer to be reset (or cleared). This
ensures that the BRG does not wait for a timer overflow
before outputting the new baud rate.
TABLE 12-3:
TABLE 12-4:
© 2009 Microchip Technology Inc.
Legend:
BAUDCTL ABDOVF
RCSTA
SPBRG
SPBRGH
TXSTA
Legend:
Name
SYNC
0
0
0
0
1
1
EUSART Baud Rate Generator
(BRG)
x = Don’t care, n = value of SPBRGH, SPBRG register pair
x = unknown, - = unimplemented read as ‘0’. Shaded cells are not used for the Baud Rate Generator.
BRG15
Configuration Bits
CSRC
SPEN
BRG7
Bit 7
BAUD RATE FORMULAS
REGISTERS ASSOCIATED WITH THE BAUD RATE GENERATOR
BRG16
0
0
1
1
0
1
BRG14
RCIDL
BRG6
Bit 6
RX9
TX9
BRG13
SREN
BRG5
BRGH
TXEN
Bit 5
—
0
1
0
1
x
x
BRG12
CREN
SCKP
BRG4
SYNC
Bit 4
PIC16F882/883/884/886/887
ADDEN
SENDB
BRG16
BRG11
BRG/EUSART Mode
16-bit/Asynchronous
16-bit/Asynchronous
BRG3
16-bit/Synchronous
8-bit/Asynchronous
8-bit/Asynchronous
Bit 3
8-bit/Synchronous
BRG10
BRGH
FERR
BRG2
If the system clock is changed during an active receive
operation, a receive error or data loss may result. To
avoid this problem, check the status of the RCIDL bit to
make sure that the receive operation is Idle before
changing the system clock.
EXAMPLE 12-1:
Bit 2
Calculated Baud Rate
For a device with F
of 9600, Asynchronous mode, 8-bit BRG:
Solving for SPBRGH:SPBRG:
—
Desired Baud Rate
OERR
BRG1
BRG9
TRMT
WUE
Bit 1
Error
X
ABDEN
BRG0
BRG8
RX9D
TX9D
OSC
Bit 0
=
=
=
=
=
=
=
=
CALCULATING BAUD
RATE ERROR
Calc. Baud Rate Desired Baud Rate
------------------------------------------------------------------------------------------- -
-------------------------------------------------------------------- -
64 [SPBRGH:SPBRG]
--------------------------------------------- 1
[
9615
(
----------------------------------
-------------------------------------------- -
Desired Baud Rate
16000000
----------------------- -
----------------------- - 1
-------------------------- -
64 25
16000000
25.042
9615 9600
of 16 MHz, desired baud rate
9600
(
(
64
Baud Rate Formula
9600
01-0 0-00
0000 000x
0000 0000
0000 0000
0000 0010
F
–
+
POR, BOR
F
F
F
Value on
]
O S C
64
Desired Baud Rate
OSC
OSC
1
OSC
=
)
–
F
25
/[64 (n+1)]
/[16 (n+1)]
OS C
/[4 (n+1)]
)
DS41291F-page 163
=
–
0.16%
–
01-0 0-00
0000 000x
0000 0000
0000 0000
0000 0010
+
Value on
all other
Resets
1
)
Related parts for PIC16F887-E/PT
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F887-I/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 8KX14 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F887-I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 8KX14 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F887](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
(PIC16F882 - PIC16F887) Enhanced Flash-Based 8-Bit CMOS Microcontrollers
Manufacturer:
Microchip Technology
![PIC16F887-I/ML](/photos/6/81/68122/150-44-qfn_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 8KX14 44QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F887-E/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 8KX14 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F887-E/ML](/photos/6/81/68122/150-44-qfn_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,44PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F88](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![PIC16F88-I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F88-I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F88-I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F88-I/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 28QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F88-E/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F88-E/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,28PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F88-I/SOG](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 4KX14 18SOIC
Manufacturer:
Microchip Technology
![PIC16F88-E/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 4KX14 EEPROM 18SOIC
Manufacturer:
Microchip Technology
Datasheet: