ST25RU3993 slow RSSI reading
Hello,
I am currently using the SDK for this evaluation board to read the RSSI for my single tag withing a frequency bandwidth. my problem is that this process with my C# code takes like a minute and is not real time.
in further details here is my code for each frequency:
{
demo_SetupGen2Config( true, false, STUHFL_D_USED_ANTENNA.ANTENNA_1, STUHFL_D_TUNING_ALGO.FAST)
for (int cnt = 0; cnt < number_of_mean_rounds; cnt++) {
inventory.execute();
STUHFL_T_InventoryTag tag = inventory.tagList[0];
rssilinI_cnt = (int)tag.rssilinI;
rssilinQ_cnt = (int)tag.rssilinq;
}
}
// end of code
Now can you help how to improve speed of my code?
for example can I use frequency hopping mode for reading RSSI ?
or is there anything I can do just for setting frequency instead of calling the SetupGen2Config function for each frequency?
or is there other option for reading tags other than inventory.execute() that can do 10 times reading (for averagig) faster and allow me to read the RSSI from it?
warm regards,
Mostafa
