This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52832 gpiote no trigger after running awhile

I'm using nrf52832 with st25r3911b to let device read & write NFC card.

I modified nRF5SDK160098a08e2\examples\ble_central\ble_app_uart_c\pca10040\s132\ses to do this.

To communicate with st25r3911, there are spi & a interrupt pin.

whether I set GPIOTE_CONFIG_IN_SENSE_LOTOHI(false); or GPIOTE_CONFIG_IN_SENSE_LOTOHI(true);

they are the same problem.

Strangely , it is not that there is no interrupt signal at the beginning.
After the problem occurs,there are still a few interruptions.

void in_pin_handler(nrfx_gpiote_pin_t pin, nrf_gpiote_polarity_t action) {
    if ((pin == NFC_INT_Pin)&&(nfc_int)) {
        void (*pfunction)(void);
        if ((pfunction = (void (*)(void))callbackArray[function_num]) != NULL)
            pfunction();
    }
}

void nfc_gpiote_lo(void) {
    ret_code_t err_code;
    if (!nrf_drv_gpiote_is_init()) {
        err_code = nrf_drv_gpiote_init();
        APP_ERROR_CHECK(err_code);
    }

    nrf_drv_gpiote_in_config_t config = GPIOTE_CONFIG_IN_SENSE_LOTOHI(false); //no accuracy
    config.pull = NRF_GPIO_PIN_NOPULL;
    config.skip_gpio_setup = false;
    err_code = nrf_drv_gpiote_in_init(NFC_INT_Pin, &config, in_pin_handler);
    nrf_drv_gpiote_in_event_enable(NFC_INT_Pin, true);
    nfc_int=true;
    APP_ERROR_CHECK(err_code);
}
//if triggered,in_pin_handler()'s pfunction() will do st25r3911Isr();
void st25r3911Isr( void )
{
	  isr_times++;
    st25r3911CheckForReceivedInterrupts();
    
    if (NULL != st25r3911interrupt.callback)
        st25r3911interrupt.callback();
}

the problem will occur after doing rfalInitialize(),but isr_times equals to previous action rfalWakeUpModeStop() or equals to 0.

If the problem occurs, I cannot Inventory ISO15693 card at all.

I checked nfc interrupt pin with Oscilloscope.it works fine.

I also try not to scan, but not help this problem.

the problem is,why nrf52832 no normal(enough) trigger after running a while?

how to fix it?

