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

Setting NRF8001 in Interrupt Mode?

Hello Everyone,

Im using the NRF8001 for my application and was looking through the arduino SDK provided by nordic.

I want to run the device in UART mode but do not want to poll. Instead i would like to sleep the microcontroller and then wake it up with the RDYN pin as an interrupt.

I was looking through the code and saw this piece... in ble-sdk-arduino/libraries/BLE/examples/ble_uart_project_template/ble_uart_project_template.ino

  aci_state.aci_pins.interface_is_interrupt = false; //Interrupts still not available in Chipkit
  aci_state.aci_pins.interrupt_number       = 1;

The comment seems to imply that the interrupt is not supported? Is this true? I was under the impression that i could use the NRF8001 to generate interrupt routines for my microcontroller?

Further more i couldnt find any examples of the NRF8001 being used this way online, only polling routines which is why i am turning to you for help.

Thank you in advance!

Related