Over the air upgrade through Nordic nrfUtil

This blog is to introduce how to use the nRFUtil for Over The Air upgrade (OTA) in between host and device. I would focus on the BLE OTA only. It uses the nRF52 DK to connect to PC / Linux / MacOS. And then the nRFUtil tool would be the OTA host application. nRFUtil The … Continue reading Over the air upgrade through Nordic nrfUtil

Logger System / Flash Log / Crash Log on Nordic nRF5 SDK

This blog is to describe how to use the logging system on the Nordic nRF5 SDK. I would cover how to do the print log through UART or RTT with difference debugging level. Also, I would introduce how to use the flash log or crash log to store the log inside the internal flash system. … Continue reading Logger System / Flash Log / Crash Log on Nordic nRF5 SDK

Advanced Pulse Width Modulation (PWM) on Nordic nRF52 Series

In this blog, I would like to describe more details how to use the PWM module on Nordic nRF52 Series MCU. Basically, nRF52 has started to support hardware PWM modules. If someone would like to generate some complicated duty cycle or waveform, it is better to know how to use the PWM module inside nRF52. … Continue reading Advanced Pulse Width Modulation (PWM) on Nordic nRF52 Series

Using External Flash to Store bonding info on nRF52 Series

This blog is to show how to use the external flash for storing the bonding information instead of using the internal flash. I would base on the Nordic SDK 16.0 and use the nRF52840 DK as the baseline to show how it works. By using the external flash for bonding storage, it can save at … Continue reading Using External Flash to Store bonding info on nRF52 Series

BLE HID Multiple Peripherl Example on Nordic nRF52 Series

This blog is to use Nordic nRF52840 as the BLE keyboard with multiple peripheral role. Those keyboard would connect to multiple mobile (BLE central) for demo. I would use the HOGP Keyboard example on this blog. HID over GATT Profile Specification (HOGP) This profile requires the Generic Attribute Profile (GATT), the Battery Service, the Device … Continue reading BLE HID Multiple Peripherl Example on Nordic nRF52 Series

Internal RC Calibration Handling on the Nordic nRF52 Chipset

In this blog, I would like to share how to handle the internal RC on the NRF52 chipset. In the reference schematic of the nRF52832, there is an option to use internal RC or external 32KHz. For example, the GPIO P0.00 and P0.01 can be connected to external 32KHz crystal (as the optional feature). In … Continue reading Internal RC Calibration Handling on the Nordic nRF52 Chipset

High Speed UART on Nordic nRF52 Series

This blog is to show how to run the high speed UART on Nordic NRF52 Series MCU. I would introduce new advance UART library (libuarte) on the SDK 16.0 which is ready on the production release. Following up the post ( https://jimmywongiot.com/2019/04/17/overview-uart-driver-handling-at-nrf52/), I would like to show another approach how to configure UART on nRF52 … Continue reading High Speed UART on Nordic nRF52 Series

How to get the RSSI change on the nRF5 SDK

This blog is to show how to get the RSSI (Radio Signal Strength Indicator) on the nRF52 chipset. RSSI In telecommunications, received signal strength indicator (RSSI) is a measurement of the power present in a received radio signal. RSSI is usually invisible to a user of a receiving device. However, because signal strength can vary greatly and affect functionality in wireless networking, IEEE 802.11 devices … Continue reading How to get the RSSI change on the nRF5 SDK

BLE Range Estimator on the Nordic nRF52840

This blog is to demonstrate how to show difference physical codec such as 1Mbps and Coded PHY125Kbps with difference TX power. I would show the RSSI and Packet Success Rate on the LCD display (Adafruit 1947). It can use to estimate the range with difference configurations. Bluetooth Range Estimator Recently, Bluetooth SIG launches the online … Continue reading BLE Range Estimator on the Nordic nRF52840

BLE Scanning with Whitelist

This blog is to describe how to use the whitelist in order to improve the connection successful rate between central and peripheral at nRF52 series. The topic is covered as below: Describe about the nrf_ble_scan module Describe how to add the manufacturer specific filter inside the nrf_ble_scan moduleHow whitelist works with nrf_ble_scan module SCANNING MODULE … Continue reading BLE Scanning with Whitelist

How to use the RTC timer as the Stop Watch at Nordic nRF5 SDK

This blog is to introduce how to use the RTC as the stop watch to measure the timing. On nRF52 Series MCU, it has difference number of timers, RTC as below. nRF5281xnRF52832nRF52833nRF528403x32 bit 16MHz Timer5x32 bit16MHz Timer 5x32 bit16MHz Timer 5x32 bit16MHz Timer 2x32.768kHz RTC 3x32.768kHz RTC 3x32.768kHz RTC 3x32.768kHz RTC Watchdog timer (32.768kHz) Watchdog … Continue reading How to use the RTC timer as the Stop Watch at Nordic nRF5 SDK

LCD Demo 320×240 RGB(565) on nRF52840

This blog is to provide a video demo how fast the Nordic nRF52840 works with LCD display. The idea is to regular poll the touch sensor data and then load the image from QSPI flashto update the LCD screen through high speed SPIM3. I used the Adafruit 1947 board ( ARDUINO / SHIELDS / TFTS & DISPLAYS / 2.8" TFT TOUCH … Continue reading LCD Demo 320×240 RGB(565) on nRF52840