Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

dsPIC33/PIC24 Family Reference Manual
DS70000582E-page 50 2009-2013 Microchip Technology Inc.
15.5.4 T = 1 PROTOCOL COMMUNICATION
Transmission with T = 1:
1. Set URXEN to 0 and UTXEN to 1.
2. Write data into UxTXREG.
3. Program the value of BWT to UxWTCL/H and set WTCIE (UxSCINT<1>) to 1.
4. Take appropriate actions according to the ISO 7816 standard if the WTCIF, GTCIF and/or
TXRPTIF bits are set.
5. Set the LAST = 1 bit (UxTXREG<15>) for the last byte of data.
Reception with T = 1:
1. Set UTXEN to 0 and URXEN to 1.
2. Read the UxRXREG as the data becomes available upon the receive interrupt.
3. Program the value of CWT to UxWTCL/H and set WTCIE (UxSCINT<1>) to 1.
4. Take appropriate actions according to the ISO 7816 standard if the WTCIF, GTCIF and/or
RXRPTIF bits are set.
Note: For the last character, the user must ensure the guard time is satisfied before trans-
mitting the response. The GTC may be used for this purpose, whereas the WTC
interrupt may be disabled or ignored.

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh