LM3S5652 Luminary Micro, Inc, LM3S5652 Datasheet - Page 198
LM3S5652
Manufacturer Part Number
LM3S5652
Description
Lm3s5652 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet
1.LM3S5652.pdf
(703 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LM3S5652-IQR50-A0
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S5652-IQR50-A0T
Manufacturer:
Texas Instruments
Quantity:
10 000
- Current page: 198 of 703
- Download datasheet (7Mb)
Micro Direct Memory Access (μDMA)
9.3.4.2
198
2.
3.
4.
Configure the Channel Control Structure
Now the channel control structure must be configured. This example will transfer 8-bit bytes from
the peripheral's receive FIFO register into two memory buffers of 64 bytes each. As data is received,
when one buffer is full, the μDMA controller switches to use the other.
To use Ping-Pong buffering, both primary and alternate channel control structures must be used.
The primary control structure for channel 8 is at offset 0x080 of the channel control table, and the
alternate channel control structure is at offset 0x280. The channel control structures for channel 8
are located at the offsets shown in Table 9-11 on page 198.
Table 9-11. Primary and Alternate Channel Control Structure Offsets for Channel 8
Configure the Source and Destination
The source and destination end pointers must be set to the last address for the transfer (inclusive).
Since the peripheral pointer does not change, it simply points to the peripheral's data register. Both
the primary and alternate sets of pointers must be configured.
1.
2.
3.
4.
The primary control word at offset 0x088, and the alternate control word at offset 0x288 must be
programmed according to Table 9-10 on page 197. Both control words are initially programmed the
same way.
1.
2.
Control Table Base + 0x080
Control Table Base + 0x084
Control Table Base + 0x088
Control Table Base + 0x280
Control Table Base + 0x284
Control Table Base + 0x288
Set bit 7 of the DMA Channel Primary Alternate Clear (DMAALTCLR) register to select the
primary channel control structure for this transfer.
Set bit 7 of the DMA Channel Useburst Clear (DMAUSEBURSTCLR) register to allow the
μDMA controller to respond to single and burst requests.
Set bit 7 of the DMA Channel Request Mask Clear (DMAREQMASKCLR) register to allow
the μDMA controller to recognize requests for this channel.
Set the primary source end pointer at offset 0x080 to the address of the peripheral's receive
buffer.
Set the primary destination end pointer at offset 0x084 to the address of ping-pong buffer A +
0x3F.
Set the alternate source end pointer at offset 0x280 to the address of the peripheral's receive
buffer.
Set the alternate destination end pointer at offset 0x284 to the address of ping-pong buffer B +
0x3F.
Program the primary channel control word at offset 0x088 according to Table 9-12 on page 199.
Program the alternate channel control word at offset 0x288 according to Table 9-12 on page 199.
Offset
Channel 8 Primary Source End Pointer
Channel 8 Primary Destination End Pointer
Channel 8 Primary Control Word
Channel 8 Alternate Source End Pointer
Channel 8 Alternate Destination End Pointer
Channel 8 Alternate Control Word
Description
Preliminary
June 02, 2008
Related parts for LM3S5652
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Inductor: Molded: 10u: 10%: 30M: 7.9: 440m: Axial: T/R
Manufacturer:
Inductor Supply, Inc.
Part Number:
Description:
Molded Inductor
Manufacturer:
Inductor Supply, Inc.
Datasheet:
Part Number:
Description:
Cree Smd Led
Manufacturer:
Cree, Inc.
Datasheet:
Part Number:
Description:
Cree Smd Led
Manufacturer:
Cree, Inc.
Datasheet:
Part Number:
Description:
Specification For Cotco Led Lamp
Manufacturer:
Marktech Optoelectronics
Datasheet:
Part Number:
Description:
Lm3s1110 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1133 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1138 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1150 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1162 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1165 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1332 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1435 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet: