Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/derekstavis/nrf24le1-libbcm2835
A powerful userspace command-line tool to interface with Nordic's nRF24LE1 through SPI bus. Currently made for RaspberryPi.
https://github.com/derekstavis/nrf24le1-libbcm2835
Last synced: about 8 hours ago
JSON representation
A powerful userspace command-line tool to interface with Nordic's nRF24LE1 through SPI bus. Currently made for RaspberryPi.
- Host: GitHub
- URL: https://github.com/derekstavis/nrf24le1-libbcm2835
- Owner: derekstavis
- License: mit
- Created: 2013-03-25T02:20:31.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-05-24T00:58:28.000Z (over 5 years ago)
- Last Synced: 2024-07-31T22:56:13.599Z (3 months ago)
- Language: C
- Homepage:
- Size: 43.9 KB
- Stars: 38
- Watchers: 8
- Forks: 16
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nrf24le1-libbcm2835
A simple command-line interface with Nordic nRF24LE1 using
RaspberryPi over bcm2835 library.This tool started as a userpace port of **@hltrd** nrf24le1
linux device driver.## Features
- Program memory read/write
- NVM memory read/write
- InfoPage handling## Requirements
- You must be using a Linux distro with `bcm2835` and `rt`
libraries installed.
- If your partition is mounted with `nosuid` probably you
will need to run this tool as root.## Command Line Format
For further development, the tool should conform to the above protocol.
### Miscellaneous
`nrf24le1 show`
Show the FSR register and make sure we can modify it, this demonstrates proper
communication on the SPI bus to the nRF24LE1 module.`nrf24le1 reset`
Reset the unit on the programmer, this resets the MCU to start the program afresh.
### Reading data from nRF24LE1
`nrf24le1 read infopage [filename]`
`nrf24le1 read firmware [filename]`
`nrf24le1 read nvm [filename]`
All read operations dump data to stdout by default, in Intel Hex format.
It's possible to provide an optional filename as an argument.When a filename is specified and the extension matches .hex or .ihx the
dump will be saved in Intel Hex format, otherwise the binary format will
be used.### Writing data to nRF24LE1
`nrf24le1 write firmware [filename]`
`nrf24le1 write infopage [filename]`
`nrf24le1 write nvm [filename]`
All write operations expect data from stdin by default, in Intel Hex format.
It's possible to provide an optional filename as an argument.When a filename is specified and the extension matches .hex or .ihx the
dump will be saved in Intel Hex format, otherwise the binary format will
be used.### Additional Parameters:
(not yet implemented)
| Parameter | Function |
| ------------------ | ----------------------------- |
| `--offset N_BYTES` | Skips N_BYTES bytes |
| `--count N_BYTES` | Read/Write only N_BYTES bytes |# References
* Nordic nRF24LE1:
* bcm2835 Library:
* **hltrd** linux device driver: