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

X  

STMPE811 数据表(PDF) 12 Page - STMicroelectronics

部件名 STMPE811
功能描述  8-bit port expander with advanced touchscreen controller
PDF  54 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STMPE811 数据表(HTML) 12 Page - STMicroelectronics

Back Button STMPE811 Datasheet HTML 8Page - STMicroelectronics STMPE811 Datasheet HTML 9Page - STMicroelectronics STMPE811 Datasheet HTML 10Page - STMicroelectronics STMPE811 Datasheet HTML 11Page - STMicroelectronics STMPE811 Datasheet HTML 12Page - STMicroelectronics STMPE811 Datasheet HTML 13Page - STMicroelectronics STMPE811 Datasheet HTML 14Page - STMicroelectronics STMPE811 Datasheet HTML 15Page - STMicroelectronics STMPE811 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 54 page
background image
SPI interface
STMPE811
12/54
5
SPI interface
The SPI interface in STMPE811 uses a 4-wire communication connection (DATA IN, DATA
OUT, CLK, CS). In the diagram, “Data in” is referred to as MOSI (master out slave in) and
“DATA out” is referred to as MISO (master in slave out).
5.1
SPI protocol definition
The SPI (serial peripheral interface) follows a byte sized transfer protocol. All transfers begin
with an assertion of CS_n signal (falling edge). The protocol for reading and writing is
different and the selection between a read and a write cycle is dependent on the first
captured bit on the slave device. A '1' denotes a read operation and a '0' denotes a write
operation. The SPI protocol defined in this section is shown in Figure 3.
The following are the main features supported by this SPI implementation.
Support of 1 MHz maximum clock frequency.
Support for autoincrement of address for both read and write.
Full duplex support for read operation.
Daisy chain configuration support for write operation.
Robust implementation that can filter glitches of up to 50 ns on the CS_n and SCL pins.
Support for all 4 modes of SPI as defined by the CPHA, CPOL bits on SPICON.
5.1.1
Register read
The following steps need to be followed for register read through SPI.
1.
Assert CS_n by driving a '0' on this pin.
2.
Drive a '1' on the first SCL launch clock on MOSI to select a read operation.
3.
The next 7 bits on MOSI denote the 7-bit register address (MSB first).
4.
The next address byte can now be transmitted on the MOSI. If the autoincrement bit is
set, the following address transmitted on the MOSI is ignored. Internally, the address is
incremented. If the autoincrement bit is not set, then the following byte denotes the
address of the register to be read next.
5.
Read data is transmitted by the slave device on the MISO (MSB first), starting from the
launch clock following the last address bit on the MOSI.
6.
Full duplex read operation is achieved by transmitting the next address on MOSI while
the data from the previous address is available on MISO.
7.
To end the read operation, a dummy address of all 0's is sent on MOSI.



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


数据表 下载

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