Commit 8121b2a4 authored by Sam Calisch's avatar Sam Calisch
Browse files

Update README.md

parent e2d31a78
Pipeline #568 passed with stage
in 0 seconds
# NRF52
* talk about chip features
* show ring speed for packets, compared to NRF24
Nordic Radio's NRF52832 is a nice little chip -- It has a Cortex M4 running at 64 MHz, a 2.4 GHz RF transceiver, 512 kb of flash, a 12 bit 200 ksps ADC, 5x 32 bit timers, a flexible peripheral interconnect system with DMA, and lots of other bells and whistles.
# Programming the NRF52
In particular, the chip performs very well for its cost on tests measuring the speed of information transfer in and out of the CPU and over the RF channel. https://pub.pages.cba.mit.edu/ring/
## Programming the NRF52
Programming involves two steps: 1) compiling code, and 2) flashing the code to the chip.
......@@ -13,13 +15,13 @@ To build the toolchain for compilation manually, you can follow the instructions
The steps for flashing your code depends on what board and programmer you have.
# Adafruit Feather NRF52 Board
## Adafruit Feather NRF52 Board
This is a great board; I would highly recommend it for NRF52 projects.
This board comes flashed with a Serial DFU bootloader and it has an onboard USB-to-Serial converter. This allows you to program it simply with a USB cable.
# Custom board with Segger J-Link
## Custom board with Segger J-Link
The Segger J-Link is a very helpful tool, but it's quite expensive. With it, we can use Nordic's command line utilities, including `nrfjprog`. I wrote a shell script with three commands to erase, flash the adafruit bootloader, and then start the chip running.
......@@ -34,7 +36,7 @@ nrfjprog -f nrf52 --run
The J-Link requires a wire to ensure the target has power. In the image above, red is target power (3.3V), black is ground, green is SWDCLK, and blue is SWDIO.
# Custom board with OpenOCD and Raspberry Pi
## Custom board with OpenOCD and Raspberry Pi
You don't have to spend hundreds on a J-Link (even though it is very nice). Using <a href='openocd.org'>OpenOCD</a>, we can make a Raspberry Pi bit-bang the programming protocols.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment