|
MLX90132 Datasheet, PDF (23/44 Pages) Melexis Microelectronic Systems – 13.56MHz RFID / NFC Transceiver | |||
|
◁ |
MLX90132
13.56MHz RFID / NFC Transceiver
6.7 Listen command (0x05)
This command is used with the MLX90132 in Tag emulation state to listen for the command from the reader.
Before sending this command the application has to select a protocol using âProtocol Selectâ command with
the related options.
Listen0x05
Direction
MCU â device
Device - MCU
Device - MCU
Device - MCU
Device -MCU
Device - MCU
Data
05
00
00
00
82
00
83
00
85
00
8F
00
Comments
Command code
Length of data
Result code
Length of data
Error code
Length of data
Error code
Length of data
Error code
Length of data
Error code
Length of data
Example
0500 â Listen for a request from reader
0000- No error. Confirmation that device now is in listening mode
8200 - Invalid command length
8300 - Invalid protocol or protocol is not supported.
8500 - Canceled by user using âEchoâ command
8F00 - No HF field detected, command cannot be executed
Table 18: âListenâ command description
When the âlistenâ command is executed and the option âWaits for fieldâ is activated, the MLX90132 waits for
the HF field activation and corresponding request coming from an RFID reader.
If the option âReturn an error if no fieldâ is activated, the MLX90132 directly returns an error if no HF field is
detected.
If the HF field is interrupted by the reader while the MLX90132 is waiting for the request, it will leave the listen
command and return the error code 0x8F00.To wait for new request, the application must issue a new âlistenâ
command.
The user can cancel the âlistenâ mode by issuing an âechoâ command 0x55. When cancelled, the MLX90132
replies with a code 0x55 (as a sync reply) plus âCancelled by userâ message corresponding to 0x85, 0x00. To
cancel the âlistenâ mode, the following procedure should be followed:
ï· Send the ECHO command 0x55 to cancel the âlistenâ mode
ï· Set the pin SPI_NSS to low, to read back the buffer content
ï· Read the sync reply 0x55
ï· By keeping SPI_NSS low, read the rest of the buffer (could be cancelled by user 0x8500 message or
correct data information 0x80<LEN><DATA>)
ï· Set the pin SPI_NSS high to continue the operation
3901090132
Rev. 009
Page 23 of 44
Jan-2014
|
▷ |