| 数据搜索系统,热门电子元器件搜索 |
|
SPIRIT1 数据表(PDF) 66 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
SPIRIT1 数据表(HTML) 66 Page - STMicroelectronics |
|
66 / 94 page ![]() MCU interface SPIRIT1 66/94 Doc ID 022758 Rev 3 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 SPIRIT1 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 SPIRIT1 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 SPIRIT1 (SPIRIT1 is the slave) ● MISO: data from SPIRIT1 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 SPIRIT1 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. 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. Figure 11. SPI “write” operation |
|
链接网址 |
| 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 |