전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

RM0319 데이터시트(PDF) 229 Page - STMicroelectronics

부품명 RM0319
상세설명  SPEAr320S architecture and functionality
PDF  368 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0319 데이터시트(HTML) 229 Page - STMicroelectronics

Back Button RM0319 Datasheet HTML 225Page - STMicroelectronics RM0319 Datasheet HTML 226Page - STMicroelectronics RM0319 Datasheet HTML 227Page - STMicroelectronics RM0319 Datasheet HTML 228Page - STMicroelectronics RM0319 Datasheet HTML 229Page - STMicroelectronics RM0319 Datasheet HTML 230Page - STMicroelectronics RM0319 Datasheet HTML 231Page - STMicroelectronics RM0319 Datasheet HTML 232Page - STMicroelectronics RM0319 Datasheet HTML 233Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 229 / 368 page
background image
RM0319
I2C bus ports (I2C)
Doc ID 022640 Rev 3
229/368
A hardware receiver does not respond to the START byte because it is a reserved address
and it resets after the Sr (restart condition) is generated.
17.3.3
DMA controller Interface
The I2C controller has a handshaking interface to request and control transfers from the
DMA controller of the SPEArTM device. The APB bus is used to perform the data transfer to
or from the DMA.
Note:
When the DMA controller of the SPEArTM device is used for data transfers to/from the I2C
controller, the DMA controller must always be programmed as the flow controller; that is, the
DMA controller controls the block size.
Enabling the DMA controller Interface
To enable the DMA controller interface on the I2C, the DMA Control Register (IC_DMA_CR)
has to be set. Writing a 'b1 into the TDMAE bit field of IC_DMA_CR register, it enables the
I2C controller transmit handshaking interface. Besides, writing a 'b1 into the RDMAE bit field
of the IC_DMA_CR register, the I2C controller receive handshaking interface is enabled.
Transmit Watermark Level and Transmit FIFO Underflow
During I2C controller serial transfers, transmit FIFO requests are made to the DMA
controller whenever the number of entries in the transmit FIFO is less than or equal to the
DMA Transmit Data Level Register (IC_DMA_TDLR) value, this is known as the "watermark
level".
The DMA controller responds by writing a burst of data to the transmit FIFO buffer. Data
should be written by the DMA often enough for the transmit FIFO to perform serial transfers
continuously; that is, when the FIFO begins to empty another DMA request should be
triggered. Otherwise, the FIFO will run out of data (underflow). To prevent this condition, the
user must set the watermark level correctly.
Choosing the Transmit Watermark Level
Choosing a watermark level can minimize the number of transactions per block, keeping the
probability of an underflow condition to an acceptable level.
In practice, this is a function of the ratio of the rate at which the I2C transmits data to the rate
at which the DMA can respond to destination burst requests. For example, promoting the
channel to the highest priority channel in the DMA, and promoting the DMA master interface
to the highest priority master in the AMBA layer, increases the rate at which the DMA
controller can respond to burst transaction requests. This in turn allows the user to decrease
the watermark level, which improves bus utilization without compromising the probability of
an underflow occurring.
Receive Watermark Level and Receive FIFO Overflow
During I2C controller serial transfers, receive FIFO requests are made to the DMA controller
whenever the number of entries in the receive FIFO is at or above the DMA Receive Data
Level Register (IC_DMA_RDLR), that is DMARDLR + 1, which is known as the "watermark
level".
The DMA controller responds by fetching a burst of data from the receive FIFO buffer. Data
should be fetched by the DMA often enough for the receive FIFO to accept serial transfers
continuously; that is, when the FIFO begins to fill, another DMA transfer is requested.



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



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