| 数据搜索系统,热门电子元器件搜索 |
|
STRFNFCA 数据表(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STRFNFCA 数据表(HTML) 12 Page - STMicroelectronics |
|
12 / 74 page ![]() Communication protocols STRFNFCA 12/74 Doc ID 023077 Rev 10 STRFNFCA will reply with an error code meaning its input buffer is full. The user can now restart a UART exchange. 4.2 Serial peripheral interface (SPI) 4.2.1 Polling mode In order to send commands and receive replies, the application software has to perform 3 steps. 1. Send the command to the STRFNFCA. 2. Poll the STRFNFCA until it is ready to transmit the response. 3. Read the response. The application software should never read data from the STRFNFCA without being sure that the STRFNFCA is ready to send the response. The maximum allowed SPI communication speed is fSCK. A Control byte is used to specify a communication type and direction: ● 0x00: Send command to the STRFNFCA ● 0x03: Poll the STRFNFCA ● 0x02: Read data from the STRFNFCA ● 0x01: Reset the STRFNFCA The SPI_SS line is used to select a device on the common SPI bus. The SPI_SS pin is active low. When the SPI_SS line is inactive, all data sent by the Master device is ignored and the MISO line remains in High Impedance state. In Slave mode, the phase and polarization are defined with CPOL = 1 and CPHA = 1 or CPOL = 0 and CPHA = 0. Figure 8. Sending command to STRFNFCA Figure 9. Polling the STRFNFCA until it is ready MOSI 0 0 0 0 0 0 0 0 CMD LEN DATA DATA Control Byte MISO X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X Several data bytes MOSI 0 0 0 0 0 0 1 1 X X X X X X 1 1 X X X X X X 1 1 X X X X X X 1 1 Control Byte MISO X X X X X X X X Flag Flag Flags are polled until data is ready (Bit 3 is set when data is ready) 0 0 0 0 0 X X X 0 0 0 0 0 X X X 0 0 0 0 1 X X X |
|
链接网址 |
| 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 |