dsPIC33FJ32GP102-I/SO Microchip Technology, dsPIC33FJ32GP102-I/SO Datasheet - Page 181

no-image

dsPIC33FJ32GP102-I/SO

Manufacturer Part Number
dsPIC33FJ32GP102-I/SO
Description
Digital Signal Processors & Controllers - DSP, DSC 16bit Gen Prp Fam16 MIPS 32KBFLSH 2KBRAM
Manufacturer
Microchip Technology
Type
dsPIC33FJ32(GP/MC)101/102/104r
Datasheet

Specifications of dsPIC33FJ32GP102-I/SO

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
21
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
QFN-28
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
15.2
The Motor Control PWM module incorporates up to two
Fault inputs, FLTA1 and FLTB1. These Fault inputs are
implemented with Class B safety features. These
features ensure that the PWM outputs enter a safe
state when either of the Fault inputs is asserted.
The FLTA1 and FLTB1 pins, when enabled and having
ownership of a pin, also enable a soft internal pull-down
resistor. The soft pull-down provides a safety feature by
automatically asserting the Fault should a break occur
in the Fault signal connection.
The implementation of internal pull-down resistors is
dependent on the device variant.
which devices and pins implement the internal pull-down
resistors.
TABLE 15-1:
On devices without internal pull-downs on the Fault pin,
it is recommended to connect an external pull-down
resistor for Class B safety features.
15.2.1
During any Reset event, the PWM module maintains
ownership of both PWM Fault pins. At Reset, both
Faults are enabled in latched mode to guarantee the
fail-safe power-up of the application. The application
software must clear both of the PWM Faults before
enabling the Motor Control PWM module.
The Fault condition must be cleared by the external cir-
cuitry driving the Fault input pin high and clearing the
Fault interrupt flag. After the Fault pin condition has been
cleared, the PWM module restores the PWM output
signals on the next PWM period or half-period boundary.
 2011-2012 Microchip Technology Inc.
dsPIC33FJXXMC101
dsPIC33FJXXMC102
dsPIC33FJ32MC104
dsPIC33FJ16(GP/MC)101/102 AND dsPIC33FJ32(GP/MC)101/102/104
Device
PWM Faults
PWM FAULTS AT RESET
INTERNAL PULL-DOWN
RESISTORS ON PWM FAULT
PINS
Fault Pin
FLTB1
FLTB1
FLTA1
FLTA1
FLTA1
Table 15-1
Implemented?
Pull-Down
Internal
Yes
Yes
Yes
Yes
No
describes
Refer to Section 14. “Motor Control PWM”
(DS70187),
Reference Manual” for more information on the PWM
Faults.
15.3
On dsPIC33FJ(16/32)MC10X devices, write protection
is implemented for the PWMxCON1, PxFLTACON and
PxFLTBCON registers. The write protection feature
prevents any inadvertent writes to these registers. The
write protection feature can be controlled by the
PWMLOCK Configuration bit in the FOSCSEL Config-
uration register. The default state of the write protection
feature is enabled (PWMLOCK = 1). The write protec-
tion feature can be disabled by configuring PWMLOCK
(FOSCSEL<6>) = 0.
The user application can gain access to these locked
registers either by configuring the PWMLOCK bit
(FOSCSEL<6>) = 0 or by performing the unlock
sequence. To perform the unlock sequence, the user
application must write
(0xABCD and 0x4321) to the PWMxKEY register to
perform the unlock operation. The write access to the
PWMxCON1, PxFLTACON or PxFLTBCON registers
must be the next SFR access following the unlock
process. There can be no other SFR accesses during
the unlock process and subsequent write access.
To write to all registers, the PWMxCON1, PxFLTACON
and PxFLTBCON registers require three unlock
operations.
The correct unlocking sequence is described in
Example 15-1
Note:
Write-Protected Registers
The number of PWM Faults mapped to
the device pins depend on the specific
variant. Regardless of the variant, both
Faults will be enabled during any Reset
event. The application must clear both
FLTA1 and FLTB1 before enabling the
Motor Control PWM module. Refer to the
specific device pin diagrams to see which
Fault pins are mapped to the device pins.
in
and
Example
the
“dsPIC33F/PIC24H
two
15-2.
consecutive values
DS70652E-page 181
Family

Related parts for dsPIC33FJ32GP102-I/SO