Electronic Components Datasheet Search
  English  ▼

X  

LM3S9781 Datasheet(PDF) 256 Page - Texas Instruments

Part # LM3S9781
Description  Stellaris짰 LM3S9781 Microcontroller
PDF  1155 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TI [Texas Instruments]
Direct Link  http://www.ti.com
Logo TI - Texas Instruments

LM3S9781 Datasheet(HTML) 256 Page - Texas Instruments

Back Button LM3S9781 Datasheet HTML 252Page - Texas Instruments LM3S9781 Datasheet HTML 253Page - Texas Instruments LM3S9781 Datasheet HTML 254Page - Texas Instruments LM3S9781 Datasheet HTML 255Page - Texas Instruments LM3S9781 Datasheet HTML 256Page - Texas Instruments LM3S9781 Datasheet HTML 257Page - Texas Instruments LM3S9781 Datasheet HTML 258Page - Texas Instruments LM3S9781 Datasheet HTML 259Page - Texas Instruments LM3S9781 Datasheet HTML 260Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 256 / 1155 page
background image
Table 8-12. Channel Control Word Configuration for Peripheral Ping-Pong Receive Example
Description
Value
Bits
Field in DMACHCTL
8-bit destination address increment
0
31:30
DSTINC
8-bit destination data size
0
29:28
DSTSIZE
Source address does not increment
3
27:26
SRCINC
8-bit source data size
0
25:24
SRCSIZE
Reserved
0
23:18
reserved
Arbitrates after 8 transfers
3
17:14
ARBSIZE
Transfer 64 items
63
13:4
XFERSIZE
N/A for this transfer type
0
3
NXTUSEBURST
Use Ping-Pong transfer mode
3
2:0
XFERMODE
Note:
In this example, it is not important if the peripheral makes a single request or a burst request.
Because the peripheral has a FIFO that triggers at a level of 8, the arbitration size is set to
8. If the peripheral does make a burst request, then 8 bytes are transferred, which is what
the FIFO can accommodate. If the peripheral makes a single request (if there is any data
in the FIFO), then one byte is transferred at a time. If it is important to the application that
transfers only be made in bursts, then the Channel Useburst SET[8] bit should be set in
the DMA Channel Useburst Set (DMAUSEBURSTSET) register.
8.3.4.3
Configure the Peripheral Interrupt
An interrupt handler should be configured when using μDMA Ping-Pong mode, it is best to use an
interrupt handler. However, the Ping-Pong mode can be configured without interrupts by polling.
The interrupt handler is triggered after each buffer is complete.
1.
Configure and enable an interrupt handler for the peripheral.
8.3.4.4
Enable the μDMA Channel
Now the channel is configured and is ready to start.
1.
Enable the channel by setting bit 8 of the DMA Channel Enable Set (DMAENASET) register.
8.3.4.5
Process Interrupts
The μDMA controller is now configured and enabled for transfer on channel 8. When the peripheral
asserts the μDMA request signal, the μDMA controller makes transfers into buffer A using the primary
channel control structure. When the primary transfer to buffer A is complete, it switches to the
alternate channel control structure and makes transfers into buffer B. At the same time, the primary
channel control word mode field is configured to indicate Stopped, and an interrupt is
When an interrupt is triggered, the interrupt handler must determine which buffer is complete and
process the data or set a flag that the data must be processed by non-interrupt buffer processing
code. Then the next buffer transfer must be set up.
In the interrupt handler:
1.
Read the primary channel control word at offset 0x088 and check the XFERMODE field. If the
field is 0, this means buffer A is complete. If buffer A is complete, then:
a.
Process the newly received data in buffer A or signal the buffer processing code that buffer
A has data available.
June 29, 2010
256
Texas Instruments-Advance Information
Micro Direct Memory Access (μDMA)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com