| 数据搜索系统,热门电子元器件搜索 |
|
STS1TX 数据表(PDF) 48 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STS1TX 数据表(HTML) 48 Page - STMicroelectronics |
|
48 / 70 page ![]() MCU interface STS1TX 48/70 DocID025109 Rev 1 10 MCU interface Communication with the MCU goes through a standard 4-wire SPI interface and 4 GPIOs. The device is able to provide a system clock signal to the MCU. MCU performs the following operations: • Program the STS1TX in different operating modes by sending commands • Read and write buffered data, and status information from the SPI • Get interrupt requests from the GPIO pins • Apply external signals to the GPIO pins 10.1 Serial peripheral interface The STS1TX is configured by a 4-wire SPI-compatible interface (CSn, SCLK, MOSI, and MISO). More specifically: • CSn: chip select, active low • SCLK: bit clock • MOSI: data from MCU to STS1TX (STS1TX is the slave) • MISO: data from STS1TX to MCU (MCU is the master). As the MCU is the master, it always drives the CSn and SCLK. According to the active SCLK polarity and phase, the STS1TX SPI can be classified as mode 1 (CPOL=0, CPHA=0), which means that the base value of SCLK is zero, data are read on the clock’s rising edge and data are changed on the clock's falling edge. The MISO is in tri-state mode when CSn is high. All transfers are done most significant bit first. The SPI can be used to perform the following operations: • Write data (to registers or FIFO queue) • Read data (from registers or FIFO queue) • Write commands. The SPI communication is supported in all the active states, and also during the low power state: STANDBY and SLEEP (see Table 18: States). When accessing the SPI interface, the two status bytes of the MC_STATE[1:0] registers are sent to the MISO pin. The timing diagrams of the three operations above are reported below. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |