PIC16LF1507-E/SO Microchip Technology, PIC16LF1507-E/SO Datasheet - Page 140

3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SOIC .300in TUBE

PIC16LF1507-E/SO

Manufacturer Part Number
PIC16LF1507-E/SO
Description
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 SOIC .300in TUBE
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheet

Specifications of PIC16LF1507-E/SO

Processor Series
PIC16
Core
PIC16F
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
3.5 KB
Data Ram Size
128 B
Interface Type
ICSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
18
Number Of Timers
3
Operating Supply Voltage
2.3 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
Package / Case
SOIC-20
Minimum Operating Temperature
- 40 C
Operating Temperature Range
- 40 C to + 125 C
Supply Current (max)
30 uA
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
-
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Eeprom Size
-
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Lead Free Status / Rohs Status
 Details
17.1
The Timer1 module is a 16-bit incrementing counter
which is accessed through the TMR1H:TMR1L register
pair. Writes to TMR1H or TMR1L directly update the
counter.
When used with an internal clock source, the module is
a timer and increments on every instruction cycle.
When used with an external clock source, the module
can be used as either a timer or counter and incre-
ments on every selected edge of the external source.
Timer1 is enabled by configuring the TMR1ON and
TMR1GE bits in the T1CON and T1GCON registers,
respectively.
selections.
TABLE 17-1:
TABLE 17-2:
 2011 Microchip Technology Inc.
TMR1ON
0
0
1
1
1
1
0
0
Timer1 Operation
TMR1CS<1:0>
Table 17-1
TIMER1 ENABLE
SELECTIONS
CLOCK SOURCE SELECTIONS
TMR1GE
displays the Timer1 enable
0
1
0
1
1
0
1
0
Off
Off
Always On
Count Enabled
Operation
T1OSCEN
Timer1
x
0
x
x
Preliminary
LFINTOSC
External Clocking on T1CKI Pin
System Clock (F
Instruction Clock (F
17.2
The TMR1CS<1:0> bits of the T1CON register are used
to select the clock source for Timer1.
displays the clock source selections.
17.2.1
When the internal clock source is selected the
TMR1H:TMR1L register pair will increment on multiples
of F
When the F
Timer1 register value will increment by four counts every
instruction clock cycle. Due to this condition, a 2 LSB
error in resolution will occur when reading the Timer1
value. To utilize the full resolution of Timer1, an
asynchronous input signal must be used to gate the
Timer1 clock input.
The following asynchronous sources may be used:
• Asynchronous event on the T1G pin to Timer1
17.2.2
When the external clock source is selected, the Timer1
module may work as a timer or a counter.
When enabled to count, Timer1 is incremented on the
rising edge of the external clock input T1CKI. The
external clock source can be synchronized to the
microcontroller
asynchronously.
gate
Note:
OSC
as determined by the Timer1 prescaler.
OSC
Clock Source Selection
OSC
• Timer1 enabled after POR
• Write to TMR1H or TMR1L
• Timer1 is disabled
• Timer1 is disabled (TMR1ON = 0)
INTERNAL CLOCK SOURCE
EXTERNAL CLOCK SOURCE
In Counter mode, a falling edge must be
registered by the counter prior to the first
incrementing rising edge after any one or
more of the following conditions:
OSC
)
when T1CKI is high then Timer1 is
enabled (TMR1ON=1) when T1CKI is
low.
/4)
Clock Source
PIC16(L)F1507
internal clock source is selected, the
system
clock
DS41586A-page 140
or
it
Table 17-2
can
run

Related parts for PIC16LF1507-E/SO