ZHCSCU3C January 2014 – September 2019 TCA5013
PRODUCTION DATA.
User card interface module in the TCA5013 has a PRES pin that is used to detect the presence of a card in that interface. In normal application the signal is connected to a switch that opens or closes when a card is inserted. Whenever a transition is seen on the PRES pin, the PRESL bit (Reg 0x00, bit 2) will be set and INT pin is asserted. Because this transition is associated with a mechanical switch, there is an internal debounce of ~20 ms before the PRESL bit is set and the INT is asserted. If the device sees a transition on the PRESL pin when the card interface is active, the device initiates a card deactivation sequence (see Deactivation Sequence). TCA5013 is capable of detecting card insertion even when it is in shutdown mode (see Shutdown Mode).
In addition to the PRESL_UC bit mentioned above, there is also a PRES_UC bit (Reg 0x00, bit 2), which indicates to the host whether or not a card is present in the user card slot. In order to accommodate different card cage topologies, the TCA5013 can be configured to detect card presence with a low to high or high to low, transition on the PRES pin. The CARD_DETECT_UC bit (Reg 0x01, bit 2) is used to configure the device for different card detection topologies. If CARD_DETECT_UC = 0 indicates to the TCA5013 that when a card is inserted in the slot, the PRES pin shall be low. CARD_DETECT_UC = 1 indicates to the host that when a card is inserted in the slot the PRES pin shall be high. The status of the PRES_UC bit is based on the status of the PRES pin and the CARD_DETECT_UC bit. The truth table in Table 1 shows the PRES_UC bit status based on the CARD_DETECT_UC bit and the PRES pin. When coming out of power off mode (see Power Off Mode) or shutdown mode (see Shutdown Mode) the CARD_DETECT_UC = 0. If there is a state transition on the PRES pin when the device is in shutdown mode, the INT pin asserted (after the 20 ms debounce).
| CARD DETECT BIT | PRES PIN | PRES BIT |
|---|---|---|
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Figure 9 to Figure 14 show timing waveforms of device power up and coming out of shutdown with and without a card inserted in the system. In below figures’ low to high PRES topology’ means that a high level on the PRES pin indicates a card is present. In below figures high to low PRES topology’ means that a low level on the PRES pin indicates a card is present. The below figures also show operation of INT pin and interrupt status register. For detailed description of the interrupt operation, refer to Interrupt Operation section.
Figure 9. Card detection in shutdown mode - Low to High PRES Topology
Figure 10. Card detection in shutdown mode - High to Low PRES Topology
Figure 11. Device power up without card inserted in system - Low to High PRES Topology
Figure 12. Device power up without card inserted in system - High to Low PRES Topology
Figure 13. Device Power Up With Card Inserted in System - Low to High PRES Topology
Figure 14. Device Power up with Card Inserted In System - High to Low PRES Topology