PIC16C433-I/P Microchip Technology, PIC16C433-I/P Datasheet - Page 43

IC MCU CMOS 8BIT 10MHZ 2K 18-DIP

PIC16C433-I/P

Manufacturer Part Number
PIC16C433-I/P
Description
IC MCU CMOS 8BIT 10MHZ 2K 18-DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C433-I/P

Core Processor
PIC
Core Size
8-Bit
Speed
10MHz
Connectivity
LIN (Local Interconnect Network)
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
18-DIP (0.300", 7.62mm)
For Use With
DVA16XP185 - ADAPTER DEVICE ICE 18DIP/SOICAC164030 - MODULE SKT PROMATEII 28DIP/SOICDVA16XP140 - ADAPTER DEVICE FOR MPLAB-ICE
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
7.3.1
The prescaler assignment is fully under software con-
trol (i.e., it can be changed “on-the-fly” during program
execution).
EXAMPLE 7-1:
TABLE 7-1:
 2002 Microchip Technology Inc.
Address Name
01h
0Bh/8Bh INTCON
81h
85h
Legend: x = unknown, u = unchanged, - = unimplemented locations read as '0'. Shaded cells are not used by Timer0.
BCF
CLRF
BSF
CLRWDT
MOVLW
MOVWF
BCF
Note:
SWITCHING PRESCALER ASSIGNMENT
b'xxxx1xxx'
OPTION_REG
STATUS, RP0
STATUS, RP0
TMR0
STATUS, RP0
TMR0
OPTION GPPU INTEDG
TRIS
To avoid an unintended device RESET, the
following instruction sequence (shown in
Example 7-1) must be executed when
changing the prescaler assignment from
Timer0 to the WDT. This sequence must
be followed even if the WDT is disabled.
REGISTERS ASSOCIATED WITH TIMER0
Timer0 Module’s Register
Bit 7
GIE
Changing Prescaler
(Timer0 → WDT)
;Bank 0
;Clear TMR0 & Prescaler
;Bank 1
;Clears WDT
;Select new prescale
;value & WDT
;Bank 0
PEIE
Bit 6
TRIS5
T0CS
Bit 5
T0IE
TRIS4
T0SE
INTE
Bit 4
Preliminary
TRIS3
GPIE
Bit 3
PSA
To change prescaler from the WDT to the Timer0 mod-
ule, use the sequence shown in Example 7-2.
EXAMPLE 7-2:
CLRWDT
BSF
MOVLW
MOVWF
BCF
TRIS2
Bit 2
T0IF
PS2
STATUS, RP0
b'xxxx0xxx'
OPTION_REG
STATUS, RP0
TRIS1
INTF
Bit 1
PS1
CHANGING PRESCALER
(WDT → TIMER0)
TRIS0
GPIF
Bit 0
PS0
;Clear WDT and
;prescaler
;Bank 1
;Select TMR0, new
;prescale value and
;clock source
;Bank 0
PIC16C433
xxxx xxxx
0000 000x
1111 1111
--11 1111
Value on
POR
DS41139B-page 41
uuuu uuuu
0000 000u
1111 1111
--11 1111
Value on
all other
RESETS

Related parts for PIC16C433-I/P