pic32mx320f064h Microchip Technology Inc., pic32mx320f064h Datasheet - Page 94

no-image

pic32mx320f064h

Manufacturer Part Number
pic32mx320f064h
Description
64/100-pin General Purpose, 32-bit Flash Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
pic32mx320f064h-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-40I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
pic32mx320f064h-40V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-80I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064h-80V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f064hT-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC32MX FAMILY
5.4
The mode is enabled by setting the CHXM bit
(DCHxCON<3>)
Extended Addressing mode transfer features:
• The maximum transfer size per channel is
• The source and destination sizes are concate-
• The Source and Destination Pointers
• Cell size is identical to block size. DCHxCSIZ and
5.4.1
The following steps are recommended to be taken to
configure a DMA transfer in Extended Addressing
mode:
• Disable the DMA channel interrupts in the INT
• Clear any existing channel interrupt flags in the
• Enable the DMA controller (if not already
• Set Channel Control register: Priority,
DS61143A-page 92
64 Kbytes.
nated and the size is 16 bits wide. DCHxSSIZ will
comprise the Most Significant bits of the channel
transfer size, the Destination Size Register
(DCHxDSIZ) will make up the Least Significant
bits of the transfer size.
(DCHxSPTR/DCHxDPTR) are concatenated in
the same way as the source and destination
sizes. A read of the DCHxDPTR register will
return the full 16-bit Channel Transfer Pointer
(DCHxSPTR concatenated with DCHxDPTR). A
read of DCHxSPTR in this mode will return the
high-order bits of the Transfer pointer.
DCHxCPTR are not used.
controller.
INT controller
enabled) in DMACON register.
Auto-Enable mode, etc., in DCHxCON. Use
CHXM = 1 (DCHxCON<3>) for Extended
Addressing mode. Don’t enable the channel yet.
Extended Addressing Mode
EXTENDED ADDRESSING MODE
CONFIGURATION
Advance Information
• Set the channel event control: clear/set the events
• If using a pattern match, set the pattern in the
• Set the transfer source and destination physical
• Set the block transfer size (DCHxSSIZ and
• Clear any existing event flag in DCHxINT register.
• If using interrupts:
• Enable the selected DMA channel with CHEN
• If not using system events to start the DMA
• Until the DMA transfer is complete, you can do
• If you enabled block complete interrupt you’ll be
• Otherwise, you can poll the DMA channel to see if
Refer to Example 5-2.
starting and aborting the transfer. If needed, also
set the pattern match enable in DCHxECON.
DCHxDAT register.
addresses (DCHxSSA and DCHxDSA registers).
DCHxDSIZ).
- Set the conditions that will generate an inter-
- Set the DMA channel interrupt priority and
- Enable the DMA channel interrupt in the INT
(DCHxCON<7>).
transfer use CFORCE (DCHxECON<7>) to start
transfer.
some other processing.
notified in the ISR that the DMA transfer
completed.
the transfer is completed using, for example,
CHBCIF (DCHxINT<3>).
rupt in the DCHxINT register (at least error
interrupt enable and abort interrupt enable,
usually block complete interrupt).
subpriority in the INT controller.
controller.
© 2007 Microchip Technology Inc.

Related parts for pic32mx320f064h