ISO7816 prococol(ISO/IEC 7816 integrated circuit card, especially smart card) is supported in this chip. It shares the same hardware module with the UART. The half-duplex mode of the 7816 module is achieved by switching between transmit and receive on one pin. In fact, the transmission of the 7816 module uses the transmission of the UART module, and the reception uses the reception of the UART module. In order to ensure that the two modes are freely switched on the same pin, special processing is done on the chip design to ensure that only one register is needed for control.
In order to facilitate users to quickly develop products according to their own needs, TSI provide the following related APIs and examples.
APIs list | Description | Example | Update Date | Status |
---|---|---|---|---|
s7816_set_clk() | set clock frequency of 7816 | API-7816-CASE1 | 2019-1-10 | Done |
s7816_set_rx_buf() | set the address and size of rx buffer for 7816 | API-7816-CASE1 | 2019-1-10 | Done |
s7816_set_pin() | set the port for 7816 module | API-7816-CASE1 | 2019-1-10 | Done |
s7816_dma_send() | send a packet of data in DMA mode | API-7816-CASE1 | 2019-1-10 | Done |
s7816_set_half_duplex() | set half duplex mode | API-7816-CASE1 | 2019-1-10 | Done |
TSI provides the following examples of this module to help users quickly understand and apply related modules.
Examples list | Description | Update Date | Status |
---|---|---|---|
API-7816-CASE1 | 7816 in Tx Mode | 2019-1-10 | Done |
API-7816-CASE2 | 7816 in Rx Mode | 2019-1-10 | Done |
Date | Description | Author |
---|---|---|
2019-1-10 | initial release | LJW |