This is an example of how to use the Notecard and the note-c library with the native Nordic nRF52 SDK.
As a proof-of-concept, it implements the same functions as the note-arduino library's JSON example.
This repo should be cloned into a "parent" dev folder with the following organization:
parent
├ note-nrf52
├ note-c
└ sdk-current
Where
- note-nrf52 - The Notecard example for Nordic nRF5x devices.
- note-c - The Notecard SDK for C.
- sdk-current - The latest Nordic nRF5 SDK.
In order to do development, it may be the case that all you need to do is to install the nRF SDK as above, and to install the Nordic/Crossworks "Segger Embedded Studio" (SES) available here with a free license: https://www.nordicsemi.com/?sc_itemid=%7B48E11346-206B-45FD-860D-637E4588990B%7D
The board that I used for testing is the Adafruit Feather nRF52840 Express, which I selected because of its built-in SWD/JTAG interface and connector: https://www.adafruit.com/product/4062
The probe that works perfectly with both the Adafruit device and SES, and comes with the right cable, is: https://www.segger.com/products/debug-probes/j-link/models/j-link-edu-mini/
However, if there are any dependency issues, the entire Nordic development environment can be obtained by installing nRF Connect for Desktop: https://www.nordicsemi.com/?sc_itemid=%7BB935528E-8BFA-42D9-8BB5-83E2A5E1FF5C%7D
This example has been tested with both UART and with I2C, with I2C being observed to be extremely reliable and lower power draw than UART.
We love issues, fixes, and pull requests from everyone. By participating in this project, you agree to abide by the Blues Inc code of conduct.
For details on contributions we accept and the process for contributing, see our contribution guide.
For Notecard SDKs and Libraries, see:
- note-c for Standard C support
- note-go for Go
- note-python for Python
- note-arduino for Arduino
Copyright (c) 2019 Blues Inc. Released under the MIT license. See LICENSE for details.