Samples
The nRF Connect SDK provides samples that specifically target Nordic Semiconductor devices and show how to implement typical use cases with Nordic Semiconductor libraries and drivers.
Samples showcase a single feature or library, while Applications include a variety of libraries to implement a specific use case.
Zephyr also provides a variety of application samples and demos. Documentation for those is available in Zephyr’s Samples and Demos section. For very simple samples, see the Basic Samples. Those samples are a good starting point for understanding how to put together your own application.
- General information about samples in the nRF Connect SDK
If you are working with embedded devices, it is a good practice to first test your setup by programming an unchanged sample to your development kit.
Some samples in the nRF Connect SDK are currently not designed to work out-of-tree. You may need to manually configure your sample to work correctly in the nRF Connect for VS Code extension.
All samples in the nRF Connect SDK use Fatal error handler library and are configured to perform a system reset if a fatal error occurs. This behavior is different from how fatal errors are handled in the Zephyr samples. You can change the default behavior by updating the configuration option
CONFIG_RESET_ON_FATAL_ERROR
.
- Amazon Sidewalk samples
- Bluetooth samples
- Bluetooth mesh samples
- Cellular samples
- Cryptography samples
- Debug samples
- Edge Impulse samples
- Enhanced ShockBurst samples
- Gazell samples
- Keys samples
- Matter samples
- Multicore samples
- Networking samples
- NFC samples
- nRF5340 samples
- Peripheral samples
- PMIC samples
- Sensor samples
- Trusted Firmware-M (TF-M) samples
- Thread samples
- Zigbee samples
- Wi-Fi samples
- Other samples