I need to wake my uC from sleep when the nrf8001 gets in connected mode and for that I need to supply an external interrupt on hardware interrupts on the MCU.
Will active pin full fill my need?
I need to wake my uC from sleep when the nrf8001 gets in connected mode and for that I need to supply an external interrupt on hardware interrupts on the MCU.
Will active pin full fill my need?
Hi,
You should use the RDYN pin. This will be lowered by the MCU whenever the nRF8001 has an event ready.
Br,
This will be lowered by the MCU or it will get lowered by itself such that the MCU will receive a logic level low at the falling edge and this will trigger the interrupt?
I'm sorry for being unclear; the RDYN pin is handled by the nRF8001. So the MCU will get a logic level low, so you could configure it as a falling edge triggered interrupt.
Yea thats why its an output pin
About the active line: This can be enabled and can be used to wake up the MCU prior to a connection event in case you would like to prepare some data to send in the event. Note that there is some restriction to the use as it will be automatically disabled if the connection/advertisement interval is shorter than 30ms.