cancel
Showing results for 
Search instead for 
Did you mean: 

How to multiplex antennas with the ST25R39xx and RFAL

smithderek2000
Associate III

Hello,

I have an application whereby we have one ST25R3916B connected to 8 different antennas through relays. We need to read each antenna but with about 5-10 seconds between. This should allow enough time to initialize each antenna including AAT. The question is how is the best way to do this with the RFAL? I'm using the Polling Demo as a starting point since that looked like the easiest. Is this the correct order of operations? Will this properly clear out any lower level state variables that should be cleared between the different antennas?

Stop the IC, using rfalNfcDeactivate(RFAL_NFC_DEACTIVATE_IDLE)

Pause rfalNfcWorker()

<switch the antenna relay, and wait for it to settle>

Do everything in demoIni(), including

rfalNfcInitialize()

Configure the discParams,

Next, do the stuff in state DEMO_ST_START_DISCOVERY, including:

Deactivate again (???)

rfalNfcDiscover with our discParams

Next, do everything in DEMO_ST_DISCOVERY to read the UUID of the tag and be done.

1 ACCEPTED SOLUTION

Accepted Solutions
Ulysses HERNIOSUS
ST Employee

Hi,

sounds about right what you plan. After issuing rfalNfcDeactivate(RFAL_NFC_DEACTIVATE_IDLE), please wait for RFAL_NFC_STATE_IDLE to be actually entered.

Best Regards, Ulysses

View solution in original post

1 REPLY 1
Ulysses HERNIOSUS
ST Employee

Hi,

sounds about right what you plan. After issuing rfalNfcDeactivate(RFAL_NFC_DEACTIVATE_IDLE), please wait for RFAL_NFC_STATE_IDLE to be actually entered.

Best Regards, Ulysses