Skip to main content
Visitor II
May 30, 2025
Solved

ST25R3916B MIFARE Classic Emulation Issue

  • May 30, 2025
  • 1 reply
  • 409 views

"I modified the card emulation routine in codebase STEVAL-25R3916B_V2.1.0 by changing RFAL_ISODEP_CMD_RATS to 0x60. After receiving 0x60, the authentication handshake is initiated. The problem arises when using rfalStartTransceive(&ctx) with the following configuration:

 

 
ctx.flags = RFAL_TXRX_FLAGS_CRC_TX_MANUAL | 
 RFAL_TXRX_FLAGS_CRC_RX_KEEP | 
 RFAL_TXRX_FLAGS_NFCIP1_OFF | 
 RFAL_TXRX_FLAGS_AGC_ON | 
 RFAL_TXRX_FLAGS_PAR_RX_KEEP | 
 RFAL_TXRX_FLAGS_PAR_TX_NONE;
 

Why is the RFAL layer automatically adding parity bits despite PAR_TX_NONE being set?"

This topic has been closed for replies.
Best answer by Ulysses HERNIOSUS

Hi,

the DS should have a note "1. Supported in reader modes only, not supported in card emulation modes."

RFAL should probably check and refuse such unsupported configuration.

BR, Ulysses

1 reply

Ulysses HERNIOSUS
Technical Moderator
June 2, 2025

Hi,

the DS should have a note "1. Supported in reader modes only, not supported in card emulation modes."

RFAL should probably check and refuse such unsupported configuration.

BR, Ulysses