PIC17C42A-16/P Microchip Technology, PIC17C42A-16/P Datasheet - Page 49
![IC MCU OTP 2KX16 PWM 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC17C42A-16/P
Manufacturer Part Number
PIC17C42A-16/P
Description
IC MCU OTP 2KX16 PWM 40DIP
Manufacturer
Microchip Technology
Series
PIC® 17Cr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC17C42A-16P.pdf
(241 pages)
3.PIC17C42A-16P.pdf
(4 pages)
Specifications of PIC17C42A-16/P
Core Size
8-Bit
Program Memory Size
4KB (2K x 16)
Core Processor
PIC
Speed
16MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
33
Program Memory Type
OTP
Ram Size
232 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Controller Family/series
PIC17
No. Of I/o's
33
Ram Memory Size
232Byte
Cpu Speed
16MHz
No. Of Timers
4
No. Of Pwm Channels
2
Embedded Interface Type
USART
Rohs Compliant
Yes
Processor Series
PIC17C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
232 B
Interface Type
SCI, USART
Maximum Clock Frequency
16 MHz
Number Of Programmable I/os
33
Number Of Timers
4
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA17XP401 - DEVICE ADAPTER FOR PIC17C42AAC174001 - MODULE SKT PROMATEII 40DIP
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
Details
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC17C42A-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
MICROCH
Quantity:
20 000
Company:
Part Number:
PIC17C42A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
8.0
All PIC17C4X devices except the PIC17C42, have an
8 x 8 hardware multiplier included in the ALU of the
device. By making the multiply a hardware operation, it
completes in a single instruction cycle. This is an
unsigned multiply that gives a 16-bit result. The result
is
(PRODH:PRODL). The multiplier does not affect any
flags in the ALUSTA register.
Making the 8 x 8 multiplier execute in a single cycle
gives the following advantages:
• Higher computational throughput
• Reduces code size requirements for multiply
The performance increase allows the device to be used
in applications previously reserved for Digital Signal
Processors.
Table 8-1 shows a performance comparison between
the PIC17C42 and all other PIC17CXX devices, which
have the single cycle hardware multiply.
Example 8-1 shows the sequence to do an 8 x 8
unsigned multiply. Only one instruction is required
when one argument of the multiply is already loaded in
the WREG register.
TABLE 8-1:
8 x 8 unsigned
8 x 8 signed
16 x 16 unsigned
16 x 16 signed
1996 Microchip Technology Inc.
algorithms
stored
Routine
HARDWARE MULTIPLIER
into
PERFORMANCE COMPARISON
the
PIC17C42
All other PIC17CXX devices
PIC17C42
All other PIC17CXX devices
PIC17C42
All other PIC17CXX devices
PIC17C42
All other PIC17CXX devices
16-bit
This document was created with FrameMaker 4 0 4
Device
PRODuct
register
Program Memory
(Words)
13
21
24
52
36
—
1
6
Example 8-2 shows the sequence to do an 8 x 8 signed
multiply. To account for the sign bits of the arguments,
each argument’s most significant bit (MSb) is tested
and the appropriate subtractions are done.
EXAMPLE 8-1:
EXAMPLE 8-2:
MOVFP
MULWF
MOVFP
MULWF
BTFSC
SUBWF
MOVFP
BTFSC
SUBWF
Cycles (Max)
ARG1, WREG
ARG2
ARG1, WREG
ARG2
ARG2, SB
PRODH, F
ARG2, WREG
ARG1, SB
PRODH, F
242
254
69
—
24
36
1
6
8 x 8 MULTIPLY ROUTINE
8 x 8 SIGNED MULTIPLY
ROUTINE
PIC17C4X
@ 25 MHz
11.04 s
38.72 s
40.64 s
3.84 s
5.76 s
160 ns
960 ns
; ARG1 * ARG2 ->
;
; ARG1 * ARG2 ->
;
; Test Sign Bit
; PRODH = PRODH
;
; Test Sign Bit
; PRODH = PRODH
;
—
PRODH:PRODL
PRODH:PRODL
DS30412C-page 49
Time
@ 33 MHz
- ARG1
- ARG2
2.91 s
4.36 s
121 ns
727 ns
N/A
N/A
N/A
N/A