PIC16F1526T-I/PT Microchip Technology, PIC16F1526T-I/PT Datasheet - Page 172

no-image

PIC16F1526T-I/PT

Manufacturer Part Number
PIC16F1526T-I/PT
Description
64-pin, 14KB Flash, 768B RAM, 10-bit ADC, 10xCCP, 2xSPI, 2xMI2C, 2xEUSART, 2.3V-
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheet

Specifications of PIC16F1526T-I/PT

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
54
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
-
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2.3 V ~ 5.5 V
Data Converters
A/D 30x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F1526T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16F1526T-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16(L)F1526/27
18.6.6
When Timer1/3/5 Gate Event Interrupt is enabled, it is
possible to generate an interrupt upon the completion
of a gate event. When the falling edge of TxGVAL
occurs, the TMRxGIF flag bit in the PIR1 register will be
set. If the TMRxGIE bit in the PIE1 register is set, then
an interrupt will be recognized.
The TMRxGIF flag bit operates even when the
Timer1/3/5 gate is not enabled (TMRxGE bit is
cleared).
18.7
The Timer1/3/5 register pair (TMRxH:TMRxL) incre-
ments to FFFFh and rolls over to 0000h. When
Timer1/3/5 rolls over, the Timer1/3/5 interrupt flag bit of
the PIR1 register is set. To enable the interrupt on roll-
over, you must set these bits:
• TMRxON bit of the TxCON register
• TMRxIE bit of the PIE1 register
• PEIE bit of the INTCON register
• GIE bit of the INTCON register
The interrupt is cleared by clearing the TMRxIF bit in
the Interrupt Service Routine.
18.8
Timer1/3/5 can only operate during Sleep when setup
in Asynchronous Counter mode. In this mode, an exter-
nal crystal or clock source can be used to increment the
counter. To set up the timer to wake the device:
• TMRxON bit of the TxCON register must be set
• TMRxIE bit of the PIE1 register must be set
• PEIE bit of the INTCON register must be set
• TxSYNC bit of the TxCON register must be set
• TMRxCS bits of the TxCON register must be
• SOSCEN bit of the TxCON register must be
The device will wake-up on an overflow and execute
the next instructions. If the GIE bit of the INTCON
register is set, the device will call the Interrupt Service
Routine.
Timer1/3/5 oscillator will continue to operate in Sleep
regardless of the TxSYNC bit setting.
DS41458B-page 172
Note:
configured
configured
Timer1/3/5 Interrupt
Timer1/3/5 Operation During Sleep
TIMER1/3/5 GATE EVENT
INTERRUPT
The TMRxH:TMRxL register pair and the
TMRxIF bit should be cleared before
enabling interrupts.
Preliminary
18.9
The CCP module uses the TMRxH:TMRxL register pair
as the time base when operating in Capture or Com-
pare mode.
In Capture mode, the value in the TMRxH:TMRxL
register pair is copied into the CCPR1H:CCPR1L
register pair on a configured event.
In Compare mode, an event is triggered when the value
CCPR1H:CCPR1L register pair matches the value in
the TMRxH:TMRxL register pair. This event can be a
Special Event Trigger.
For
“Capture/Compare/PWM Modules”
18.10 ECCP/CCP Special Event Trigger
When the CCP is configured to trigger a special event,
the trigger will clear the TMRxH:TMRxL register pair.
This special event does not cause a Timer1/3/5 inter-
rupt. The CCP module may still be configured to gener-
ate a CCP interrupt.
In this mode of operation, the CCPR1H:CCPR1L
register pair
Timer1/3/5.
Timer1/3/5 should be synchronized and F
be selected as the clock source in order to utilize the
Special Event Trigger. Asynchronous operation of
Timer1/3/5 can cause a Special Event Trigger to be
missed.
In the event that a write to TMRxH or TMRxL coincides
with a Special Event Trigger from the CCP, the write will
take precedence.
For more information, see
Event Trigger”
more
ECCP/CCP Capture/Compare Time
Base
.
becomes the
information,
 2011 Microchip Technology Inc.
Section 16.2.5 “Special
period
see
.
Section 20.0
OSC
register
/4 should
for

Related parts for PIC16F1526T-I/PT