How To Get Started With nRF5340 Module Program Coding and Compiling

Intro:

As the chipset of nRF5340 is built by Dual Core structure (net core and application core), we need to proceed the coding and compiling process individually to net core & application core.

After the coding and compiling process done, we could get the separate zephyr.hex file respectively which are used for BLE module FW.

 Firmware Development Steps : Code Building / Compiling

Case Study : 

    NON-Audio Project

  nRFConnect SDK V2.1.2

    Nordic Example code -“hci_rpmsg” & “peripheral_uart”

  1. Nordic example code of “hci_rpmsg” extracted for coding and we will get zephyr.hex file for net core
  2. Nordic example code of “peripheral_uart” extracted for coding and we will get zephyr.hex file for application core

Step 1. Net core Layer

1a) Activate “Open VS Code” IDE in NCS V2.1.2

1b) Select “Add an existing application” and extract “hci_rpmsg” file moving forward

1c) Click “Add Build Configuration” icon

1d) Select “nrf5340dk_nrf5340_cpunet” and check Nordic boards then Execute “Build Configuration”

1e) zephyr.hex file is successfully generated for net core layer if the coding process is properly executed

Step 2. Application core Layer:

2a) Activate “Open VS Code” IDE in NCS V2.1.2

2b) Select “Add an existing application” and extract “peripheral_uart” file moving forward

2c) Click “Add Build Configuration” icon

2d) Select “nrf5340dk_nrf5340_cpuapp” and check Nordic boards, then Execute “Build Configuration”

2e) zephyr.hex file is successfully generated for application core layer if the coding process is properly executed

Find more nRF5340 module development resources in below link

How To Get started with MDBT53/53V Demo Board Set up (MDBT53-DB-40/MDBT53V-DB-40)

How To USE Nordic Connect SDK (NCS) Flashing Built Code into nRF5340 Module

Edited by Account Manager: Jocelyn Tsai

Raytac Corporation 勁達國際電子有限公司
A BT5.2 & BT5.1 & BT5 module maker based on Nordic nRF53 & nRF52 solution 
(nRF5340 & nRF52840 & nRF52833 & nRF52832 & nRF52820 & nRF52811 & nRF52810 & nRF52805)
www.raytac.com email: service@raytac.com Tel: +886.2.3234.0208

How To USE Nordic Connect SDK (NCS) Flashing Built Code into nRF5340 Module

Edited by Jocelyn Tsai / Account Manager

Intro:  With the ready built code of zephyr.hex file for net core and application core individually, we would like to proceed code flashing into the MDBT53/53V Nordic nRF5340 BLE module.

  • Ready Built Code Programming Steps

Step1. 

Execute nRF Connect >>  Programmer  > > Open

Step2.

Click “SELECT DEVICE” >> Find icon of “nRF5340 DK” which is detected by the programmer app

Step3.

Click icon of “nRF5340 DK” >> “Erase All” to remove the flash memory from MDBT53/53V BLE Module

Step4.

Click “Add File” to load the net core zephyr.hex and application core zephyr.hex both into programmer

Step5.

Do “Erase & Write ” to execute the flashing process for both zephyr.hex into memory of MDBT53/53V Module.

Step6.

To validate the wireless broadcast of default name “Nordic_UART_Service” from MDBT53/53V Module, please check on the “nRF Connect for mobile” APP and do “Scan device” through your mobile.   Once the device name is detected in your mobile , the wireless connection is successfully done.

You may find more resources in below link:
Hardware set up works
“How To Get started with Nordic nRF5340 Project by Raytac MDBT53/MDBT53V Development Kit Demo Board”
Firmware development:
“How To Get Started With nRF5340 Module Program Coding and Compiling” (Click Me)

Edited by Account Manager: Jocelyn Tsai

Raytac Corporation 勁達國際電子有限公司
A BT5.2 & BT5.1 & BT5 module maker based on Nordic nRF53 & nRF52 solution 
(nRF5340 & nRF52840 & nRF52833 & nRF52832 & nRF52820 & nRF52811 & nRF52810 & nRF52805)
www.raytac.com email: service@raytac.com Tel: +886.2.3234.0208

How To Get started with Nordic nRF5340 Project by Raytac MDBT53/MDBT53V Development Kit Demo Board

