'Adapting PN5180 according to EMV BOOK-D. (Stage: Half-Duplex Block Transmission Protocol)

I need some code samples for the PN5180 reader. For example the following example describing the Anticollosion phase (https://www.nxp.com/design/software:SOFTWARE-CENTER#/home/query/pn5180/~filter~/relevance/0 -> Anticollision register layer for PN5180 (REV 1.1) ))

But for PN5180, "Half-Duplex Block Transmission Protocol" I need an example of the " layer. This layer deals with communication after sending a RATS and PPS command to the PICC. For example sending a DESELECT command to the PICC after this step or sending an APDU wrapped with a PCB (1byte) and EDC(2 bytes) It is related to.

In short, how is the "Half-Duplex Block Transmission Protocol" described in EMV-D adapted for PN5180? Can you share a pseudocode about it? (The PICC here is an ISO-14443-A type.)

Note: For EMV-D Half-Duplex Block Transmission Protocol: https://www.emvco.com/wp-content/uploads/2017/04/D_EMV_Contactless_Communication_Protocol_v2.6_20160... ( page: 217)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source