| 数据搜索系统,热门电子元器件搜索 |
|
S2-LP 数据表(PDF) 72 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
S2-LP 数据表(HTML) 72 Page - STMicroelectronics |
|
72 / 90 page ![]() MCU interface S2-LP 72/90 DocID029944 Rev 1 Figure 25: SPI read sequence Figure 26: SPI command sequence Concerning the first byte, the MSB is an A/C bit (Address/Commands: 0 indicates that the following byte is an address, 1 indicates that the following byte is a command code), while the LSB is a W/R bit (Write/Read: 1 indicates a read operation). All other bits must be zero. Read and write operations are persistently executed while CSn is kept active (low), the address is automatically incremented (burst mode). Accessing the FIFO is done as usual with the read and write commands, by putting, as address, the code 0xFF. Burst mode is available to access the sequence of bytes in the FIFO. Clearly, RX-FIFO is accessed with a read operation, TX-FIFO with a write operation. 9.2 Interrupts In order to notify the MCU of a certain number of events an interrupt signal is generated on a selectable GPIO. The following events trigger an interrupt to the MCU: Table 56: Interrupts list Bit Events group Interrupt event 0 Packet oriented RX data ready 1 RX data discarded (upon filtering) 2 TX data sent 3 Max. re-TX reached SCLK CSn MOSI C7 Header Byte W/R 1 A/C Don ’t Care Tri-State 0 0 0 0 0 0 0 C6 C5 C4 C3 C2 C1 C0 Spirit1 Command Code MISO S15 S14 S13 S12 S11 S10 S9 S7 S6 S5 S4 S3 S2 S8 S1 S0 Spirit1 Status bits SCLK CSn MOSI C7 Header Byte W/R 1 A/C Don ’t Care Tri-State 0 0 0 0 0 0 0 C6 C5 C4 C3 C2 C1 C0 Spirit1 Command Code MISO S15 S14 S13 S12 S11 S10 S9 S7 S6 S5 S4 S3 S2 S8 S1 S0 Spirit1 Status bits |
|
链接网址 |
| 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 |