cancel
Showing results for 
Search instead for 
Did you mean: 

How I can increase the speed of the RFID Reader?

GPaiv.1
Associate III

I'm using the ST25R3911 kit, to create code then read continuos information by ISO14443A protocol.

I have another board ( SIC-4310) then send me continuos information, when I trying to read I lost some packages, for example, I send 64 bytes each package with one number until 0xFF : 

sending ( Payload in hex) | Received

----------------------------------------------------|----------------------------------------------------------------------

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 | 1a 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 | 1a 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4

3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 | 1a 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7

4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 | 1a 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9

5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 | 1a 12 12 12 12 12 12 12 12 12 12 12 12 12

6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 | 1a 15 15 15 15 15 15 15 15 15 15 15 15 15

7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 | 1a 18 18 18 18 18 18 18 18 18 18 18 18 18

8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 |

9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 |

10 10 10 10 10 10 10 10 10 10 10 10 10 |

11 11 11 11 11 11 11 11 11 11 11 11 11 |

12 12 12 12 12 12 12 12 12 12 12 12 12 |

13 13 13 13 13 13 13 13 13 13 13 13 13 |

14 14 14 14 14 14 14 14 14 14 14 14 14 |

15 15 15 15 15 15 15 15 15 15 15 15 15 |

16 16 16 16 16 16 16 16 16 16 16 16 16 |

17 17 17 17 17 17 17 17 17 17 17 17 17 |

18 18 18 18 18 18 18 18 18 18 18 18 18 |

Rgds,

Gabriel.

1 ACCEPTED SOLUTION

Accepted Solutions
Brian TIDAL
ST Employee

Hi Gabriel,

if I well understand, your system is more or less like this:

<---Serial Interface (Uart?) --->SIC4310 FIFO <--- RF Interface ---> ST25R3911B-DISCO

and basically you continuously send 64 bytes packets to the FIFO through the serial interface on one side and reading the FIFO with 0xB3 command on RF side, right?

If you send a new 64 bytes packet into the FIFO before it is read by the ST25R3911B reader, you'll get data loss. This a typical flow control issue (in particular if your serial interface is configured at 115 kbps whereas the RF can only handle 106 kbps...). I would suggest you check the FIFO status before sending further data or reduce the serial interface speed. On RF side, the SIC-4310 has a Type 2 RF interface and therefore the throughput is limited to 106 kbps.

As the SIC-4310 does not seem to have a public datasheet, you should maybe contact the manufacturer of this SIC-4310 card to have more information about proper flow control solutions.

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

9 REPLIES 9
Ulysses HERNIOSUS
ST Employee

Hi Gabriel,

I don't understand your data and what exactly you are doing. I think it is more related to the SIC-4310 specifics and maybe you should ask in their forum - if such exists. If you have explicit information about potential issues in the ST25R readers, please share more details about the reader behavior (exchanged RF frames, commands and data).

Regards, Ulysses

GPaiv.1
Associate III

Hi Ulysses,

I am trying to read a tag continuously, I am using the "mifareUlReadNBytes" function to do this reading and instead of using the standard TXbuf (0x30), I am using 0xB3 (SIC-4310 standard command).

Through the SIC I'm sending packets with 64bytes but I can't receive all the packages, some packages are lost due to the delay to make a request for my ST25R3911 card.

I would like to know if there is any command or value that I can change to make the ST25R3911 card able to increase the speed of requests, using the ISO14443A protocol?

Rgds, Gabriel.

Hi Gabriel,

I think speeding up throughput of ST25R3911B will not help - anyhow I don't think much can be achieved. It is limited by various guard time to achieve NFC forum compliance.

UART is full-duplex (115200?), where as NFC is only half-duplex (106kps) so it will not be possible to serve a 115200 data stream. I think you will need to check this SIC-4310 for some means of checking the state of the FIFO from both UART and NFC to effectively implement flow control.

Regards, Ulysses

Brian TIDAL
ST Employee

Hi Gabriel,

if I well understand, your system is more or less like this:

<---Serial Interface (Uart?) --->SIC4310 FIFO <--- RF Interface ---> ST25R3911B-DISCO

and basically you continuously send 64 bytes packets to the FIFO through the serial interface on one side and reading the FIFO with 0xB3 command on RF side, right?

If you send a new 64 bytes packet into the FIFO before it is read by the ST25R3911B reader, you'll get data loss. This a typical flow control issue (in particular if your serial interface is configured at 115 kbps whereas the RF can only handle 106 kbps...). I would suggest you check the FIFO status before sending further data or reduce the serial interface speed. On RF side, the SIC-4310 has a Type 2 RF interface and therefore the throughput is limited to 106 kbps.

As the SIC-4310 does not seem to have a public datasheet, you should maybe contact the manufacturer of this SIC-4310 card to have more information about proper flow control solutions.

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

HI, Brian

Exactly brian, that is my system.

Now I received all packages, but I don't arrive in 106Kbps. I arrive at my max in 16kps.

have a way of me increase my transmission?

Rgds, Gabriel.

Just to complete my last message.

SIC 4310 answer my request. 

The problem is not in the SIC 4310 but in the time of my requests I need to be made the more fast request, this way received more fast answers.

Brian TIDAL
ST Employee

Hi,

on ST25R2911B-DISCO, do you still use the USB communication with requests being triggered from the Windows Application or is the ST25R31B FW running in standalone?

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

HI,

No, I'm using de demo code available on the ST site.

Brian TIDAL
ST Employee

Hi,

you mean, you have download the Sources of STM32L4 based firmware for ST25R3911B-DISCO (STSW-ST25R002) and modified those sources to send the 0xB3 command instead of the standard 0x30 (READ) command ?

If yes, this firmware is designed for communications with a PC GUI through USB. Can you elaborate on what you have modified in this firmware: how is triggered the anticollision and how is triggered the sending of the 0xB3 command?

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.