Download PN532 C106 application note

Transcript
AN10609_3
NXP Semiconductors
PN532 C106 application note
About PSL (Parameter Selection)
When using InJumpForDEP command, the PN532 performs automatically PSL_REQ
if the target indicates a Length Reduction value corresponding to a buffer greater
than 64 bytes. But the actual LR used remains 64 bytes since the PN532 does not
support more. Moreover, the baudrate is not changed automatically.
However, as defined in NFCIP-1 specification, further PSL_REQ sending is not
allowed. Consequently, if the user wants to change the baudrate (in reception and in
transmission), he has to use InJumpForPSL command, followed by InPSL
command.
About InDeselect command
During Data Exchange Protocol (as defined in NFCIP-1), the host controller can use
this command to resynchronise target packet numbers (PNI).
Example:
The initiator sends InDataExchange command, an error is returned. Maybe the PNI
of the response is incorrect. The initiator sends InDeselect command followed by
InDataExchange. The PNI are re-synchronised.
Timeout and number of retries
•
Initialization phase in passive mode (InListPassiveTarget, InJumpForDEP
in passive, InJumpForPSL in passive)
By default, the PN532 is configured to retry to detect a card as long as there is no
target detected. It can be changed using RFConfiguration command, item 5
(MaxRtyPassiveActivation parameter).
The timeout depends on the baudrate. At 106 kbps, paragraph 0 applies. At 212 or
424 kbps, paragraph 3.3.4.1 applies.
Either the PN532 retries to find a card, if MaxRtyPassiveActivation > 1, or it sends a
response to its host controller, indicating that zero target has been found.
•
Activation phase in passive mode (InATR)
The default timeout is set to 102.4 ms. It can be changed using RFConfiguration
command item 2.
By default, the PN532 is configured to retry an infinite number of times in case no
targets are responding. It can be changed using RFConfiguration command, item 5
(MaxRtyATR parameter).
•
Activation phase in active mode (InJumpForDEP in active, InJumpForPSL
in active)
The default timeout is set to 102.4 ms. It can be changed using RFConfiguration
command item 2.
<DOC_ID>
Application note
© NXP B.V. 2006. All rights reserved.
Rev. 1.2 — 1/14/2010
51 of 75