数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST9 数据表(PDF) 94 Page - STMicroelectronics

部件名 ST9
功能描述  USER GUIDE
PDF  146 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST9 数据表(HTML) 94 Page - STMicroelectronics

Back Button ST9 Datasheet HTML 90Page - STMicroelectronics ST9 Datasheet HTML 91Page - STMicroelectronics ST9 Datasheet HTML 92Page - STMicroelectronics ST9 Datasheet HTML 93Page - STMicroelectronics ST9 Datasheet HTML 94Page - STMicroelectronics ST9 Datasheet HTML 95Page - STMicroelectronics ST9 Datasheet HTML 96Page - STMicroelectronics ST9 Datasheet HTML 97Page - STMicroelectronics ST9 Datasheet HTML 98Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 94 / 146 page
background image
94/146
ST9 USER GUIDE
Register (DAPR) and DMA Counter Pointer Register (DCPR). These registers are not the ac-
tual counter and the pointer, they point to where you want to locate them in the register file.
This double pointer mechanism is similar to that described for interrupts.
Here there can be two cases: the transfer involves the memory or the register file.
If the transfer involves the memory, it’s standard procedure. The DCPR points to the 16-bit
Counter register, and the DAPR points to the 16-bit Address register. These two register pairs
may reside anywhere there is room for them in the register file. Since register pairs are used,
their addresses are even. The DCPR must be even. To reach the DMA segment the DMASR
(or ISR depending on DAPR bit 0) MMU register contains the segment number.
If the transfer involves the register file, things are a bit different. Both the transaction counter
and the address register are 8-bit values. They are supposed to be adjacent in the register file,
i.e. they occupy two successive registers: the first one, even numbered, is the address reg-
ister. The second one, odd numbered, is the transaction counter. To select this mode, the
least significant bit of the DCPR must be one. Its value is the address of the address register
(which is even) plus one. The DAPR is not used.
The whole mechanism described above applies for both the transmitter side and the receiver
side. Thus, there are twice as many registers as mentioned: the TDCPR and the TDAPR for
the transmitter side, the RDCPR and the RDAPR for the receiver side. The registers you have
located in the register file are also twice as many. So, the TDCPR points to the transmitter
transaction counter and the TDAPR points to the transmitter address register (with the excep-
tion mentioned above if the transaction involves the register file). The RDCPR points to the re-
ceiver transaction counter and the RDAPR points to the receiver address register.
When a DMA transfer is in progress, the processor is not even aware of it (except that it is
slightly slowed down by the stolen clock cycles). So nothing special has to be done as far as
the program is concerned. The question is: how to start and end a DMA transfer? Here, the
processor is involved, and some code is needed. Depending on which side is concerned, the
processes are different.
4.6.1.2.1 Transmitter Side
To start a DMA transmission, you need to do the following operations, in order:
– Set the DMA segment register DMASR (or ISR) to point to the selected segment of data
memory.
– Set the transmit address register to the address of the second word to be sent (not the
TDAPR, which is only set once at initialisation, and points permanently to the transmit ad-
dress register).



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


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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