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

X  

STR720 数据表(PDF) 192 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) 192 Page - STMicroelectronics

Back Button 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 STR720 Datasheet HTML 196Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 192 / 401 page
background image
STR720 - BUFFERED SPI (BSPI)
192/401
17.3.5
Start-up Status
If the BSPI is to operate in Master mode, it must first be enabled, then the MSTR bit must be
set high. The TFE flag will be set, signalling that the Transmit FIFO is empty, if the TIE is set,
a TFE interrupt will be generated. The data to be transferred must be written to the Transmit
Data Register, the TFE interrupt will be cleared and then the BSPI clock will be generated
according to the value of the BSPCLK register. The Transfer of data then begins. A second
TFE interrupt occurs so that the peripheral has a full data transfer time to request the data
before the next transfer is to begin.
If the BSPI is to operate in slave mode, once again the device must be enabled. The SS line
must only be asserted low after the SCK from the master is stable. The TFE flag will be set,
depending on the BSPI being enabled, signalling that the Transmit Data register is empty and
will be cleared by a write to the Transmit Data register. The second TFE interrupt occurs to
request data for the following transfer.
17.3.6
Clocking problems and clearing of the shift-register
Should a problem arise on the clock which results in a misalignment of data in the shift
register of the BSPI, it may be cleared by disabling the BSPI enable. This has the effect of
setting the TFE which requests data to be written to the Transmit Register for the next transfer.
Clearing the BSPI enable will also reset the counter of bits received. The next block of data
received will be written to the next location in the FIFO continuing on from the last good
transfer. If the FIFO was just one word deep it will be written to the only location available.
17.3.7
Interrupt control
The BSPI generates one interrupt based upon the status bits monitoring the transmit and
receive logic. The interrupt is acknowledged or cleared by subsequent read or write
operations which remove the error or status update condition. It is the responsibility of the
programmer to ascertain the source of the interrupt and then remove the error condition or
alter the state of the BSPI. In the case of multiple errors the interrupt will remain active until all
interrupt sources have been cleared.
For example, in the case of TFE, whenever the last word has been transferred to the transmit
buffer, the TFE flag is asserted. If interrupts are enabled then an interrupt will be asserted to
the processor. To clear the interrupt the user must write at least one data word into the FIFO,
or disable the interrupts if this condition is valid.
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