NRF52811 with BLE Long Range Example

This blog is to show how to setup the BLE long range demo on the nRF52811 chipset. On the Nordic webpage, S140v7.0.1 is the official support the BLE long range stack on the nRF52811. https://infocenter.nordicsemi.com/topic/comp_matrix_nrf52811/COMP/nrf52811/nrf52811_ic_rev_sdk_sd_comp_matrix.html The size of the S140v7.0.1 is 156KB (including 4KB MBR). It means that the size of the application fw cannot … Continue reading NRF52811 with BLE Long Range Example

How to use the BLE Scanning filters on the Connection Request

This blog is to describe how to use different filters on the BLE Central role for connection criteria. Since Nordic SDK 15.2 or later, it has started to include the new BLE Scan (nrf_ble_scan) module. It has supported 5 different filter types as below. Filter typeDetails1) NameFilter set to the target name.The maximum length of … Continue reading How to use the BLE Scanning filters on the Connection Request

How to use the ECDH and AES128 for the data encryption

This blog is the example of how to use the ECDH (Elliptic Curve key generation and Diffie-Hellmen secure key exchange) and AES128 for data protection on the BLE connection instead of bonding/pairing. This concept is referred to as Bluetooth 4.2 (LE Secure Connection). Secure connections prevent the key from being discovered by a hacker. More … Continue reading How to use the ECDH and AES128 for the data encryption

Quick Overview to run sample example on nRF9160 DK board with nRF Cloud

This blog is to provide the guideline how to set up the nRF9160 DK board and connect to the nRF Cloud. It would cover the following topic. Select the modem firmware and programRegister nRF91 DK to the nRF Cloud Running few examples such as Asset Tracker, COAP Client, AT Client. When you get the nRF9160 … Continue reading Quick Overview to run sample example on nRF9160 DK board with nRF Cloud

Overview : UART driver handling at nRF52

This blog is to describe how many difference approaches to use the UART driver on the nRF52 Series. Background Inside the nRF52 series product specification, there are two difference UART perpherals. UART (Legacy) -- similar to NRF51 seriesUARTE (Enhance UART driver with Easy DMA). All information Length of UARTE DMA can be found at SDK … Continue reading Overview : UART driver handling at nRF52

Command Line Interface (CLI) on Logger System (Real-time debugging / configuration)

This blog is to describe how to use the Nordic nRF5 SDK to include the logger module and how to use the CLI interface for send command through BLE / UART / RTT to configure the log module, basic operation of peripheral such as LED on/off, flash dump log. Also, the Flash logger backend (one … Continue reading Command Line Interface (CLI) on Logger System (Real-time debugging / configuration)

How to store the error info on internal flash for debugging before system reset

This blog is to show how to store / write the error information inside the flash. For example, in some cases, when the device is randomly got system reset, it may be caused by any hidden errors. If we can store the error information before the system reset into the internal flash first, after that … Continue reading How to store the error info on internal flash for debugging before system reset

Tips: How to do PCB Failure Analysis by JLINK script on nRF5 device

Situation   From cheap toys, mobile accessory, medical device and home automatic electronic systems, printed circuit boards (PCB) are critical components for today’s electronic and industrial technology. Almost every electronic device has one of these self-contained modules of complex interconnected electronic components, which include resistors, capacitors, transistors, diodes and fuses. Printed circuit boards can cover a … Continue reading Tips: How to do PCB Failure Analysis by JLINK script on nRF5 device