DSPIC33FJ64GS406 Microchip Technology Inc., DSPIC33FJ64GS406 Datasheet - Page 210
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
DSPIC33FJ64GS406
Manufacturer Part Number
DSPIC33FJ64GS406
Description
High-performance, 16-bit Digital Signal Controllers
Manufacturer
Microchip Technology Inc.
Datasheet
1.DSPIC33FJ64GS406.pdf
(418 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DSPIC33FJ64GS406-50I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
DSPIC33FJ64GS406-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
DSPIC33FJ64GS406-I/MR
Manufacturer:
Microchip
Quantity:
231
Company:
Part Number:
DSPIC33FJ64GS406-I/PT
Manufacturer:
Microchip
Quantity:
514
Company:
Part Number:
DSPIC33FJ64GS406-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
DSPIC33FJ64GS406T-50I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
DSPIC33FJ64GS406T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 210 of 418
- Download datasheet (4Mb)
dsPIC33FJ32GS406/606/608/610 and dsPIC33FJ64GS406/606/608/610
11.2
In addition to the PORT, LAT and TRIS registers for
data control, some digital-only port pins can also be
individually configured for either digital or open-drain
output. This is controlled by the Open-Drain Control
register, ODCx, associated with each port. Setting any
of the bits configures the corresponding pin to act as an
open-drain output.
The open-drain feature allows the generation of
outputs higher than V
desired 5V tolerant pins by using external pull-up
resistors. The maximum open-drain voltage allowed is
the same as the maximum V
Refer to “Pin Diagrams” for the available pins and
their functionality.
11.3
The ADPCFG and TRIS registers control the operation
of the Analog-to-Digital (A/D) port pins. The port pins
that are to function as analog inputs must have their
corresponding TRIS bit set (input). If the TRIS bit is
cleared (output), the digital output level (V
will be converted.
The ADPCFG and ADPCFG2 registers have a default
value of 0x000; therefore, all pins that share ANx
functions are analog (not digital) by default.
When the PORT register is read, all pins configured as
analog input channels will read as cleared (a low level).
Pins configured as digital inputs will not convert an
analog input. Analog levels on any pin defined as a
digital input (including the ANx pins) can cause the
input buffer to consume current that exceeds the
device specifications.
EQUATION 11-1:
DS70591C-page 210
MOV
MOV
NOP
BTSS
0xFF00, W0
W0, TRISBB
PORTB, #13
Open-Drain Configuration
Configuring Analog Port Pins
PORT WRITE/READ EXAMPLE
DD
(for example, 5V) on any
IH
specification.
; Configure PORTB<15:8> as inputs
; and PORTB<7:0> as outputs
; Delay 1 cycle
; Next Instruction
OH
or V
Preliminary
OL
)
11.4
One instruction cycle is required between a port direction
change or port write operation and a read operation of
the same port. Typically, this instruction would be a NOP.
An example is shown in Example 11-1.
11.5
The input change notification function of the I/O
ports
and dsPIC33FJ64GS406/606/608/610 devices to gen-
erate interrupt requests to the processor in response to
a Change-Of-State (COS) on selected input pins. This
feature can detect input Change-Of-States even in
Sleep mode, when the clocks are disabled. Depending
on the device pin count, up to 30 external signals (CNx
pin) can be selected (enabled) for generating an
interrupt request on a Change-Of-State.
Four control registers are associated with the CN
module. The CNEN1 and CNEN2 registers contain the
interrupt enable control bits for each of the CN input
pins. Setting any of these bits enables a CN interrupt
for the corresponding pins.
Each CN pin also has a weak pull-up connected to it.
The pull-ups act as a current source connected to the
pin, and eliminate the need for external resistors when
the push button or keypad devices are connected. The
pull-ups are enabled separately using the CNPU1 and
CNPU2 registers, which contain the control bits for
each of the CN pins. Setting any of the control bits
enables the weak pull-ups for the corresponding pins.
Note:
allows the dsPIC33FJ32GS406/606/608/610
I/O Port Write/Read Timing
Input Change Notification
Pull-ups on change notification pins
should always be disabled when the port
pin is configured as a digital output.
2010 Microchip Technology Inc.
Related parts for DSPIC33FJ64GS406
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![dsPIC33EP32MC204-H/ML](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
![dsPIC33EP128GP502-H/MM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 128KB FL 16KB RAM 60MHz 28Pin
Manufacturer:
Microchip Technology
![dsPIC33EP32GP504-H/TL](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
![dsPIC33EP32MC204-H/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
![dsPIC33EP32MC502-H/MM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 28Pin
Manufacturer:
Microchip Technology
![dsPIC33EP128GP504-E/TL](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 128KB FL 16KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
![dsPIC33EP32GP502-H/MM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 28Pin
Manufacturer:
Microchip Technology
![dsPIC33EP128GP504-H/ML](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 128KB FL 16KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
![dsPIC33EP32MC204-H/TL](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
![dsPIC33EP256MC204-E/TL](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 256KB FL32KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
![dsPIC33EP32GP502-H/SO](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 28Pin
Manufacturer:
Microchip Technology
![dsPIC33EP32GP504-H/ML](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
![dsPIC33EP128GP502-E/SP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 128KB FL 16KB RAM 60MHz 28Pin
Manufacturer:
Microchip Technology
![dsPIC33EP32GP504-H/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 44Pin
Manufacturer:
Microchip Technology
![dsPIC33EP32MC202-H/MM](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 32KB FL 4KB RAM 60MHz 28Pin
Manufacturer:
Microchip Technology