nRF52832 Breakout Board V2.1

Installing automatically
Installing manually
Building and programming an application

nRF Connect for Desktop
nRF Connect for Desktop Download

nRF5 SDK Download

Developing with Zephyr – Installing west
Nordic: West (Zephyr’s meta-tool) – Moving to West

Software Development Kit > nRF5 SDK v17.1.0 > Libraries > Logger module (nRF5 SDK v17.1.0)
Software Development Kit > nRF5 SDK v17.1.0 > API Reference > SDK common libraries > Logger module (nRF5 SDK v17.1.0)
UART driver – legacy layer (nRF5 SDK v17.1.0)




Pin Assignments

Freeze, Hang, Restart

My device is freezing and restarting


Understand UART, UARTE and getting it to work with PPI
UART and UARTE difference
How to properly switch between UART pins and baud rates with nRF52 (UARTE)

No, sorry if that wasn’t clear. UARTE is Universal asynchronous receiver/transmitter (UART) with EasyDMA, so if you don’t want DMA you will have to use the UART peripheral.

UART library, Serial Port library
UART driver provides APIs on a higher level than the HAL
Hardware Abstraction Layer (HAL) simplyfy reading and writing the registers
UART peripheral writing to and reading from the registers (UART = legacy peripherals, UARTE = peripherals using EasyDMA)

Example: zerphyr/samples/bluetooth/peripheral_csc

*** Booting Zephyr OS build v2.7.99-ncs1-1  ***
Bluetooth initialized
Advertising successfully started
Indicate VND attr 0x2ba80 (UUID 12345678-1234-5678-1234-56789abcdef1)
[00:00:02.145,019] <inf> fs_nvs: 6 Sectors of 4096 bytes
[00:00:02.145,050] <inf> fs_nvs: alloc wra: 0, fb0
[00:00:02.145,050] <inf> fs_nvs: data wra: 0, 5c
[00:00:02.146,728] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:02.146,759] <inf> bt_hci_core: HW Variant: nRF52x (0x0002)
[00:00:02.146,759] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 2.7 Build 99
[00:00:02.147,094] <inf> bt_hci_core: No ID address. App must call settings_load()
[00:00:06.002,380] <inf> bt_hci_core: Identity: ED:CA:07:92:F1:2E (random)
[00:00:06.002,410] <inf> bt_hci_core: HCI: version 5.3 (0x0c) revision 0x0000, manufacturer 0x05f1
[00:00:06.002,410] <inf> bt_hci_core: LMP: version 5.3 (0x0c) subver 0xffff
Updated MTU: TX: 23 RX: 23 bytes
Passkey for 4E:57:AA:0F:73:AE (random): 175962
[00:01:33.121,582] <inf> hrs: HRS notifications enabled
[00:02:13.982,208] <inf> bas: BAS Notifications enabled
Disconnected (reason 0x13)
[00:04:31.009,704] <inf> bas: BAS Notifications disabled
[00:04:31.009,765] <inf> hrs: HRS notifications disabled


Ellisys Bluetooth Video Series (Playlist)

Leave a Reply

Your email address will not be published. Required fields are marked *