1# RNG {#rng_basic_desc} 2 3The sample demonstrates a basic functionality of the nrfx_rng driver. 4 5## Requirements 6 7The sample supports the following development kits: 8 9| **Board** | **Support** | 10|---------------------|:-----------:| 11| nrf52dk_nrf52832 | Yes | 12| nrf52833dk_nrf52833 | Yes | 13| nrf52840dk_nrf52840 | Yes | 14| nrf5340dk_nrf5340 | Yes | 15| nrf9160dk_nrf9160 | No | 16## Overview 17 18Application initializes the nrfx_rng driver. 19The @p rng_handler() is executed with a relevant log message until a number of generated numbers is equal to the value specified by the user. 20 21> For more information, see **RNG driver - nrfx documentation**. 22 23## Wiring 24 25To run this sample, no special configuration is needed. 26You should monitor the output from the board to check if it is as expected. 27 28## Building and running 29 30To run this sample, build it for the appropriate board and then flash it as per instructions in [Building and running](@ref building_and_running) section. 31 32## Testing 33 34You should see the following output: 35 36``` 37 - "Starting nrfx_rng example" 38 - "Generated value: (.*)" 39``` 40> `(.*)` stands for the generated random number [0..255]. 41 42[//]: # 43[Building and running]: <../../README.md#building-and-running> 44