HAL Library 25- NRF24L01+ for STM32Fxxx

I spent some time again porting libraries from STD drivers for F4 series to HAL drivers for STM32 series. This library is going to be about NRF24L01+ transceiver module, allowing you to send and receive data between 2 NRF24L01+ modules connected to STM32Fxxx device.


Read more about new HAL libraries


  • Send and receive data using NRF24L01+
  • Allows to use IRQ pin on NRF24L01+
    • Functions to read and clear interrupts are in API


  • HAL
  • TM
    • STM32Fxxx HAL
    • defines.h configuration file
    • GPIO
    • SPI

Functions and enumerations

Full functions and enumerations can be found on NRF24L01+ API site. You will also find default NRF pinout there.


Examples for receiver and transmitter with or without interrupt pin are available on my Github account, where you can take a look at main.c file for more informations.

Download all libraries below.


Owner of this site. Application engineer, currently employed by STMicroelectronics. Exploring latest technologies and owner of different libraries posted on Github.

You may also like...

Read before commenting!

Before you make a new comment, make sure you agree with things listed below:

  • - Read post to make sure if it is already posted what you are asking for,
  • - Make sure you have the latest version of libraries used in your project,
  • - Make a clean and grammatically correct written message,
  • - Report as many details as possible, including what have you done so far,
  • - Do NOT post any code here. Use Pastebin,
  • - Do NOT post any error codes here. Use Pastebin,
  • - Specify STM32Fxxx family and used Discovery/EVAL/Nucleo or custom made board,
  • - Make sure your clock is set correct for PLL,
  • - If you are using my HAL drivers, please check this post how to start.
Comment will be deleted on breaking these rules without notification!