PIC16C57-XTI/SP Microchip Technology, PIC16C57-XTI/SP Datasheet - Page 42
![IC MCU OTP 2KX12 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC16C57-XTI/SP
Manufacturer Part Number
PIC16C57-XTI/SP
Description
IC MCU OTP 2KX12 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C57-XTI/SP
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
20
Program Memory Size
3KB (2K x 12)
Program Memory Type
OTP
Ram Size
72 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 6.25 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
72 B
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
20
Number Of Timers
8
Operating Supply Voltage
2 V to 6.25 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
- 40 C
For Use With
DVA16XP280 - ADAPTER DEVICE FOR MPLAB-ICE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Details
- Current page: 42 of 194
- Download datasheet (3Mb)
PIC16C5X
8.2
An 8-bit counter is available as a prescaler for the
Timer0 module, or as a postscaler for the Watchdog
Timer (WDT), respectively (Section 9.2.1). For simplic-
ity, this counter is being referred to as “prescaler”
throughout this data sheet. Note that the prescaler may
be used by either the Timer0 module or the WDT, but
not both. Thus, a prescaler assignment for the Timer0
module means that there is no prescaler for the WDT,
and vice-versa.
The PSA and PS<2:0> bits (OPTION<3:0>) determine
prescaler assignment and prescale ratio.
When assigned to the Timer0 module, all instructions
writing
MOVWF 1, BSF 1,x, etc.) will clear the prescaler.
When assigned to WDT, a CLRWDT instruction will clear
the prescaler along with the WDT. The prescaler is nei-
ther readable nor writable. On a RESET, the prescaler
contains all '0's.
8.2.1
The prescaler assignment is fully under software con-
trol (i.e., it can be changed “on the fly” during program
execution). To avoid an unintended device RESET, the
following instruction sequence (Example 8-1) must be
executed when changing the prescaler assignment
from Timer0 to the WDT.
DS30453D-page 40
to
Prescaler
SWITCHING PRESCALER
ASSIGNMENT
the
TMR0
register
(e.g.,
CLRF 1,
Preliminary
EXAMPLE 8-1:
To change prescaler from the WDT to the Timer0 mod-
ule, use the sequence shown in Example 8-2. This
sequence must be used even if the WDT is disabled. A
CLRWDT instruction should be executed before switch-
ing the prescaler.
EXAMPLE 8-2:
CLRWDT
MOVLW
OPTION
CLRWDT
CLRF
MOVLW
OPTION
CLRWDT
MOVLW
OPTION
B'xxxx0xxx'
TMR0
B'00xx1111’ ;Last 3 instructions in
B'00xx1xxx’ ;Set Prescaler to
(TIMER0 WDT)
(WDT TIMER0)
CHANGING PRESCALER
CHANGING PRESCALER
2002 Microchip Technology Inc.
;are required only if
;Clear WDT
;Clear TMR0 & Prescaler
;PS<2:0> are 000 or
;001
;Clear WDT and
;prescaler
;Select TMR0, new
;prescale value and
;clock source
;desired
;desired WDT rate
this example
Related parts for PIC16C57-XTI/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C57-RCI/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,28PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-RC/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-RC/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-XT/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-XTI/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-HS/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-HSI/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-RCI/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-RCI/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-XT/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-XT/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-HSI/P](/photos/7/29/72985/150-28-dip_wide_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-HSE/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX12 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C57-HS/SP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,28PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet: