Low Power RFID Solution Demo on the Nordic nRF52 Series

This blog is to use the ESB for building the RFID demo. On every 2 seconds, the PTX would send 4 times RFID data out. Here is the demo code at the github https://github.com/jimmywong2003/nrf52-esb-rtc-low-power static void send_packet(uint8_t *data_ptr, uint32_t length) { static nrf_esb_payload_t esb_payload; esb_payload.noack = 0; esb_payload.pipe = 0; memcpy(esb_payload.data, data_ptr, length); esb_payload.length = … Continue reading Low Power RFID Solution Demo on the Nordic nRF52 Series

Radio Timeslot API for the Multiple Protocols

This blog is to describe more details how to use the Radio Timeslot API usage. The Radio Timeslot API was introduced since Nordic Softdevice S110v6.0 or later. It can be used to implement the concurrent multiprotocol with BLE together. All the timeslot API are based on the framework of Nordic Bluetooth Softdevice stack. For example, … Continue reading Radio Timeslot API for the Multiple Protocols

How to configure the number of packets per every BLE connection interval

This blog is to show the method how to configure the number of packets per each connection interval. Basically, it is very similar to the blog (https://jimmywongiot.com/2019/12/15/how-to-set-the-bandwidth-on-ble-link-connection/). I would give more details how to achieve for example 3 packet per connection interval. 3 packets per each connection interval Suppose on the Nordic nRF5 SDK, it … Continue reading How to configure the number of packets per every BLE connection interval

Step by Step to Compile Nordic NRF5 HIDs Keyboard / Mouse Example on nRF Connect SDK

This blog is to describe how to compile and run the nRF5 HIDs Keyboard example from nRF Connect SDK. nRF Connect SDK The nRF Connect SDK is where you begin building low power wireless applications with Nordic Semiconductor nRF52, nRF53, and nRF91 Series devices. The nRF Connect SDK is moved to https://github.com/nrfconnect instead of https://github.com/nordicplayground/nrfconnect. … Continue reading Step by Step to Compile Nordic NRF5 HIDs Keyboard / Mouse Example on nRF Connect SDK

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

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

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

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 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

How to count GPIO pin (Raising/Falling) with Timer Counter through PPI

In this blog, I would like to show an example how to count the number of raising / falling edge on particular GPIO pin without running the MCU. For example, we need to count how many pulse from the MCU through GPIO. By using the GPIOTE and Timer Counter Mode through PPI, it can count … Continue reading How to count GPIO pin (Raising/Falling) with Timer Counter through PPI