XIAO BLE Sense - LSM6DS3 INT1 Single Tap Interrupt

Hi,

Yeah, doesn’t look like there would be a register problem. I am not sure where did you mean to use GPIO number?

The following goes to system_off it stays off with intention to test the power off

void goToPowerOff() {
  Serial.println("Going to System OFF");
  //Ensure interrupt pin from IMU is set to wake up device
  // nrf_gpio_cfg_sense_input(digitalPinToInterrupt(int1Pin), NRF_GPIO_PIN_PULLDOWN, NRF_GPIO_PIN_SENSE_HIGH);
  delay(200);
  // Trigger System OFF
  NRF_POWER->SYSTEMOFF = 1;
}

The following wakes up immediately

void goToPowerOff() {
  Serial.println("Going to System OFF");
  //Ensure interrupt pin from IMU is set to wake up device
  nrf_gpio_cfg_sense_input(digitalPinToInterrupt(int1Pin), NRF_GPIO_PIN_PULLDOWN, NRF_GPIO_PIN_SENSE_HIGH);
  delay(200);
  // Trigger System OFF
  NRF_POWER->SYSTEMOFF = 1;
}

Thanks, RW