Difference between revisions of "Nrf24le1:tutorial"

From DiLab
Jump to: navigation, search
(Prerequisites)
(General init)
Line 18: Line 18:


== General init ==
== General init ==
* nrf24l01_initialize()

* nrf24l01_initialize_debug()

* nrf24l01_initialize_debug_lite()


== RX setup ==
== RX setup ==

Revision as of 15:24, 26 October 2011

The sources of the information here are the nrf* datasheets, diyembedded and experience.

These are notes on how to get the nrf24le radio link working.

Operation modes

  • Simple shockburst and enhanced shockburst.
  • With or without automatic acknowledgements.
  • Up to 6 pipes (multiceiver mode)

Prerequisites

You must implement or have:

  • A delay function (in us)
  • SPI bus control and communication to access the transceiver registers
  • IO pins or register bits that go to the nrf24L01 or the embedded LE1 transceiver:
    • CSN, CE, and IRQ

General init

  • nrf24l01_initialize()
  • nrf24l01_initialize_debug()
  • nrf24l01_initialize_debug_lite()

RX setup

TX setup