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

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 nRF52840 & nRF52833 Module Zephyr Project Started

Zephyr is hosted by The Linux Foundation, which is an open source to build a small, scalable, real-time operating system (RTOS) across multiple architectures. Zephyr Project’s is aiming to provide a collaborative effort between technologies to reduce the cost and accelerate time to market for Internet of Things (IoT) industry.

Nordic, the leading wireless solution provider across Bluetooth, WiFI, LTE, NB-IOT, provides documentation for developers which are interested in starting Zephyr projects. Nordic Zephyr Project Support Page.

Raytac, a Taiwan base professional module maker built up various form factor modules based on Nordic solution, has listed both nRF52833 / MDBT50Q-DB-33 and nRF52840 / MDBT50Q-DB-40 module demo boards in Zephyr support boards data base. Believed these completed and comprehensive support boards reference design can provide all developers a break through path toward success.

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)

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

Raytac Extents Digi-Key’s Product Listing and Shipping Destination

Digi-Key is the most well known channel for developers to access the sample during project planning and evaluation stage. To provide a speedy, easy sample purchase experience is really a committed promise Raytac persist in. Raytac is glad to announce we have successfully listed most of Raytac products in Digi-Key. Moreover, excepting US, and Asia, to included Europe in the available shipping regions is another remarkable update for this extension. 

Currently, Raytac offer a various of options listed in below, developers may find out the best and convenient channel to access sample purchase.

Digi-Key Amazon Tindie eBay For developers who is not able to find the products, shipping destination or out of stock, please feel free to write to us at service@raytac.com, Raytac’s sales team is always happy to fulfill your demand.

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: sales@raytac.com Tel: +886.2.3234.0208

New Distribution Partnership in Greater China Region

Raytac Corporation, a leading supplier of Bluetooth modules, announced a new distribution partnership with Weltrend Semiconductor, Inc. Weltrend has strong FAE team and their extensive footprint of distribution facilities makes them a valuable distribution partner. “We look forward to building our relationship and expanding the Greater China region to serve more customers.”

As a world-renowned supplier of BLE Bluetooth module, Raytac is dedicated to launching various kinds of modules to fulfill all developers’ needs and demands. Raytac’s modules are covered all Nordic solutions, including nRF51822, nRF52810, nRF52811, nRF52820, nRF52832, nRF52833, nRF52840 and nRF5340. Moreover, the modules are fully certified with not only Bluetooth SIG (QDID/DID/BQB), but also regional safety regulation in main areas such as FCC (USA), CE (EU), IC (Canada), TELEC (Japan), KC (Korea), SRRC (China), FCC(Taiwan), RCM (ANZ) , etc.

Raytac aims to build up a value chain to provide customers with a cost-effective and speed-time-to-market solution. Raytac also offers AT Command service allowing customers to adopt easily in IoT field.

WELTREND SEMICONDUCTOR,INC.KAOHSIUNG BRANCH(Taipei Office) Address: 11F-6, No. 736, Chungcheng Rd. Chungho District, New Taipei City., Taiwan http://www.weltrend.com.tw  Tel: +886.2.8226.9297

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: sales@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 Product Change Notice ( (PCN-22042502) Announcement for Tray strength improvement

Raytac would like to announce Product Change Notice (PCN-22042502) for below modules, the change active from shipment effected after 2022/7/1.  

1. MDBT53V-1M / MDBT53V-P1M

2. MDBT50-512K / MDBT50-P512K

3. MDBT50-256R / MDBT50-P256R

4. MDBT42-512K / MDBT42-P512K

The major description of this PCN is refer to improve the tray strength. Apart from the SMT tray feeder program may need to re-setup and MOQ will changed from 88pcs/tray to 120pc/tray,  there is no further function, quality or safety regulation is affected. 

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: sales@raytac.com Tel: +886.2.3234.0208

Raytac Product Change Notice ( (PCN-22042501) Announcement for Tray strength improvement

Raytac would like to announce Product Change Notice (PCN-22042501) for below modules, the change active from shipment effected after 2022/7/1.

1. MDBT42Q-512KV2 / MDBT42Q-192KV2 / MDBT42Q-192KL / MDBT42Q-AT/ MDBT42Q-ATL

2.  MDBT42Q-P512KV2 / MDBT42Q-P192KV2 / MDBT42Q-P192KL / MDBT42Q-PAT / MDBT42Q-PATL

3. MDBT42Q-U512KV2

4. MDBT53-1M / MDBT53-P1M / MDBT53-U1M

5. MDBT50Q-1MV2 / MDBT50Q-P1MV2 / MDBT50Q-U1MV2

6. MDBT50Q-512K / MDBT50Q-P512K / MDBT50Q-U512K

7. MDBT50Q-ATMS / MDBT50Q-PATMS / MDBT50Q-UATMS 

The major description of this PCN is refer to improve the tray strength. Apart from the SMT tray feeder program may need to re-setup,  there is no further function, quality or safety regulation is affected. 

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: sales@raytac.com Tel: +886.2.3234.0208