Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elmot/nrf24l01-lib

Library for NRF24L01 + Demo projects for STM32 NUCLEO boards.
https://github.com/elmot/nrf24l01-lib

2400mhz arm demo mcu nrf24l01 radio stm32 stm32f3 stm32l4

Last synced: about 2 hours ago
JSON representation

Library for NRF24L01 + Demo projects for STM32 NUCLEO boards.

Awesome Lists containing this project

README

        

# 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
---

- [nrf24l01/nrf24.h](nrf24l01/nrf24.h) - main header file
- [nrf24l01/nrf24.c](nrf24l01/nrf24.c) - nrf module support code
- [demo-stm32f303-receiver/Core/Inc/support.h](demo-stm32f303-receiver/Core/Inc/support.h) - all hardware-dependent code (nucleo-f303re)
- [demo-stm32f303-receiver/Core/Src/radio_demo.c](demo-stm32f303-receiver/Core/Src/radio_demo.c) - demo code(receiver)

![2 boards](2boards.jpg)

Receiver: [NUCLEO-303RE](demo-stm32f303-receiver/demo-stm32f303-receiver.pdf)
--
| 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](demo-stm32l432-transmitter/demo-stm32l432-transmitter.pdf)
--
| 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|