PIC17C43-25I/PT Microchip Technology, PIC17C43-25I/PT Datasheet - Page 80

IC MCU OTP 4KX16 PWM 44TQFP

PIC17C43-25I/PT

Manufacturer Part Number
PIC17C43-25I/PT
Description
IC MCU OTP 4KX16 PWM 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 17Cr

Specifications of PIC17C43-25I/PT

Core Processor
PIC
Core Size
8-Bit
Speed
25MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
33
Program Memory Size
8KB (4K x 16)
Program Memory Type
OTP
Ram Size
454 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
For Use With
AC164315 - MODULE SKT MPLAB PM3 44TQFP309-1008 - ADAPTER 44-TQFP TO 40-DIPAC174005 - MODULE SKT PROMATEII 44TQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C43-25I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC17C4X
12.2.3
When TMR3CS is set, the 16-bit TMR3 increments on
the falling edge of clock input TCLK3. The input on the
RB5/TCLK3 pin is sampled and synchronized by the
internal phase clocks twice every instruction cycle. This
causes a delay from the time a falling edge appears on
TCLK3 to the time TMR3 is actually incremented. For
the external clock input timing requirements, see the
Electrical Specification section. Figure 12-9 shows the
timing diagram when operating from an external clock.
12.2.4
Since Timer3 is a 16-bit timer and only 8-bits at a time
can be read or written, care should be taken when
reading or writing while the timer is running. The best
method to read or write the timer is to stop the timer,
perform any read or write operation, and then restart
Timer3 (using the TMR3ON bit). However, if it is neces-
sary to keep Timer3 free-running, care must be taken.
For writing to the 16-bit TMR3, Example 12-2 may be
used. For reading the 16-bit TMR3, Example 12-3 may
be used. Interrupts must be disabled during this rou-
tine.
FIGURE 12-9: TMR1, TMR2, AND TMR3 OPERATION IN EXTERNAL CLOCK MODE
DS30412C-page 80
PR1, PR2, or PR3H:PR3L
TMR1, TMR2, or TMR3
EXTERNAL CLOCK INPUT FOR TIMER3
READING/WRITING TIMER3
Instruction
executed
Read_TMR
WR_TMR
TCLK12
TMRxIF
Note 1: TCLK12 is sampled in Q2 and Q4.
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
'A9h'
34h
3: The latency from TCLK12
indicates a sampling point.
Write to TMRx
MOVWF
TMRx
35h
Read TMRx
MOVFP
TMRx,W
A8h
EXAMPLE 12-2: WRITING TO TMR3
BSF
MOVFP RAM_L,
MOVFP RAM_H,
BCF
EXAMPLE 12-3: READING FROM TMR3
MOVPF
MOVPF
MOVFP
CPFSLT
RETURN
MOVPF
MOVPF
RETURN
to timer increment is between 2Tosc and 6Tosc.
Read TMRx
MOVFP
TMRx,W
CPUSTA, GLINTD ;Disable interrupt
CPUSTA, GLINTD ;Done,enable interrupt
TMR3L, TMPLO
TMR3H, TMPHI
TMPLO, WREG
TMR3L, WREG
TMR3L, TMPLO
TMR3H, TMPHI
A9h
TMR3L
TMR3H
;
;
1996 Microchip Technology Inc.
;read low tmr0
;read high tmr0
;tmplo
;tmr0l < wreg?
;no then return
;read low tmr0
;read high tmr0
;return
'A9h'
00h
wreg

Related parts for PIC17C43-25I/PT