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

X  

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

Back Button STR720 Datasheet HTML 184Page - STMicroelectronics STR720 Datasheet HTML 185Page - STMicroelectronics STR720 Datasheet HTML 186Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 188 / 401 page
background image
STR720 - BUFFERED SPI (BSPI)
188/401
17.3.2
BSPI Operation
During a BSPI transfer (see Figure 24 on page 188), data is shifted out and shifted in
(transmitted and received) simultaneously. The SCK line synchronizes the shifting and
sampling of the information. It is an output when the BSPI is configured as a master and an
input when the BSPI is configured as a slave. Selection of an individual slave BSPI device is
performed on the slave select line and slave devices that are not selected do not interfere with
the BSPI buses.
Figure 24. BSPI Bus Transfer
The CPOL (clock polarity) and CPHA (clock phase) bits of the BSPCSR1 are used to select
any of the four combinations of serial clock (see Figure 25 on page 189, Figure 26 on
page 189, Figure 27 on page 190 and Figure 28 on page 190). These bits must be the same
for both the master and slave BSPI devices. The clock polarity bit selects either an active high
or active low clock but does not affect transfer format. The clock phase bit selects the transfer
format.
There is a 16-bit shift register which interfaces directly to the BSPI bus lines. As transmit data
goes out from the register, received data fills the register.
Note
When BSPI cell is configured in Slave mode, SCLK_IN clock must be divided by a
factor of 8 or more compared with the configured peripheral clock (APB clock).
In case a clock polarity change is required when BSPI macrocell is configured in master
mode, the following sequence should be followed in order to avoid spurious clock edges
generation:
1. Write ‘0’ into both MSTR and BSPE bit in BSPCSR1 register, so to safely disable BSPI
macrocell.
2. Change CPOL and CPHA bits in BSPCSR1 register according to the required polarity set-
ting.
3. Write ‘1’ into BSPE bit of BSPCSR1 register to enable again BSPI macrocell.
4. Write ‘1’ into MSTR bit of BSPCSR1 register to configure the master mode again.
It must be noticed that the above sequence should be executed as reported, without merging
in a single instruction any of the steps.
MOSI/MISO
SCK
DATA1
8 bits
8 bits
SS
DATA0
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