How to work with BLE Codec 1Mbps , 2Mbps and Codec PHY on nRF52 Series

This blog is to introduce the Bluetooth Low Energy with difference codec configuration on Nordic nRF52 SDK. Bluetooth 5.0 had introduced the long range (Codec Phy 125kbps, 500kbps) and high speed 2 Mbps (uncoded PHY). Here are the topics in this blog: Basic introduction on the difference Coded/Uncoded Phy on the Bluetooth 5.0 specificationHow to … Continue reading How to work with BLE Codec 1Mbps , 2Mbps and Codec PHY on nRF52 Series

How to Accept / Reject the BLE Bonding Request from Central

This blog is to give an idea how to control the BLE peripheral either accept or reject the bonding request from the central role. Nordic Softdevice Message Sequence Nordic SoftDevice Peripheral Security Request https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.0.1/group___b_l_e___g_a_p___p_e_r_i_p_h___s_e_c___r_e_q___m_s_c.html Pairing failure: Pairing aborted by the application When the application detects that the pairing should not be performed, for example an … Continue reading How to Accept / Reject the BLE Bonding Request from Central

Swift Pair on the Windows 10

This blog is to describe the Swift Pair on the Windows 10 particular it was introduced version 1803. I would like to collect all the information about this feature and how to enable on the Nordic SDK to support this. Most of the materials are referred to Microsoft documentation as below. https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/bluetooth-swift-pair Swift Pair Introduced … Continue reading Swift Pair on the Windows 10

How to communicate with Android through USB interface on nRF52820 / nRF52833 / nRF52840

This blog is to describe how to use the nRF52 Series USB interface to communicate with Android host. In the nRF52 Series, nRF52840, nRF52833 and nRF52820 have supported the full speed USB 2.0. Instead of using the Bluetooth Low Energy, they can communicate the date between android host through USB interface. In this blog, I … Continue reading How to communicate with Android through USB interface on nRF52820 / nRF52833 / nRF52840

PDM Microphone on nRF5 Series

This blog is to describe how to add the PDM Microphone on Nordic nRF52 Series. The PDM is started to support on the nRF52832. The pulse density modulation (PDM) module enables input of pulse density modulated signals from external audio frontends, for example, digital microphones. The PDM module generates the PDM clock and supports single-channel … Continue reading PDM Microphone on nRF5 Series

USB Audio Class

This blog is to give some background knowledge on the USB Audio Class. I will try to collect some information from internet about the USB Audio Class 1 and USB Audio Class 2 and then give the description on this blog. Introduction Universal Serial Bus (USB) is a serial bus standard to interface devices. USB … Continue reading USB Audio Class

Enhanced ShockBurst ESB Protocol on nRF52 Series

This blog is to describe more about the proprietary radio protocol on the nRF52 series. On the Nordic nRF5 SDK, it has two difference protocols. Enhanced ShockBurst (ESB)Gazell In this blog, I would mainly focus on the ESB because it provides full source code instead of library. Also, it can do much more flexible to … Continue reading Enhanced ShockBurst ESB Protocol on nRF52 Series

Tutorial how to create an application on the nRF9160 DK

This chapter will take you through the steps required for creating an application in NCS for nRF9160. This blog is based on the Nordic Connect SDK v1.2.0 version. It may have need to change on the other versions (later). The propose of this blog is to show the idea how to run such example on NCS. … Continue reading Tutorial how to create an application on the nRF9160 DK

CMake / West for Zephyr / Nordic nRF Connect SDK

In this blog, I would like to describe more details on the cmake and west which are the tools in the Nordic Connect SDK. For example, I would cover : Zephyr's Build System How to configure the cmake file with difference parameterHow to use the West to build / flash the application All the materials … Continue reading CMake / West for Zephyr / Nordic nRF Connect SDK

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