Edited by Jocelyn Tsai / Account Manager

Here provides thHere provides the easy introduction to the article of Hardware & Firmware Set up with step-by-step guideline for nRF5340 Module demo board MDBT53-DB-40/MDBT53V-DB-40.

  1. Hardware Set Up
  2. Software Kits Resource & Preparation
  3. To recognize your nRFConnect SDK version case by case

1. Hardware Set Up

  • 1 x Nordic nRF5340-DK Board: PCA10095(2.0.0)
  • 1 x MDBT53-DB-40 or 1x MDBT53V-DB-40
  • 1 x IDC Wire 
  • 1 x Power Micro USB
  • 1 x Power Mini USB

**Reminder: Both “Nordic nRF5340-DK” and “Raytac MDBT53/53V Demo BD” should be included into the working network for program development.

Where to buy MDBT53-DB-40 , MDBT53V-DB-40
MDBT53-DB-40 (nRF5340 Solution)
MDBT53V-DB-40 (nRF5340 Solution)

  • Using Nordic DK as J-Link ( nRF5340 DK ONLY) Connects with MDBT53/53V DB by IDC wire.
  • Powered up MDBT53/53V DB by Mini USB wire.
  • Powered up the nRF5340-DK by Micro USB wire.

 

2.Software Kits Resource & Preparation

Download nRF Connect For Desktop (Please Click Me)

Download nRF Command Line Tools (Please Click Me)

Preparation

a. Prepared with the latest version of nRF Connect for Desktop

Selected version 3.12.0 Windows 32-bit and 64-bit

nrfconnect-setup-3.12.0-ia32.exe

b. Prepared with the latest version of nRF Command Line Tools

Selected version 10.18.1 Windows X86 64

nrf-Command-Line-Tools-10.18.1-x64.exe

**Note: SEGGER J-LINK Upgrade message might pop up while you’re doing above download.

 If you’re initiating Segger Embedded Studio (SES) application, please check the guideline here

c. Locate all the necessary kits for programming in PC (Check Software/Application list)

 

 

3. To recognize your nRFConnect SDK version case by case

Intro: The preparation of nRF Connect SDK Vx.x.x(NCS SDK version, ) and Nordic Example code will help you get through the program code building and trace debug in VS Code IDE or Segger Embedded Studio IDE. Here’s the brief way to recognize your nRFConnect SDK version which suits your project development.

Step1.

  Activated your “nRF Connect for Desktop”  >> “Toolchain Manager” >> “Open” >> “Install”

(**Note: The development nRF Connect SDK(NCS) provides with free VS Code IDE and Segger Embedded Studio IDE as compiling system)

Step2.

To recognize your project is with or without Audio inquiry and download the “nRF Connect SDK(NCS)” by the following classification.

A.) Project with Non-Audio case

Option1. Go with NCS V1.9.1 (Included) and previous version.

There’re either “Open VS Code” or “Open Segger Embedded Studio” IDE options could be selected for program coding.

Option2. Go with NCS V2.0.0(included) and the later.

 There’s simply “Open VS Code” IDE that could be run for program coding.

B.) Project with “Audio” inquiry

You would only have option of NCS V2.0.0(included) and the later version working in “Open VS Code” IDE.

Step3.

 Please make sure the nRFConnect SDK is installed at same base directory with compiling system  (the root of Open VS Code)

(This is using D:\ncs-work base as example.)    

If the base is not directing to the same, do “Select directory’” to re-direct the route.

Step4.

nRFConnect SDK Vx.x.x Download ready

Find more information about nRF5340 Module firmware development resources in below link!

“How To USE Nordic Connect SDK (NCS) Flashing Built Code into nRF5340 Module” , Please click this link! 

“How To Get Started With nRF5340 Module Program Coding and Compiling” Please click this link

 

 

Raytac Corporation 勁達國際電子有限公司
A BT5.2 & BT5.1 & BT5 module maker based on Nordic nRF53 & nRF52 solution 
(nRF5340 & nRF52840 & nRF52833 & nRF52832 & nRF52820 & nRF52811 & nRF52810 & nRF52805)
www.raytac.com email: service@raytac.com Tel: +886.2.3234.0208

Find nRF5340 module here!

