cancel
Showing results for 
Search instead for 
Did you mean: 

ST25R3911B-DISCO Data Buffer Size

itsgimbi
Associate II

At the moment, I am using the default firmware on the ST25R3911B-DISCO and have been reading and writing to a ST25DV04K tag. I know that the ST25DV04K tag supports a size of a 256-byte buffer, but I am wondering if the ST25R3911B does as well. If it does, what would I need to change in the firmware?

1 ACCEPTED SOLUTION

Accepted Solutions
Ulysses HERNIOSUS
ST Employee

Hi itsgimbi,

NFC-V in ST25R3911B is not directly supported, for receiving the Manchester stream needs to be decoded in software. So using 255 bytes of payload requires approximately 520 bytes of Manchester stream. 

ST25R3911B has a FIFO of 96 bytes.

This means software/rfalWorker has to run fast enough to be able to empty FIFO before overrunning and that the buffer used for reception needs to be big enough to hold these ~520 bytes. In our typical demos this is granted (rfalNfcvWorkingData.codingBuffer is big enough) and rfalWorker() is called frequently enough.

 

 

Best Regards, Ulysses

View solution in original post

1 REPLY 1
Ulysses HERNIOSUS
ST Employee

Hi itsgimbi,

NFC-V in ST25R3911B is not directly supported, for receiving the Manchester stream needs to be decoded in software. So using 255 bytes of payload requires approximately 520 bytes of Manchester stream. 

ST25R3911B has a FIFO of 96 bytes.

This means software/rfalWorker has to run fast enough to be able to empty FIFO before overrunning and that the buffer used for reception needs to be big enough to hold these ~520 bytes. In our typical demos this is granted (rfalNfcvWorkingData.codingBuffer is big enough) and rfalWorker() is called frequently enough.

 

 

Best Regards, Ulysses