PIC17C42A-16/L Microchip Technology, PIC17C42A-16/L Datasheet - Page 49

IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LDCC,44PIN,PLASTIC

PIC17C42A-16/L

Manufacturer Part Number
PIC17C42A-16/L
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LDCC,44PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 17Cr

Specifications of PIC17C42A-16/L

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
16MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
33
Program Memory Size
4KB (2K x 16)
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
44-PLCC
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
SMD/SMT
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164317 - MODULE SKT MPLAB PM3 44PLCCDVA17XL441 - DEVICE ADAPTER FOR PIC17C42A309-1007 - ADAPTER 44-PLCC ZIF TO 40-DIPAC174002 - MODULE SKT PROMATEII 44PLCC
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
 Details
Other names
PIC17C42A-16/LR
PIC17C42A-16/LR

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42A-16/L
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

Related parts for PIC17C42A-16/L