PIC16F76-I/ML Microchip Technology, PIC16F76-I/ML Datasheet - Page 185

IC MCU FLASH 8KX14 A/D 28QFN

PIC16F76-I/ML

Manufacturer Part Number
PIC16F76-I/ML
Description
IC MCU FLASH 8KX14 A/D 28QFN
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F76-I/ML

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
22
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
368 B
Interface Type
I2C, SPI, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
22
Number Of Timers
3 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
- 40 C
On-chip Adc
5 bit
For Use With
XLT28QFN4 - SOCKET TRANS ICE 28QFN W/CABLEAC164322 - MODULE SOCKET MPLAB PM3 28/44QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
Other names
PIC16F76-I/MLR
PIC16F76-I/MLR
PIC16F76I/ML
12.5
12.5.1
12.5.2
1997 Microchip Technology Inc.
External Clock Input Timing with Unsynchronized Clock
Reading and Writing Timer1 in Asynchronous Counter Mode
Timer1 Operation in Asynchronous Counter Mode
If T1SYNC (T1CON<2>) is set, the external clock input is not synchronized. The timer continues
to increment asynchronously to the internal phase clocks. The timer will continue to run during
SLEEP and can generate an interrupt on overflow which will wake-up the processor. However,
special precautions in software are needed to read/write the timer (Subsection
and Writing Timer1 in Asynchronous Counter
sleep, Timer1 can be used to implement a true real-time clock.
In asynchronous counter mode, Timer1 cannot be used as a time-base for capture or compare
operations.
If the T1SYNC control bit is set, the timer will increment completely asynchronously. The input
clock must meet certain minimum high time and low time requirements. Refer to the Device Data
Sheet Electrical Specifications Section, timing
Reading TMR1H or TMR1L while the timer is running from an external asynchronous clock, will
guarantee a valid read (taken care of in hardware). However, the user should keep in mind that
reading the 16-bit timer in two 8-bit values itself poses certain problems since the timer may
overflow between the reads.
For writes, it is recommended that the user simply stop the timer and write the desired values. A
write contention may occur by writing to the timer registers while the register is incrementing. This
may produce an unpredictable value in the timer register.
Reading the 16-bit value requires some care, since two separate reads are required to read the
entire 16-bits.
register.
Example 12-1:
04FFh
0500h
0501h
0502h
TMR1
Example 12-1
Reading 16-bit Register Issues
READ TMR1L
Store in TMPL
READ TMR1H
Store in TMPH
Action
shows why this may not be a straight forward read of the 16-bit
Sequence 1
TMPH:TMPL
05FFh
xxFFh
xxFFh
xxxxh
Section 12. Timer1
parameters
Mode”). Since the counter can operate in
45, 46, and 47.
READ TMR1H
Store in TMPH
READ TMR1L
Store in TMPL
Action
Sequence 2
DS31012A-page 12-5
12.5.2 “Reading
TMPH:TMPL
0401h
04xxh
04xxh
xxxxh
12

Related parts for PIC16F76-I/ML