Where to find nRF5340 module quickly? The nRF5340 a dual core solution deployed with 2 Arm Cortex M33 processors. Not only provide faster and powerful for advanced applications, but also LE audio. Raytac knows your anxiety and already distributed the modules available in several channels aimed to provide a speedy and comfortable way to get it.

Buy From Amazon
By From Digi-Key

Raytac Corporation 勁達國際電子有限公司
A BT5.2 & BT5.1 & BT5 module maker based on Nordic nRF53 & nRF52 solution 
(nRF5340 & nRF52840 & nRF52833 & nRF52832 & nRF52820 & nRF52811 & nRF52810 & nRF52805)
www.raytac.com email: service@raytac.com Tel: +886.2.3234.0208

Nordic nRF5340 Module MDBT53 and MDBT53V By Raytac Corporation

Nordic nF5340 is the first wireless SoC with dual core processors which aimed to optimized the performance of complex IoT applications and LE audios. The dual core contains a 1MB Flash / 512K RAM M4F MCU for application processor and another 256K Flash / 64K RAM for network. This structure remarkable optimized the performance also low power efficiency.

Raytac released 5 modules with 2 form factors, MDBT53 and MDBT53V,  with different antenna options for selection. The modules deployed nRF53 SoC supports high-speed SPI, QSPI, USB, I2C, I2S, and NFC interface and 105°C industrial temperature specification. BT5.3 pre-qualified, FCC/IC/CE/Telec (MIC)/KC/SRRC/NCC pre-certified is a MUST for all Raytac modules.

MDBT53 is a System-on-Module (aka SoM) with a good size of 9.3mm x 14.3mm and 48 GPIO which is an ideal dimension to fit in most applications. MDBT53 provides 3 antenna options, Chip antenna; PCB antenna; and u.FL connector for external antenna which deliver a maximum feasibility for most IoT projects. MDBT53-1M (Chip Antenna) MDBT53-P1M (PCB Antenna) MDBT53-U1M (u.FL Connector for External Antenna)

MDBT53V is designated for the application which has a space constraint design. A 7.8mm x 12.4mm with 25 GPIO is small enough to offer the opportunity of employing nRF5340 modules in the project. MDBT53V provides 2 options of antenna, Chip and PCB, for developers’ selection which is capable of optimizing the project plan in terms of performance and budgetary.  MDBT53V-1M (Chip Antenna) MDBT53V-P1M (PCB Antenna)

Raytac Corporation 勁達國際電子有限公司
A BT5.3 & BT5.2 & BT5.1 module maker based on Nordic nRF53 & nRF52 solution 
(nRF5340 & nRF52840 & nRF52833 & nRF52832 & nRF52820 & nRF52811 & nRF52810 & nRF52805)
www.raytac.com. email: sales@raytac.com Tel: +886.2.3234.0208

Raytac nRF53 Module BT5.2 Qualified, FCC/IC/CE/Telec/KC Pre-Certified

The nRF5340 is the world’s first wireless SoC with two Arm® Cortex®-M33 processors. The architecture is including an “Application Processor” which deployed a 1M Flash 512K RAM; and a “Network Processor’ which deployed a 256K Flash and 64K RAM. With the IoT applications has become more and more complex nowadays, nRF5340 is exact the solution to meet higher specification demand of technology and provide an easier and quick path toward project success.

Raytac deployed nRF5340 SoC to built up 2 series of module which are MDBT53 & MDBT53V . Both modules now have been completed BT5.2 qualification; FCC/IC/CE/Telec/KC/SRRC/NCC pre-certified. Quoted from Nordic Blog: First nRF5340 modules eliminate processor trade-off for developers, Raytac offer a range of qualified and certified modules based on Nordic technology which can immediately save the cost, time and complex process of the testing works. Shorten the Time to Market and Get the thing done quickly and effectively is what the advantage Raytac module can bring over to you.

Raytac Corporation 勁達國際電子有限公司
A BT5.2 & BT5.1 & BT5 module maker based on Nordic nRF53 & nRF52 solution 
(nRF5340 & nRF52840 & nRF52833 & nRF52832 & nRF52820 & nRF52811 & nRF52810 & nRF52805)
www.raytac.com email: service@raytac.com Tel: +886.2.3234.0208