dsPIC33FJ32MC104-I/PT Microchip Technology, dsPIC33FJ32MC104-I/PT Datasheet - Page 182

no-image

dsPIC33FJ32MC104-I/PT

Manufacturer Part Number
dsPIC33FJ32MC104-I/PT
Description
Digital Signal Processors & Controllers - DSP, DSC 16bit Mtr Cnt Fam 16 MIPS 32KBFLSH 2KBRAM
Manufacturer
Microchip Technology
Type
dsPIC33FJ32(GP/MC)101/102/104r
Datasheet

Specifications of dsPIC33FJ32MC104-I/PT

Rohs
yes
Core
dsPIC33F
Data Bus Width
16 bit
Program Memory Size
32 KB
Data Ram Size
2 KB
Maximum Clock Frequency
7.37 MHz, 32 kHz
Number Of Programmable I/os
35
Number Of Timers
5 x 16-bit, 2 x 32-bit
Device Million Instructions Per Second
16 MIPs
Operating Supply Voltage
3 V to 3.6 V
Maximum Operating Temperature
+ 125 C
Package / Case
TQFP-44
Mounting Style
SMD/SMT
Family / Core
dsPIC33FJ32(GP/MC)101/102/104
Interface Type
I2C, SPI, UART
Minimum Operating Temperature
- 40 C
On-chip Adc
Yes
Product
DSPs
Program Memory Type
Flash
Supply Current
10 mA

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC33FJ32MC104-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
dsPIC33FJ16(GP/MC)101/102 AND dsPIC33FJ32(GP/MC)101/102/104
EXAMPLE 15-1:
EXAMPLE 15-2:
DS70652E-page 182
; FLTA1 pin must be pulled high externally in order to clear and disable the Fault
; Writing to P1FLTBCON register requires unlock sequence
mov #0xabcd,w10
mov #0x4321,w11
mov #0x0000,w0
mov w10, PWM1KEY
mov w11, PWM1KEY
mov w0,P1FLTACON
; FLTB1 pin must be pulled high externally in order to clear and disable the Fault
; Writing to P1FLTBCON register requires unlock sequence
mov #0xabcd,w10
mov #0x4321,w11
mov #0x0000,w0
mov w10, PWM1KEY
mov w11, PWM1KEY
mov w0,P1FLTBCON
; Enable all PWMs using PWM1CON1 register
; Writing to PWM1CON1 register requires unlock sequence
mov #0xabcd,w10
mov #0x4321,w11
mov #0x0077,w0
mov w10, PWM1KEY
mov w11, PWM1KEY
mov w0,PWM1CON1
// FLTA1 pin must be pulled high externally in order to clear and disable the Fault
// Writing to P1FLTACON register requires unlock sequence
// Use builtin function to write 0x0000 to P1FLTACON register
__builtin_write_PWMSFR(&P1FLTACON, 0x0000, &PWM1KEY);
// FLTB1 pin must be pulled high externally in order to clear and disable the Fault
// Writing to P1FLTBCON register requires unlock sequence
// Use builtin function to write 0x0000 to P1FLTBCON register
__builtin_write_PWMSFR(&P1FLTBCON, 0x0000, &PWM1KEY);
// Enable all PWMs using PWM1CON1 register
// Writing to PWM1CON1 register requires unlock sequence
// Use builtin function to write 0x0077 to PWM1CON1 register
__builtin_write_PWMSFR(&PWM1CON1, 0x0077, &PWM1KEY);
ASSEMBLY CODE FOR WRITE-PROTECTED REGISTER UNLOCK AND FAULT
CLEARING SEQUENCE
C CODE FOR WRITE-PROTECTED REGISTER UNLOCK AND FAULT CLEARING
SEQUENCE
; Load first unlock key to w10 register
; Load second unlock key to w11 register
; Load desired value of P1FLTACON register in w0
; Write first unlock key to PWM1KEY register
; Write second unlock key to PWM1KEY register
; Write desired value to P1FLTACON register
; Load first unlock key to w10 register
; Load second unlock key to w11 register
; Load desired value of P1FLTBCON register in w0
; Write first unlock key to PWM1KEY register
; Write second unlock key to PWM1KEY register
; Write desired value to P1FLTBCON register
; Load first unlock key to w10 register
; Load second unlock key to w11 register
; Load desired value of PWM1CON1 register in w0
; Write first unlock key to PWM1KEY register
; Write second unlock key to PWM1KEY register
; Write desired value to PWM1CON1 register
 2011-2012 Microchip Technology Inc.

Related parts for dsPIC33FJ32MC104-I/PT