Is there any possibility to detect active state on the more than one pin using sense mechanism? GPIOTE_IRQHandler is blocked when it detect active state on the one of the used pins. How to deal with it?
Is there any possibility to detect active state on the more than one pin using sense mechanism? GPIOTE_IRQHandler is blocked when it detect active state on the one of the used pins. How to deal with it?
Hello.
To finish our discussion. Transmitter sends to nRF examplary sequence:
OUTPUT1_HIGH;
delay_ms(1);
OUTPUT2_HIGH;
delay_ms(10);
OUTPUT2_LOW;
OUTPUT1_LOW;
nRF51422 part:
void GPIOTE_IRQHandler(void)
{
if ((NRF_GPIOTE->EVENTS_PORT != 0) && (NRF_GPIOTE->INTENSET & GPIOTE_INTENSET_PORT_Msk))
{
NRF_GPIOTE->EVENTS_PORT = 0;
NVIC_ClearPendingIRQ(GPIOTE_IRQn);
if(nrf_gpio_pin_read(INPUT1)==1)
{
flag1=true;
}
if(nrf_gpio_pin_read(INPUT2)==1)
{
flag2=true;
}
}
}
Is it possible to detect OUTPUT2 signal ?
Best regards, PW
Hi , what about in nRF51822, Is the behaviour same there also?
Hi , what about in nRF51822, Is the behaviour same there also?