PIC16C923-08/SP Microchip Technology, PIC16C923-08/SP Datasheet - Page 45
![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: 45 of 189
- Download datasheet (2Mb)
7.0
The Timer0 module has the following features:
• 8-bit timer/counter
• Readable and writable
• 8-bit software programmable prescaler
• Internal or external clock select
• Interrupt on overflow from FFh to 00h
• Edge select for external clock
Figure 7-1 is a simplified block diagram of the Timer0
module.
Timer mode is selected by clearing bit T0CS
(OPTION<5>). In timer mode, the Timer0 module will
increment every instruction cycle (without prescaler). If
the TMR0 register is written, the increment is inhibited
for the following two instruction cycles (Figure 7-2 and
Figure 7-3). The user can work around this by writing
an adjusted value to the TMR0 register.
Counter mode is selected by setting bit T0CS
(OPTION<5>). In counter mode Timer0 will increment
either on every rising or falling edge of pin RA4/T0CKI.
The incrementing edge is determined by the Timer0
Source Edge Select bit T0SE (OPTION<4>). Clearing
FIGURE 7-1: TIMER0 BLOCK DIAGRAM
FIGURE 7-2: TIMER0 TIMING: INTERNAL CLOCK/NO PRESCALE
1997 Microchip Technology Inc.
RA4/T0CKI
pin
Instruction
TMR0
PC
(Program
Counter)
Fetch
Instruction
Executed
Note 1: T0CS, T0SE, PSA, PS2:PS0 (OPTION<5:0>).
TIMER0 MODULE
2: The prescaler is shared with Watchdog Timer (refer to Figure 7-6 for detailed block diagram).
T0SE
Q1 Q2 Q3 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 Q1 Q2 Q3 Q4
T0
F
OSC
PC-1
/4
MOVWF TMR0
T0+1
T0CS
PC
0
1
MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W
PS2, PS1, PS0
Write TMR0
executed
T0+2
Programmable
PC+1
Prescaler
3
NT0
Read TMR0
reads NT0
PC+2
PSA
1
0
bit T0SE selects the rising edge. Restrictions on the
external clock input are discussed in detail in
Section 7.2.
The prescaler is mutually exclusively shared between
the Timer0 module and the Watchdog Timer. The pres-
prescaler to the Timer0 module. The prescaler is not
readable or writable. When the prescaler is assigned to
the Timer0 module, prescale values of 1:2, 1:4, ...,
7.1
The TMR0 interrupt is generated when the TMR0 reg-
ister overflows from FFh to 00h. This overflow sets bit
T0IF (INTCON<2>). The interrupt can be masked by
clearing bit T0IE (INTCON<5>). Bit T0IF must be
cleared in software by the Timer0 module interrupt ser-
vice routine before re-enabling this interrupt. The TMR0
interrupt cannot awaken the processor from SLEEP
since the timer is shut off during SLEEP. Figure 7-4 dis-
plays the Timer0 interrupt timing.
caler assignment is controlled in software by control bit
PSA (OPTION<3>). Clearing bit PSA will assign the
1:256 are selectable. Section 7.3 details the operation
of the prescaler.
PSout
Read TMR0
reads NT0
NT0
PC+3
(2 cycle delay)
Sync with
Timer0 Interrupt
Internal
clocks
MOVF TMR0,W
Read TMR0
reads NT0
NT0
PC+4
PSout
PIC16C9XX
MOVF TMR0,W
Read TMR0
reads NT0 + 1
NT0+1
Data bus
TMR0
PC+5
DS30444E - page 45
8
Set interrupt
Read TMR0
reads NT0 + 2
flag bit T0IF
on overflow
NT0+2
PC+6
T0
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: