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

X  

STR720 数据表(PDF) 191 Page - STMicroelectronics

部件名 STR720
功能描述  ARM720T 16/32-BIT MCU WITH 16K RAM, USB, CAN, 3 TIMERS, ADC, 6 COMMUNICATIONS INTERFACES
PDF  401 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STR720 数据表(HTML) 191 Page - STMicroelectronics

Back Button STR720 Datasheet HTML 187Page - STMicroelectronics STR720 Datasheet HTML 188Page - STMicroelectronics STR720 Datasheet HTML 189Page - STMicroelectronics STR720 Datasheet HTML 190Page - STMicroelectronics STR720 Datasheet HTML 191Page - STMicroelectronics STR720 Datasheet HTML 192Page - STMicroelectronics STR720 Datasheet HTML 193Page - STMicroelectronics STR720 Datasheet HTML 194Page - STMicroelectronics STR720 Datasheet HTML 195Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 191 / 401 page
background image
STR720 - BUFFERED SPI (BSPI)
191/401
17.3.3
Transmit FIFO
The transmit FIFO consists of a 16 by 16 bit register bank which can operate in 8/16 bit modes
as configured by the word length (WL[1:0]) control bits of BSPCSR1. Data is left justified
indicating that only the most significant portion of the word is transmitted if using 8 bit mode.
After a transmission is completed the next data word is loaded from the transmit FIFO.
The user can set the depth of the FIFO from the default one location up to a maximum of
sixteen locations. This can be set dynamically but will only take effect after the completion of
the current transmission. Status flags report if the FIFO is full (TFF), the FIFO is not empty
(TFNE), the FIFO is empty (TFE) and the transmit buffer has under flown (TUFL), this last one
being generated only when macrocell is configured in master mode. The transmit interrupt
enable (TIE[1:0]) control bits of BSPCSR2 determine the source of the transmit interrupt. If
the interrupt source is enabled then an active high interrupt will be asserted to the processor.
If BSPI is configured in master mode and the TUFL flag is asserted then a subsequent write
to the transmit FIFO will clear the flag. If interrupts are enabled the interrupt will be
de-asserted. Regardless of the selected BSPI mode, TFF and TFNE flags are updated at the
end of the processor write cycle and at the end of each transmission.
Note
Data should be written in the fifo only if the macro is enabled (see BSPI System
Enable bit of BSPI Control Register). If one data word is written in the trasmit fifo
before enabling the BSPI no data will be transmitted.
Note
When it is necessary to be notified about the end of last word transmission, TUFL
event can be used for the purpose, provided BSPI is configured in master mode. In
case this notification is required also when BSPI is configured as a slave, the end of
transmission cannot be detected and a suitable wait loop must be implemented.
17.3.4
Receive FIFO
The BSPI Receive FIFO is a 16 word by 16-bit FIFO used to buffer the data words received
from the BSPI bus.
The FIFO can operate in 8-bit and 16-bit modes as configured by the WL[1:0] bits of the
BSPCSR1 register. Irrelevant of the word depth in the FIFO, if operating in 8-bit mode, the
data will occupy both the Most Significant and the Least Significant Bytes of each location of
the FIFO (data can be used either as left or right justified).
The receive FIFO enable bits RFE[3:0] declare how many words deep the FIFO is for all
transfers. The FIFO defaults to one word deep. Whenever there is at least one block of data in
the FIFO the RFNE bit is set in the BSPCSR2 register, i.e there is data in at least one location.
The RFF flag does not get set until all locations of the FIFO contain data, i.e. RFF is set when
the depth of FIFO is filled and nothing has been read out.
If the FIFO is one word deep then the RFNE and RFF flags are set once data is written to it.
When the data is read then both flags are cleared. A write to and a read from the FIFO can
happen independent of each once RFF is not set, if RFF is set a read must occur before the
next write or an overflow (ROFL) will occur.
1



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