/nrf24l01-lib

Library for NRF24L01 + Demo projects for STM32 NUCLEO boards.

Primary LanguageCThe UnlicenseUnlicense

nrf24l01 host-independent library

Demo project for NRF24L01 + STM32 NUCLEO boards.

Based on https://github.com/LonelyWolf/stm32/tree/master/nrf24l01

NUCLEO32-L432KC operates as a transmitter, NUCLEO32-F303RE as a receiver. Both ones log their activity via onboard UART at 115.2 kbps

Improvements

  • Rewritten to be hardware-independent
  • STM32 HAL support added
  • Run on ST NUCLEO-F303RE board

Key files

2 boards

Receiver: NUCLEO-303RE

MCU Pin Function NRF Pin
PC0 GPIO_Output CE
PC1 GPIO_Output CSN
PC2 GPIO_EXTI2 IRQ
PC10 SPI3_SCK SCK
PC11 SPI3_MISO MISO
PC12 SPI3_MOSI MOSI

Transmitter: NUCLEO32-432KC

MCU Pin Function NRF Pin
PA3 GPIO_Output CE
PA4 GPIO_Output CSN
PB0 GPIO_EXTI2 IRQ
PA5 SPI3_SCK SCK
PA6 SPI3_MISO MISO
PA7 SPI3_MOSI MOSI