Hi,
yes, you can use the Generic command to send any command defined in Gen2 and also proprietary command following the Gen 2 physical interface definition.
The Generic Command input mask has the following members
- Direct Command: Define if ST25RU3993 shall handle CRC processing or not. If not CRC must be generated upfront and verified afterwards manual. See section 2.2.3 of the ST25RU3993 Datasheet for further info
- Tx Data Bit Length: Define the number of bits transmitted
- Rx Data Bit Length: Define the number of expected bits to be received
- Append RN16: Define if RN16 (handle) shall be append automatically.
- Rx no resp time: Timeout until TAG has time to respond.
- Command Data: Data to be transmitted
By default the "Generic Command" section in the "Tag Settings" dialog has pre-configured a Gen2 Read command, reading the first word in TID memory from address 0. (see EPCglobal Gen2 Read command specification)
Cmd Read (8bit) | MemBank (2bit) | WordPtr (EBV=8bit here) | WordCount (8bit) | RN (8bit) | CRC (8bit)
11000010 | 10 | 00000000 | 00000001 | AUTO when tick "Append RN16" | AUTO when use Direct Command 0x90
= > 0xC2 80 00 40, Tx valid bits = 26
In the example for the TAG reply of the Read command you need then to decode according to the Gen 2 spec
Header (1bit) | Memory Word (16bit) | RN (16bit)
=> 33bits expected, CRC is handled automatically when using Direct Command 0x90