Interacting with the nRF5x hardware peripherals

  • LabA-6.1) nRF5x GPIO Tutorial: In this sub lab, we will take a close look on the General Purpose Input/Output (GPIO) hardware peripheral (aka: GPIO Port) available inside an nRF5x SoC, its registers layout and software available abstraction layers. The GPIO will be used in this lab to communicate with the  push buttons and LEDs on the nRF52840-DK . Even though there is an easier approach to interact with the LEDs and push buttons which is through the Board Support Package (BSP)  library seen in LabA-5 , however, understanding the GPIO port is critical and will enable us to interface with a broader range of external circuitry and not just the board’s LEDs and push buttons. The GPIOTE is not covered here.
  • LabA-6.2) Communicating over UART.
  • LabA-6.3) Hardware timer tutorial.
  • LabA-6.4) Hardware RNG (Random Number Generator ) tutorial.