Giter Club home page Giter Club logo

nrf52832_breakout's Introduction

SparkFun nRF52832 Breakout

SparkFun nRF52832 Breakout

SparkFun nRF52832 Breakout (WRL-13990)

The nRF52832 is Nordic Semiconductor's latest multiprotocol radio system-on-chip (SoC). It's half microcontroller, with a list of features including 32 configurable I/O pins, SPI, I2C, UART, PWM, ADC's, 512kB flash, and 64kB RAM. And, it's half 2.4GHz multiprotocol radio, supporting Bluetooth low energy (BLE), ANT, and Nordic's proprietary 2.4GHz ultra low-power wireless communication -- it even features on-chip NFC tag support.

SparkFun's nRF52832 Breakout provides easy access to all of the chip's features. It breaks out all of the nRF52's I/O pins, provides a 32.768kHz RTC crystal, a user-programmable button and LED, and a trace antenna to send and receive those 2.4GHz transmissions. Plus, to make the chip as easy-to-flash as possible, the breakout comes pre-programmed with a serial bootloader.

Repository Contents

  • /Documentation - Data sheets, additional product information
  • /Firmware - Serial bootloader source and hex files
  • /Hardware - Eagle design files (.brd, .sch)
  • /Production - Production panel files (.brd)

Documentation

Product Versions

Version History

License Information

This product is open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns on licensing, please contact [email protected].

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.

nrf52832_breakout's People

Contributors

elizabethsrobert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nrf52832_breakout's Issues

Antenna layout

I think the ground connection of the impedance matching capacitor closest to the nRF should the other way around. According to Nordic, the cap's ground should be connected only to the chip's pin and not to the ground plane. This is how they did it in their reference design as well. Or am I missing something?

Screenshot 2020-11-27 at 12 00 23 Screenshot 2020-11-27 at 12 01 18

Compiling the bootloader

Hi,
I am trying to compile the bootloader, but I am not succeeding. I want to use the Ruuvitag and need to redefine the serial pins - hence I am not using a direct upload of the precompiled .hex files.
Running make gives me countless errors - first being that the SDK is not seeing armgcc. It is looking for a specific armgcc version, so I had to manually edit this. The second issue is that nrf.h is not being picked up. (fatal error: nrf.h: No such file or directory)

So I am a bit lost at the moment. Any ideas? I am compiling on OSX High Sierra. Tearing my hair out at the moment.
Is it possibly because I am using SDK 15 vs. 11?

Compiling the Bootloader

I can't seem to make the boot-loader custom on Windows 10.

I've download the arm-none-eabi-gcc toolchain and I've installed GnuMake yet when I run make inside the bootloader-custom directory, I get the following errors:

rm -rf _build
process_begin: CreateProcess(NULL, rm -rf _build, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [clean] Error 2

Any advice would be greatly appreciated!

DFU Serial Instructions

Hi, I am using the Sparfun NRF52 breakout for a project and I want to develop my own PCB with it later. Is there any simple instruction guide on how to burn this specific bootloader program? Is there any specific hardware or software needed?

Thank you.

Flashing the bootloader

Hi,

Can you please confirm the command to flash the bootloader to sparkfun nrf52 breakout board?
I am trying to generate a zip of bootloader and softdevice using the following command but nrfutil throws error.

The command is
nrfutil dfu genpkg bootloader.zip --bootloader sfe_nrf52832_dfu.hex --softdevice s132_nrf52_2.0.0_softdevice.hex --dev-type 52 --sd-req 0x81

ADC internal reference

Hey guys,
the internal reference of my Sparkfun Break out seams to be 0.6V on the Analog input. I need to change the gain setting to round about 3.3V. Is there any chance?
I found something for the adafruit board (analogReference(...)) but it's not working on the Sparkfun Break out.
Is there any chance?

Cheers :)

Compiling bootloader from scratch

I followed the exact steps mention to compile the bootloader. I also installed GnuMake.
I am using 8 2018-q4-major version as ARM GCC ToolChain. Platform: Windows 10
PATH variables are also added and can be accessed by CMD.

Whenever I run make sfe_nrf52832_dfu, I get the following error:

E:\Projects\nRF52832_Breakout\Firmware\bootloader-custom>make sfe_nrf52832_dfu
Compiling file: app_error.c
process_begin: CreateProcess(NULL, "C:/Program Files (x86)/GNU Tools ARM Embedded/4.9 2015q1/bin/arm-none-eabi-gcc" -DNRF52 -DBOARD_CUSTOM -DNRF52_PAN_12 -DNRF52_PAN_15 -DNRF52_PAN_58 -DNRF52_PAN_55 -DNRF52_PAN_54 -DNRF52_PAN_31 -DNRF52_PAN_30 -DNRF52_PAN_51 -DNRF52_PAN_36 -DNRF52_PAN_53 -D__HEAP_SIZE=0 -DS132 -DCONFIG_GPIO_AS_PINRESET -DBLE_STACK_SUPPORT_REQD -DBSP_DEFINES_ONLY -DSWI_DISABLE0 -DNRF52_PAN_20 -DNRF52_PAN_64 -DSOFTDEVICE_PRESENT -DNRF52_PAN_62 -DNRF52_PAN_63 -mcpu=cortex-m4 -mthumb -mabi=aapcs --std=gnu99 -Wall -Werror -Os -g3 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffunction-sections -fdata-sections -fno-strict-aliasing -fno-builtin --short-enums -I ./config/dfu_dual_bank_serial_s132_pca10040 -I ./config -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/bootloader_dfu/hci_transport -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/bootloader_dfu -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/scheduler -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/config -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/examples/bsp -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/delay -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/crc16 -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/softdevice/s132/headers/nrf52 -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/util -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/pstorage -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/uart -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/ble/common -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/hci/config -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/uart -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/device -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/hci -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/timer -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/softdevice/s132/headers -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/toolchain/CMSIS/Include -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/hal -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/toolchain/gcc -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/toolchain -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/common -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/softdevice/common/softdevice_handler -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/simple_timer -I E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/drivers_nrf/timer -c -o _build/app_error.o E:/Projects/Nrf52832_SDK/nRF5_SDK_11.0.0_89a8197/components/libraries/util/app_error.c, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [_build/app_error.o] Error 2

I also do not understand how 4.9 2015q1 version is taken while compiling. I have a different version installed and added to PATH

Please help me debug the problem.
If there is anything more information to be provided, I will be glad to do so.

Programming custom nrf52832 board

Hi,
I was using Sparkfun nRF52832 board to test my application, programming it with FTDI over Arduino IDE. Now I made my own PCB and found out that the IC doesn't have bootloader in it and I cannot program it using Arduino IDE.

Fortunately I have SWDIO, SWCLK, P26 and P27 pins available for me out along with a RST and P06 button.

For HW, I have ST-Link v2 and some STM32 boards with SWD. I have also bought a nrf52 DK.

How do I start with this blank IC now? Any solution?

Missing header file

custom_board.h is missing from the repo and is required to compile the bootloader

Flashing bootloader into nrf52832

Hi,
I have a STM32 based JTAG connector with SWD connectivity. I have connected this to the nrf52832 board but having these errors with nrfutil
image

Please help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.