поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

BLUENRG-2 датащи(PDF) 41 Page - STMicroelectronics

номер детали BLUENRG-2
подробное описание детали  Bluetooth® low energy wireless system-on-chip
PDF  190 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

BLUENRG-2 датащи(HTML) 41 Page - STMicroelectronics

Back Button BLUENRG-2 Datasheet HTML 37Page - STMicroelectronics BLUENRG-2 Datasheet HTML 38Page - STMicroelectronics BLUENRG-2 Datasheet HTML 39Page - STMicroelectronics BLUENRG-2 Datasheet HTML 40Page - STMicroelectronics BLUENRG-2 Datasheet HTML 41Page - STMicroelectronics BLUENRG-2 Datasheet HTML 42Page - STMicroelectronics BLUENRG-2 Datasheet HTML 43Page - STMicroelectronics BLUENRG-2 Datasheet HTML 44Page - STMicroelectronics BLUENRG-2 Datasheet HTML 45Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 41 / 190 page
background image
BlueNRG-2
Functional details
DocID030675 Rev 2
41/190
Channel configuration procedure
The following sequence should be followed to configure a DMA channelx (where x is the
channel number).
1.
Set the peripheral register address in the DMA_CPARx register. The data will be
moved from/ to this address to/ from the memory after the peripheral event.
2.
Set the memory address in the DMA_CMARx register. The data will be written to or
read from this memory after the peripheral event.
3.
Configure the total number of data to be transferred in the DMA_CNDTRx register.
After each peripheral event, this value will be decremented.
4.
Configure the channel priority using the PL[1:0] bits in the DMA_CCRx register.
5.
Configure data transfer direction, circular mode, peripheral & memory incremented
mode, peripheral & memory data size, and interrupt after half and/or full transfer in the
DMA_CCRx register.
6.
Activate the channel by setting the ENABLE bit in the DMA_CCRx register.
As soon as the channel is enabled, it can serve any DMA request from the peripheral
connected on the channel. Once half of the bytes are transferred, the half-transfer flag
(HTIF) is set and an interrupt is generated if the Half-Transfer Interrupt Enable bit (HTIE) is
set. At the end of the transfer, the Transfer Complete Flag (TCIF) is set and an interrupt is
generated if the Transfer Complete Interrupt Enable bit (TCIE) is set.
Circular mode
Circular mode is available to handle circular buffers and continuous data flows (e.g. ADC
scan mode). This feature can be enabled using the CIRC bit in the DMA_CCRx register.
When circular mode is activated, the number of data to be transferred is automatically
reloaded with the initial value programmed during the channel configuration phase, and the
DMA requests continue to be served.
Memory-to-memory mode
The DMA channels can also work without being triggered by a request from a peripheral.
This mode is called Memory-to-Memory mode. If the MEM2MEM bit in the DMA_CCRx
register is set, then the channel initiates transfers as soon as it is enabled by software by
setting the Enable bit (EN) in the DMA_CCRx register. The transfer stops once the
DMA_CNDTRx register reaches zero. Memory-to-Memory mode may not be used at the
same time as Circular mode.
3.7.2.4
Programmable data width, data alignment and endianness
When PSIZE and MSIZE are not equal, the DMA performs some data alignments as
described in Table 41: "Programmable data width and endian behavior (when bits PINC =
MINC = 1)": Programmable data width & endian behavior (when bits PINC = MINC = 1).
Table 41: Programmable data width and endian behavior (when bits PINC = MINC = 1)
Source
port
width
Destination
port width
Number of
data items
to transfer
(NDT)
Source
content:
address/data
Transfer operations
Destination
content:
address/data
8
8
4
@0x0 / B0
1: READ B0[7:0]
@0x0 then WRITE
B0[7:0] @0x0
@0x0 / B0
@0x1 / B1
2: READ B1[7:0]
@0x1 then WRITE
B0[7:0] @0x1
@0x1 / B1



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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