HI,
I am working with NT3H2111_2211 and developing an app using it.
I seem to have a problem getting the NC_REG in to the right mode. it keeps giving the value 0x3D and never going in to 0x7D. I have done some debugging and the result is as follows:
- Session Register from Mirrored Session Register (sector 3, block 0xF8)
- PTHRU_ON_OFF = 1b (value: 64)
- PTHRU_DIR = 1b (value: 1)
- FD_ON = 11b (value: 12)
- FD_OFF = 11b (value: 48)
- SRAM_MIRROR_ON_OFF = 1b (value: 2)
With this the NC_REG still gives 0x3D...
Any idea where I'm going wrong? Is there any specific issue known that could prevent it to get in to pass-through mode?
Best Regards
Markus
Hello,
Please refer to the following Application Note about how to use the pass-through mode:
https://www.nxp.com/docs/en/application-note/AN11579.pdf
Regards,
Ivan.
I have the same problem. I read AN11579 completely. It is not helpful. I can set other bits of NFC_REG. But I can't enable PASS_THROUGH. Even though I repeat to set this bit, it still can't be set.
bool bReturn = false;
NTAG_SetTransferDir(ntag_handle, RF_TO_I2C);
NTAG_GetTransferDir(ntag_handle, &bReturn);
NTAG_FD_OFF_FUNCTIONS_T ngat_fd_off;
NTAG_FD_ON_FUNCTIONS_T ngat_fd_on;
NTAG_SetFDOffFunction(ntag_handle,
I2C_LAST_DATA_READ_OR_WRITTEN_OR_RF_SWITCHED_OFF_11b);
NTAG_SetFDOnFunction(ntag_handle, DATA_READY_BY_I2C_OR_DATA_READ_BY_RF_11b);
NTAG_GetFDOffFunction (ntag_handle, &ngat_fd_off) ;
NTAG_GetFDOnFunction (ntag_handle, &ngat_fd_on) ;
do
{
for(ver_num = 0 ; ver_num < 500; ver_num++);
NTAG_SetPthruOnOff(ntag_handle, true);
NTAG_GetPthruOnOff(ntag_handle, &bReturn);
}while(bReturn != true);
// Force the counter to be placed into memory
volatile static int i = 0 ;