| データシートサーチシステム |
|
ST25R3916B-AQWT データシート(PDF) 49 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST25R3916B-AQWT データシート(HTML) 49 Page - STMicroelectronics |
|
49 / 165 page ![]() DS13541 Rev 7 49/165 ST25R3916B ST25R3917B Application information 164 4.3 Communication with an external microcontroller The ST25R3916B and ST25R3917B communicate with a microcontroller either via an SPI interface or via an I2C interface. On both interfaces the ST25R3916B and ST25R3917B act as slave devices, relying on the microcontroller to initiate all communication. To notify the microcontroller of completed commands or external events (e.g. peer device field on) the ST25R3916B and ST25R3917B signal an interrupt on the IRQ pin. The ST25R3916B and ST25R3917B can also provide a configurable clock signal to the microcontroller on the MCU_CLK pin. 4.3.1 Interrupt interface There are four interrupt registers implemented in the ST25R3916B and ST25R3917B: • Main interrupt register • Timer and NFC interrupt register • Error and wake-up interrupt register • Passive target interrupt register When an interrupt condition is met the source of interrupt bit is set and the IRQ pin transitions to high. The microcontroller then reads the Main interrupt register to distinguish between different interrupt sources. After a particular interrupt register is read, its content is reset to 0. The IRQ pin transitions to low after the interrupt bit(s) that caused its transition to high has (have) been read. Note: There may be more than one interrupt bit set if the microcontroller does not immediately read the interrupt registers after the IRQ signal is set and another event causing an interrupt occurs. In this case the IRQ pin transitions to low after the last bit causing interrupt is read. When not using the INT pin, do not read the interrupt status before I_rxs while FIFO count is still zero (fifo_b equals 00). If an interrupt from a certain source is not required it can be disabled by setting the corresponding bit in the Mask interrupt registers. In case of masking a certain interrupt source the IRQ line is not set high, but the interrupt status bit is still set in IRQ status registers. Reading the IRQ status registers presents and clears also the masked interrupt bits. If some interrupts are masked, and set to 1 because of an IRQ event, and later on one of them unmasks the IRQ status bit that is already set, the IRQ line is immediately set to high. This notifies the host system that there are some interrupt events not yet read out. Note: It's recommended to implement a timeout on I_rxe to recover from corrupted frames when I_rxe is not signaled. Table 10. IRQ output Name Signal Level Description IRQ Digital output CMOS Interrupt output pin |
|
リンク 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 |