Dear Sir or Madam,
I am trying to use the TI TRF7970a chip in card emulation mode (emulating Type 4A tag) together with the STM32L05 MCU. For this purpose I have ported the NFCLink library provided by TI to the MCU I am currently using (changed the SPI drivers, timers, and few other minor things). For the PCD I use the NFC Tools app on Iphone 8 with IOS 14.5 and Nokia 6 with Android 8.1.0.
I do get the REQA command from the PCD (in the NFC_waitForCommand function) and send back the ATQA response to the PCD (in the NFC_Target_StateMachine function). However, the major problem I am facing is that after I send back the response and I go to the NFC_PARAMETER_SELECTION state, and I call the NFC_waitForCommand function to wait for the Select cascade 1 command it seems that I don't get any response back as a result.
If I save all the outputs from the TRF79x0_irqHandler function I get something which I wouldn't expect. Below I attach how I save the outputs from the interrupt handler.

The actual outputs are as following:


I would expect that after the RX_COMPLETE I would have only one TX_COMPLETE as transmit the ATQA response only once.
If you need any additional info please let me know.
Any help will be greatly appreciated as I am stuck at this for quite some time now, and I have no idea how I can proceed.
Kind regards,
Ivan Vlaykov