| 전자부품 데이터시트 검색엔진 |
|
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 |
|
링크 URL |
| 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 |