ST25R3911B - Low Datarate @ NFC_V_ISO15693
Hi there,
we are using ST25R3911B in combination with STM32F303CCTX. Also we are using the "NFC_V_ISO15693" and also the sourcecode from ST to handle the complete communication between ST25R3911B, STM32F303CCTX and also the RFID Tag.
But there seems to be a problem when writing to "large" RFID Tags (size = 2048Bytes).
So when writing a complete Array of 2048 Bytes to an 2048Byte sized Tag, the for loop takes 3200ms. --> 2048Byte /3200ms = 640Byte/s which seems to be very slow / bad.
By ST, there is only one function to write to an RFID-Tag, called "rfalNfvWriteSingleBlock".
enableRfidField(selectedRfidStandard);
uint8_t writePackage[8];
errorCode = rfalNfcvPollerInitialize();
errorCode = rfalNfvSelect(RFAL_NFCV_REQ_FLAG_DEFAULT, tagUID);
for(int j=0;j<writeBlockConfig.blockNr;j++){
// copy buffered array to writePackage
memcpy(&writePackage[0], &dataBuffer[j * 8], sizeof(writePackage));
// device is in write mode, so all received data will be written into RFID tag
errorCode = rfalNfvWriteSingleBlock(RFAL_NFCV_REQ_FLAG_DEFAULT, 0, j, writePackage, 8);
}I also checked the SPI Interface configuration, because of possible slow SPI Communication while writing to RFID Tag:
Frame Format: Motorola
Data Size : 8Bits
First Bit: MSB First
Prescaler :2
Baudrate : 4.0 MBits/s
Clock Phase : 2 Edge
CRC Calculation : disabled
NSS Signal Type : Software
Do you have some ideas for the slow communication?
Thanks in advance.
Regards
Martin
