Page
33
of
77
Copyright © Access-IS 2020
6.2 Serial communication
6.2.1 Communication parameters
The NFC module in a serial-connected LSR118 uses the following default serial communication
settings. Change the serial device baud rate using the
Set serial interface baud rate
Table 11. Serial communication default parameters
Parameter
Value
Baud rate
115200
Data format
8 bits
Parity
None
Stop bits
1
Flow control
RTS/CTS
6.2.2 Communicating with individual readers
The individual readers inside the NFC module are identified by unique slot IDs. All CCID packets
should have a CCID header, which has a byte field called
bSlot
. This field specifies the slot ID of
the reader with which the application wishes to communicate.
The slot ID value uniquely identifies the reader (within NFC module) to which the CCID packet is
sent, and identifies the reader which is sending the response back to the application.
Table 12 shows the Slot ID values and their mapping to the readers.
Table 12. Slot ID and reader mappings
Slot ID value
Reader
0
NFC
1
Smartcard #0 (SMC0)
2
Smartcard #1 (SMC1)
3
Smartcard #2 (SMC2)
4
Smartcard #3 (SMC3)
[0xFF]
Management
The Management Interface is used to set the operating and debug parameters of the NFC module.
Note: Do not send commands to a reader that is not enabled.
6.2.3 Communication format
The data is sent to and from the NFC module in 64-byte chunks. Figure 10 shows how the NFC
module transfers a 256-byte CCID packet.