PIC16C923-08/SP Microchip Technology, PIC16C923-08/SP Datasheet - Page 53
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC16C923-08/SP
Manufacturer Part Number
PIC16C923-08/SP
Description
IC MCU 64 LD 8MHZ 4K OTP 64-SDIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets
1.PIC16F818-ISO.pdf
(6 pages)
2.PIC16C923-04L.pdf
(189 pages)
3.PIC16C923-04L.pdf
(10 pages)
Specifications of PIC16C923-08/SP
Core Processor
PIC
Core Size
8-Bit
Speed
8MHz
Connectivity
I²C, SPI
Peripherals
LCD, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
64-SDIP (0.750", 19.05mm)
For Use With
AC164025 - MODULE SKT PROMATEII 64DIPDVA16XP640 - ADAPTER DEVICE FOR MPLAB-ICE
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Eeprom Size
-
Data Converters
-
- Current page: 53 of 189
- Download datasheet (2Mb)
8.3
If control bit T1SYNC (T1CON<2>) is set, the external
clock input is not synchronized. The timer continues to
increment asynchronous 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 soft-
ware are needed to read-from or write-to the Timer1
register pair (TMR1H:TMR1L) (Section 8.3.2).
In asynchronous counter mode, Timer1 cannot be used
as a time-base for capture or compare operations.
8.3.1
If control bit T1SYNC is set, the timer will increment
completely asynchronously. The input clock must meet
certain minimum high time and low time requirements,
as specified in timing parameters 45, 46, and 47.
8.3.2
Reading TMR1H or TMR1L while the timer is running,
from an external asynchronous clock, will ensure 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 conten-
tion may occur by writing to the timer registers while the
register is incrementing. This may produce an unpre-
dictable value in the timer register.
Reading the 16-bit value requires some care.
Example 8-1 is an example routine to read the 16-bit
timer value. This is useful if the timer cannot be
stopped.
1997 Microchip Technology Inc.
Timer1 Operation in Asynchronous
Counter Mode
EXTERNAL CLOCK INPUT TIMING WITH
UNSYNCHRONIZED CLOCK
READING AND WRITING TMR1 IN
ASYNCHRONOUS COUNTER MODE
EXAMPLE 8-1:
; All interrupts are disabled
;
; TMR1L may have rolled over between the read
; of the high and low bytes. Reading the high
; and low bytes now will read a good value.
;
; Re-enable the Interrupt (if required)
CONTINUE
8.4
A crystal oscillator circuit is built in between pins T1OSI
(input) and T1OSO (amplifier output). It is enabled by
setting control bit T1OSCEN (T1CON<3>). The oscilla-
tor is a low power oscillator rated up to 200 kHz. It will
continue to run during SLEEP. It is primarily intended
for a 32 kHz crystal. Table 8-1 shows the capacitor
selection for the Timer1 oscillator.
The Timer1 oscillator is identical to the LP oscillator.
The user must provide a software time delay to ensure
proper oscillator start-up.
TABLE 8-1: CAPACITOR SELECTION FOR
Crystals Tested:
32.768 kHz
100 kHz
200 kHz
Note 1: Higher capacitance increases the stability
Osc Type
MOVF
MOVWF
MOVF
MOVWF
MOVF
SUBWF
BTFSC
GOTO
MOVF
MOVWF
MOVF
MOVWF
LP
These values are for design guidance only.
2: Since each resonator/crystal has its own
Timer1 Oscillator
of oscillator but also increases the start-up
time.
characteristics, the user should consult the
resonator/crystal manufacturer for appropri-
ate values of external components.
TMR1H, W
TMPH
TMR1L, W
TMPL
TMR1H, W
TMPH,
STATUS,Z
CONTINUE
TMR1H, W
TMPH
TMR1L, W
TMPL
Epson C-001R32.768K-A
Epson C-2 100.00 KC-P
STD XTL 200.000 kHz
THE TIMER1 OSCILLATOR
100 kHz
200 kHz
32 kHz
Freq
READING A 16-BIT
FREE-RUNNING TIMER
W
;Read high byte
;
;Read low byte
;
;Read high byte
;Sub 1st read
; with 2nd read
;Is result = 0
;Good 16-bit read
;Read high byte
;
;Read low byte
;
;Continue with your code
PIC16C9XX
33 pF
15 pF
15 pF
C1
DS30444E - page 53
33 pF
15 pF
15 pF
20 PPM
20 PPM
20 PPM
C2
Related parts for PIC16C923-08/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C923-04/L](/photos/12/13/121323/c04-049_l_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 LCD DVR 68PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C923-04I/L](/photos/12/13/121323/c04-049_l_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 LCD DVR 68PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C923-04/SP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MICRO CTRL LCD DRIVER 64DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C923-04I/SP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU 64 LD 4MHZ 4K OTP 64-SDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C923-08/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 LCD DVR 64TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C923-04/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 LCD DVR 64TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C923-04I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 LCD DVR 64TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C923-08I/L](/photos/12/13/121323/c04-049_l_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 LCD DVR 68PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C923-08I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 LCD DVR 64TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C923-08I/SP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU 64 LD 8MHZ 4K OTP 64-SDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C923-08/L](/photos/12/13/121323/c04-049_l_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 LCD DVR 68PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C923-04/CL](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontroller with LCD Driver
Manufacturer:
Microchip Technology
![PIC16C923-04I/CL](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontroller with LCD Driver
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C923-08/CL](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
8-Bit CMOS Microcontroller with LCD Driver
Manufacturer:
Microchip Technology
![PIC16C54-HS/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16C, 40MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet: