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

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

nRF52 TWI EasyDMA with ArrayList

This blog is to introduce how to use the EasyDMA on TWI with Arraylist in order to reduce the MCU wake up and interrupt latency. There are quite a lot of discussion on the devzone past few years. https://devzone.nordicsemi.com/f/nordic-q-a/48198/spi-communication-via-dma-in-background-using-ppi-and-a-timer/https://devzone.nordicsemi.com/f/nordic-q-a/51889/nrf52832-dma-half-transfer-interrupt-and-easydma-arraylisthttps://devzone.nordicsemi.com/f/nordic-q-a/18919/how-to-use-spim-easydma-with-nrf52 EasyDMA EasyDMA is a module implemented by some peripherals to gain direct access to Data RAM. … Continue reading nRF52 TWI EasyDMA with ArrayList

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

How to Measure the Battery through SAADC module for Current Optimization

This blog is to mention how to add the battery service and read the VDD through SAADC module. Also, the most important is to optimize the current consumption. SAADC (Successive approximation analog-to-digital converter) The SAADC is a differential successive approximation register (SAR) analog-to-digital converter. It supports up to eight external analog input channels, depending on … Continue reading How to Measure the Battery through SAADC module for Current Optimization

How to read/write/erase on QSPI through nrfjprog

NRF52840 DK board has a QSPI flash.  It can use to run the code (SIP) or act as the external normal flash. In this passage, I would like to share how to use the nrfjprog for accessing the QSPI flash on the NRF52840 DK Board. if you need to use the qspi on the NRF52840 … Continue reading How to read/write/erase on QSPI through nrfjprog