[0m<info> app: NFC Wake up! isr = 1[0m.........................................................card near
[0m<info> app: rfalWakeUpModeStop()=0! isr = 1,scan_times=0[0m
[0m<info> app: rfalInitialize()=0! isr = 6,scan_times=2[0m
[0m<info> app: iso15693Initialize()=0! isr = 7,scan_times=2[0m
[0m<info> app: iso15693Inventory()=0! isr = 40,scan_times=2[0m
[0m<info> app: iso15693WriteSingleBlock()=4[0m............................................detect ISO15693 card
[0m<info> app: iso15693WriteSingleBlock()=4[0m
[0m<info> app: iso15693WriteSingleBlock()=4[0m
[0m<info> app: iso15693ReadMultipleBlocks()=4[0m
[0m<info> app: iso15693Deinitialize()=0! isr = 54,scan_times=2[0m
[0m<info> app: rfalDeinitialize()=0! isr = 54,scan_times=2[0m
[0m<info> app: rfalInitialize()=0! isr = 5,scan_times=1[0m
[0m<info> app: iso15693Initialize()=0! isr = 6,scan_times=1[0m
[0m<info> app: iso15693Inventory()=16! isr = 38,scan_times=1[0m.................no ISO15693 card detect
[0m<info> app: iso15693Deinitialize()=0! isr = 38,scan_times=1[0m
[0m<info> app: rfalDeinitialize()=0! isr = 38,scan_times=1[0m
[0m<info> app: rfalInitialize()=0! isr = 5,scan_times=0[0m
[0m<info> app: iso15693Initialize()=0! isr = 6,scan_times=0[0m
[0m<info> app: iso15693Inventory()=16! isr = 38,scan_times=0[0m
[0m<info> app: iso15693Deinitialize()=0! isr = 38,scan_times=0[0m
[0m<info> app: rfalDeinitialize()=0! isr = 38,scan_times=0[0m
[0m<info> app: rfalWakeUpModeStart()=0! isr = 0,scan_times=0[0m

...after running awhile

[0m<info> app: NFC Wake up! isr = 1[0m..........................................................card near
[0m<info> app: rfalWakeUpModeStop()=0! isr = 1,scan_times=0[0m
[0m<info> app: rfalInitialize()=0! isr = 6,scan_times=2[0m
[0m<info> app: iso15693Initialize()=0! isr = 7,scan_times=2[0m
[0m<info> app: iso15693Inventory()=0! isr = 40,scan_times=2[0m
[0m<info> app: iso15693WriteSingleBlock()=4[0m............................................detect ISO15693 card
[0m<info> app: iso15693WriteSingleBlock()=4[0m
[0m<info> app: iso15693WriteSingleBlock()=4[0m
[0m<info> app: iso15693ReadMultipleBlocks()=0[0m
[0m<info> app: iso15693Deinitialize()=0! isr = 55,scan_times=2[0m
[0m<info> app: rfalDeinitialize()=0! isr = 55,scan_times=2[0m
[0m<info> app: rfalInitialize()=0! isr = 0,scan_times=1[0m
[0m<info> app: INT_ERROR: false[0m..............................................................interrupt no trigger
[0m<info> app: iso15693Initialize()=0! isr = 1,scan_times=1[0m
[0m<info> app: iso15693Inventory()=16! isr = 33,scan_times=1[0m
[0m<info> app: iso15693Deinitialize()=0! isr = 33,scan_times=1[0m
[0m<info> app: rfalDeinitialize()=0! isr = 33,scan_times=1[0m
[0m<info> app: rfalInitialize()=0! isr = 0,scan_times=0[0m
[0m<info> app: INT_ERROR: false[0m..............................................................interrupt no trigger
[0m<info> app: iso15693Initialize()=0! isr = 0,scan_times=0[0m
[0m<info> app: rfalInitialize()=0! isr = 1,scan_times=0[0m
[0m<info> app: INT_ERROR: false[0m..............................................................interrupt no trigger
[0m<info> app: iso15693Inventory()=16! isr = 1,scan_times=0[0m
[0m<info> app: iso15693Deinitialize()=0! isr = 1,scan_times=0[0m
[0m<info> app: rfalDeinitialize()=0! isr = 1,scan_times=0[0m
[0m<info> app: rfalWakeUpModeStart()=0! isr = 0,scan_times=0[0m

[0m<info> app: NFC Wake up! isr = 1[0m..........................................................card near
[0m<info> app: rfalWakeUpModeStop()=0! isr = 1,scan_times=0[0m
[0m<info> app: rfalInitialize()=0! isr = 1,scan_times=2[0m
[0m<info> app: INT_ERROR: false[0m..............................................................interrupt no trigger
[0m<info> app: iso15693Initialize()=0! isr = 1,scan_times=2[0m
[0m<info> app: rfalInitialize()=0! isr = 2,scan_times=2[0m
[0m<info> app: INT_ERROR: false[0m..............................................................interrupt no trigger
[0m<info> app: rfalInitialize()=0! isr = 2,scan_times=2[0m
[0m<info> app: INT_ERROR: false[0m..............................................................interrupt no trigger
[0m<info> app: iso15693Inventory()=16! isr = 2,scan_times=2[0m
[0m<info> app: iso15693Deinitialize()=0! isr = 2,scan_times=2[0m
[0m<info> app: rfalDeinitialize()=0! isr = 2,scan_times=2[0m
[0m<info> app: rfalInitialize()=0! isr = 0,scan_times=1[0m
[0m<info> app: INT_ERROR: false[0m..............................................................interrupt no trigger
[0m<info> app: iso15693Initialize()=0! isr = 0,scan_times=1[0m
[0m<info> app: rfalInitialize()=0! isr = 1,scan_times=1[0m
[0m<info> app: INT_ERROR: false[0m..............................................................interrupt no trigger
[0m<info> app: iso15693Inventory()=16! isr = 1,scan_times=1[0m
[0m<info> app: iso15693Deinitialize()=0! isr = 1,scan_times=1[0m
[0m<info> app: rfalDeinitialize()=0! isr = 1,scan_times=1[0m
[0m<info> app: rfalInitialize()=0! isr = 0,scan_times=0[0m
[0m<info> app: INT_ERROR: false[0m..............................................................interrupt no trigger
[0m<info> app: iso15693Initialize()=0! isr = 0,scan_times=0[0m
[0m<info> app: rfalInitialize()=0! isr = 1,scan_times=0[0m
[0m<info> app: INT_ERROR: false[0m..............................................................interrupt no trigger
[0m<info> app: rfalInitialize()=0! isr = 1,scan_times=0[0m
[0m<info> app: INT_ERROR: false[0m..............................................................interrupt no trigger
[0m<info> app: iso15693Inventory()=16! isr = 1,scan_times=0[0m
[0m<info> app: iso15693Deinitialize()=0! isr = 1,scan_times=0[0m
[0m<info> app: rfalDeinitialize()=0! isr = 1,scan_times=0[0m
[0m<info> app: rfalWakeUpModeStart()=0! isr = 0,scan_times=0

  • Hi,

    What happens inside rfalInitialize()? What is the isr_times used for? Are you staying inside some interrupt context that is blocking the GPIOTE interrupt from happening? What is the configured interrupt priority for the GPIOTE driver?

    Can you provide a minimal project and instructions that we can use to reproduce this issue?

    Best regards,
    Jørgen

  • Hi,

    1. in rfalInitialize(),it sets some parameters and send they to st25r3911b with spi.

    2. isr_times increases when nfc interrupt event trigger, I just use it to know whether interrupt triggered?it not, I want to do something to fix it. but the problem now is that nrf52832 cannot detect trigger, although I restart the st25r3911b, or uinit&re-init spi or uinit gpiote&re-init gpiote.

    3.I don't know what will block GPIOTE interrupt.

    4.
    #ifndef NRFX_GPIOTE_CONFIG_IRQ_PRIORITY
    #define NRFX_GPIOTE_CONFIG_IRQ_PRIORITY 6
    #endif

    5.my code is in

    https://drive.google.com/drive/folders/1ZMLQillWQC6eOTmq_5DALSO1jvZpPe1C?usp=sharing

    but if you don't have st25r3911b, i don't know how to let you reproduce the issue?

    thanks.

    Nick

  • Can you enable DEBUG level logging for the GPIOTE driver, by setting NRFX_GPIOTE_CONFIG_LOG_ENABLED to 1 and NRFX_GPIOTE_CONFIG_LOG_LEVEL to 4? NRF_LOG_DEFAULT_LEVEL must also be set to 4.

    If you can also add logging inside the different handlers and functions, to see if something is blocking, that would maybe help us determine what happens.

  • Hi,

    setting gpiote log

    logging below

    <info> app_timer: RTC: initialized.
    <debug> ble_scan: Adding filter on PKMOTO name
    <info> GPIOTE: Function: nrfx_gpiote_init, error code: NRF_SUCCESS.
    <info> GPIOTE: Function: nrfx_gpiote_in_init, error code: NRF_SUCCESS.
    <info> app: BLE UART central example started.
    <debug> ble_scan: Scanning
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: rfalInitialize()=0! isr = 6,scan_times=2
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693Initialize()=0! isr = 7,scan_times=2
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693Inventory()=16! isr = 39,scan_times=2
    <info> app: iso15693Deinitialize()=0! isr = 39,scan_times=2
    <info> app: rfalDeinitialize()=0! isr = 39,scan_times=2
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: rfalInitialize()=0! isr = 5,scan_times=1
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693Initialize()=0! isr = 6,scan_times=1
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693Inventory()=16! isr = 37,scan_times=1
    <info> app: iso15693Deinitialize()=0! isr = 37,scan_times=1
    <info> app: rfalDeinitialize()=0! isr = 37,scan_times=1
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: rfalInitialize()=0! isr = 5,scan_times=0
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693Initialize()=0! isr = 6,scan_times=0
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693Inventory()=16! isr = 37,scan_times=0
    <info> app: iso15693Deinitialize()=0! isr = 37,scan_times=0
    <info> app: rfalDeinitialize()=0! isr = 37,scan_times=0
    <info> app: rfalWakeUpModeStart()=0! isr = 0,scan_times=0
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: NFC Wake up! isr = 1
    <info> app: rfalWakeUpModeStop()=0! isr = 1,scan_times=0
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: rfalInitialize()=0! isr = 6,scan_times=2
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693Initialize()=0! isr = 7,scan_times=2
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693Inventory()=0! isr = 39,scan_times=2
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693WriteSingleBlock()=4
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693WriteSingleBlock()=4
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693WriteSingleBlock()=4
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693ReadMultipleBlocks()=0
    <info> app: iso15693Deinitialize()=0! isr = 54,scan_times=2
    <info> app: rfalDeinitialize()=0! isr = 54,scan_times=2
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: rfalInitialize()=0! isr = 5,scan_times=1
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693Initialize()=0! isr = 6,scan_times=1
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693Inventory()=16! isr = 38,scan_times=1
    <info> app: iso15693Deinitialize()=0! isr = 38,scan_times=1
    <info> app: rfalDeinitialize()=0! isr = 38,scan_times=1
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: rfalInitialize()=0! isr = 5,scan_times=0
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693Initialize()=0! isr = 6,scan_times=0
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: iso15693Inventory()=16! isr = 38,scan_times=0
    <info> app: iso15693Deinitialize()=0! isr = 38,scan_times=0
    <info> app: rfalDeinitialize()=0! isr = 38,scan_times=0
    <info> app: rfalWakeUpModeStart()=0! isr = 0,scan_times=0
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: NFC Wake up! isr = 1
    <info> app: rfalWakeUpModeStop()=0! isr = 1,scan_times=0
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: rfalInitialize()=0! isr = 1,scan_times=2
    <info> app: INT_ERROR
    <info> app: rfalDeinitialize()=0! isr = 1,scan_times=2
    <info> app: iso15693Initialize()=21! isr = 0,scan_times=2
    <info> app: rfalDeinitialize()=0! isr = 0,scan_times=2
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: rfalInitialize()=0! isr = 0,scan_times=1
    <info> app: INT_ERROR
    <info> app: rfalDeinitialize()=0! isr = 0,scan_times=1
    <info> app: iso15693Initialize()=21! isr = 0,scan_times=1
    <info> app: rfalDeinitialize()=0! isr = 0,scan_times=1
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <debug> GPIOTE: PORT event for pin: 12, polarity: 1.
    <info> app: rfalInitialize()=0! isr = 0,scan_times=0
    <info> app: INT_ERROR
    <info> app: rfalDeinitialize()=0! isr = 0,scan_times=0
    <info> app: iso15693Initialize()=21! isr = 0,scan_times=0
    <info> app: rfalDeinitialize()=0! isr = 0,scan_times=0
    <info> app: rfalWakeUpModeStart()=0! isr = 0,scan_times=0

    so the problem is, there are interruption detect.But it didn't go to my handler function?

    thanks

    Nick

  • Hi

    I found the problem, it is because of timer setting error for nfc timer expired.

    thanks

Related