Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

CP3SP33SMS/NOPB Datasheet(PDF) 58 Page - Texas Instruments

Part # CP3SP33SMS/NOPB
Description  Connectivity Processor with Cache, DSP, and Bluetooth짰, USB, and Dual CAN Interfaces
PDF  407 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TI1 [Texas Instruments]
Direct Link  http://www.ti.com
Logo TI1 - Texas Instruments

CP3SP33SMS/NOPB Datasheet(HTML) 58 Page - Texas Instruments

Back Button CP3SP33SMS/NOPB Datasheet HTML 54Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 55Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 56Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 57Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 58Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 59Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 60Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 61Page - Texas Instruments CP3SP33SMS/NOPB Datasheet HTML 62Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 58 / 407 page
background image
CP3SP33
SNOSCW5 – MAY 2013
www.ti.com
12.2.1 DMA Buffer Flush
When data collection mode has been used to read data from a peripheral, the number of bytes received
from the peripheral might not correspond to an integral number of bursts. To flush data remaining in the
buffer, perform the following steps:
1. Disable the peripheral DMA request. Do not clear the DMA channel enable bit (the CHEN bit in the
DMACNTn register), because clearing this bit will clear the buffer.
2. Read the BNE bit and the BLV field in the DMASTATn register. The BNE bit indicates whether there is
valid data in the buffer. The BLV field indicates the number of valid bytes in the buffer.
3. Clear the BBE bit in the DMACNTn register. This enables a burst write to memory, even though the
buffer is not full. Invalid entries in the buffer are written to memory with undefined data.
A buffer flush will only occur when the DIR bit in the DMACNTn register is clear, and the buffer is not
empty (the BNE bit in the DMASTATn register is set). If the DIR bit is set, the data in the buffer is
discarded.
12.3 Transfer Modes
A DMAC channel may be used in one of three different transfer modes:
•
Single Buffer—The transfer performed for the channel is specified by the states sampled from the
control registers when the last DMA request was enabled.
•
Double Buffer—The transfer performed for the channel is specified by the states sampled from the
control registers when the last DMA request was enabled. A new set of states is loaded into the control
registers to specify the next transfer to be performed for the channel.
•
Auto-initialize—The transfer performed for the channel is specified in its control registers, and the
operation is repeated as long as the channel is enabled.
The OT bit in the DMACNTn register is clear for single buffer and double buffer mode. The OT bit is set to
enable auto-initialize mode.
Double buffer mode is obtained by reloading the DMAC channel control registers after a DMA request has
been enabled. A DMA request is enabled by loading the DMACNTn register with a set CHEN bit. After
enabling a DMA request, the DMA control registers may be loaded with new states. The BLTRn register
must be written last, because loading this register sets the VLD bit in the DMASTATn register, which
indicates that new values have been loaded into the control registers.
When the PF bit in the DMACNTn register is clear, the DMAC is the flow controller for the transfer. When
the PF bit is set, the peripheral is the flow controller. In double buffer mode with the peripheral as the flow
controller, the BLTRn register must be written so that the VLD bit becomes set, even though the value in
the BLTRn register is not used.
12.3.1 Single Buffer Mode
This mode provides the simplest way to accomplish a single data transfer.
12.3.1.1 Initialization
1. Select the peripheral device by writing the SRCRQ field in the DMACNTn register.
2. Write the block transfer addresses and byte count into the corresponding ADCAn, ADCBn, and BLTCn
counters.
3. Clear the DMACNTn.OT bit to select non-auto-initialize mode. Clear the DMASTAT.VLD bit by writing
a 1 to it.
4. Set the DMACNTn.CHEN bit to activate the channel and enable it to respond to DMA transfer
requests. If the DMACNTn register is loaded for any other reason, the DMACNTn.CHEN bit must be
clear to avoid prematurely starting a new DMA transfer.
58
CPU DMA Controller
Copyright © 2013, Texas Instruments Incorporated
Submit Documentation Feedback
Product Folder Links :CP3SP33



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