PIC17C42A-25I/PT Microchip Technology, PIC17C42A-25I/PT Datasheet - Page 51
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC17C42A-25I/PT
Manufacturer Part Number
PIC17C42A-25I/PT
Description
IC MCU OTP 2KX16 PWM 44TQFP
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-25I/PT
Core Processor
PIC
Core Size
8-Bit
Speed
25MHz
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
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
For Use With
AC164315 - MODULE SKT MPLAB PM3 44TQFPAC174005 - MODULE SKT PROMATEII 44TQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC17C42A-25I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 51 of 241
- Download datasheet (2Mb)
Example 8-4 shows the sequence to do an 16 x 16
signed multiply. Equation 8-2 shows the algorithm that
used. The 32-bit result is stored in four registers
RES3:RES0. To account for the sign bits of the argu-
ments, each argument pairs most significant bit (MSb)
is tested and the appropriate subtractions are done.
EQUATION 8-2:
RES3:RES0
1996 Microchip Technology Inc.
= ARG1H:ARG1L * ARG2H:ARG2L
= (ARG1H * ARG2H * 2
(ARG1H * ARG2L * 2
(ARG1L * ARG2H * 2
(ARG1L * ARG2L)
(-1 * ARG2H<7> * ARG1H:ARG1L * 2
(-1 * ARG1H<7> * ARG2H:ARG2L * 2
16 x 16 SIGNED
MULTIPLICATION
ALGORITHM
8
8
16
)
)
)
16
16
) +
)
+
+
+
+
EXAMPLE 8-4:
;
;
;
;
;
SIGN_ARG1
;
CONT_CODE
MOVFP
MULWF
MOVPF
MOVPF
MOVFP
MULWF
MOVPF
MOVPF
MOVFP
MULWF
MOVFP
ADDWF
MOVFP
ADDWFC
CLRF
ADDWFC
MOVFP
MULWF
MOVFP
ADDWF
MOVFP
ADDWFC
CLRF
ADDWFC
BTFSS
GOTO
MOVFP
SUBWF
MOVFP
SUBWFB
BTFSS
GOTO
MOVFP
SUBWF
MOVFP
SUBWFB
:
ARG1L, WREG
ARG2L
PRODH, RES1 ;
PRODL, RES0 ;
ARG1H, WREG
ARG2H
PRODH, RES3 ;
PRODL, RES2 ;
ARG1L, WREG
ARG2H
PRODL, WREG ;
RES1, F
PRODH, WREG ;
RES2, F
WREG, F
RES3, F
ARG1H, WREG ;
ARG2L
PRODL, WREG ;
RES1, F
PRODH, WREG ;
RES2, F
WREG, F
RES3, F
ARG2H, 7
SIGN_ARG1
ARG1L, WREG ;
RES2
ARG1H, WREG ;
RES3
ARG1H, 7
CONT_CODE
ARG2L, WREG ;
RES2
ARG2H, WREG ;
RES3
16 x 16 SIGNED MULTIPLY
ROUTINE
PIC17C4X
; ARG1L * ARG2L ->
;
; ARG1H * ARG2H ->
;
; ARG1L * ARG2H ->
;
; Add cross
;
;
;
; ARG1H * ARG2L ->
;
; Add cross
;
;
;
; ARG2H:ARG2L neg?
; no, check ARG1
;
; ARG1H:ARG1L neg?
; no, done
;
PRODH:PRODL
PRODH:PRODL
PRODH:PRODL
PRODH:PRODL
products
products
DS30412C-page 51
Related parts for PIC17C42A-25I/PT
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC17C42A-16/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LDCC,44PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-16/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-25/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-25/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-25/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-16I/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-25I/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-33I/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-33I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-33/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-16I/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-33I/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-33/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-33/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC17C42A-16I/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC MCU OTP 2KX16 PWM 44-MQFP
Manufacturer:
Microchip Technology
Datasheet: