Samples

All samples can be found in the nRF9160 Feather Samples & Drivers repository.

Included samples:

  • accelerometer
  • accelerometer_zbus
  • active_sleep
  • at_client
  • battery
  • blinky
  • bme280
  • button
  • deep_sleep
  • direct_i2c_access
  • external_flash
  • external_rtc
  • external_rtc_time_sync
  • gps
  • https
  • led_pwm
  • mfw_update
  • sms
  • temperature_sensor
  • usb_detect

active_sleep

The active_sleep sample boots up and immediately puts the device into the lowest power state possible without fully turning off or entering deep_sleep. On the nRF9151 Feather it draws approximately 5 uA at room temperature (< 10 uA on the nRF9160 Feather).

The sample achieves this by:

  • Disconnecting all GPIOs
  • Disabling the accelerometer (setting ODR to 0)
  • Suspending the external SPI NOR flash
  • Initializing and then idling the modem
  • Suspending the console UART and stopping the HF clock
  • On the nRF9151: disabling BUCK2 on the nPM1300 PMIC (which powers down the RP2040)

Important: Because this sample disables power to the RP2040, your device will no longer appear as a USB device after running it. See Recovering from active_sleep for how to restore normal operation.

The green LED is the battery charging indicator. When plugged into USB without a battery it will light up. With a battery connected, its state depends on the charge level.

DECT NR+ Samples

The nRF9151 supports DECT NR+ (Digital Enhanced Cordless Telecommunications New Radio), a license-free radio standard. Nordic provides two samples in the NCS repository under nrf/samples/dect/dect_phy/:

  • hello_dect — minimal example that transmits a DECT NR+ beacon. Good starting point for understanding the PHY layer API.
  • dect_shell — interactive shell for testing DECT NR+ functionality. Lets you configure channels, transmit/receive packets, and inspect PHY parameters at runtime.

To build the shell sample for the nRF9151 Feather:

west build -b circuitdojo_feather_nrf9151 nrf/samples/dect/dect_phy/dect_shell

Note: DECT NR+ and LTE cannot be active simultaneously on the nRF9151. Make sure the modem is in offline mode (AT+CFUN=0) before using DECT NR+.

External samples:

  • Serial Modem - used for controlling the nRF9151 via UART from another application processor.
  • Asset Tracker Template - template for common use case of asset tracking provided by Nordic.

Both of these samples can be setup the same way it's done in the Setup using Circuit Dojo Zephyr Tools. Instead of using the nfed repository address, use the git addresses for the specific sample you want to download & use.