Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

STMPE811 Datasheet(PDF) 15 Page - STMicroelectronics

Part # STMPE811
Description  S-Touch® advanced resistive touchscreen controller with 8-bit GPIO expander
PDF  66 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STMPE811 Datasheet(HTML) 15 Page - STMicroelectronics

Back Button 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 STMPE811 Datasheet HTML 17Page - STMicroelectronics STMPE811 Datasheet HTML 18Page - STMicroelectronics STMPE811 Datasheet HTML 19Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 15 / 66 page
background image
STMPE811
SPI interface
Doc ID 14489 Rev 5
15/66
5
SPI interface
The SPI (serial peripheral 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 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 reading
The following steps need to be followed for the register read through the 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 55 56 57 58 59 60 61 62 63 64 65 66


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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