This post was last edited by damiaa on 2021-5-24 09:43
Start EKV-NINA-B400 Programming
This title is a bit long, which makes me feel a bit embarrassed. But since it has the word "beginning", I'll just make do with it. Experts can just read it and don't take it seriously.
Programming is essential when playing with development boards . There are many manuals for EKV-NINA-B4XX . Take a look.
First, we need to look at the EVK-NINA-B4 Evaluation kit for NINA-B4 modules User guide to get an overall understanding of the board.
Then look at the programming tips in the manual: tell us that this board needs SDK. Not the B41 board, which can be controlled by other microcontrollers through AT commands.
3.2.2.1 Nordic Semiconductor SDK
To use the EVK-NINA-B40x together with Nordic Semiconductor SDK it is necessary to:
Create your own board file
Adapt the examples in the Nordic Semiconductor SDK to use this board file
For more information about performing these tasks, see the Software section of the NINA-B4
system integration manual [4]. See also the u-blox short range open CPU github repository [8].
The following tells us where we can look at the manual . It is the following 4
Related documents
[1] Arduino – https://www.arduino.cc
[2] Raspberry Pi - https://www.raspberrypi.org/
[3] NINA-B4 data sheet, UBX-19049405
[4] NINA-B4 series system integration manual, UBX-19052230
[5] u-blox Short range AT commands manual, UBX-14044127
[6] SEGGER J-Link software - https://www.segger.com/jlink-software.html
[7] u-connectXpress user guide, UBX-16024251
[8] https://github.com/u-blox/u-blox-sho-OpenCPU
Let's read the NINA-B4 series system integration manual UBX-19052230 . The link address of the manual is a bit wrong (the newer computer is being upgraded, and the old one has some problems. This is a computer problem) . Fortunately, it is available on the eeowlrd website .
The manual tells us that the board supports Bluetooth 5.1 thread zigbee. The board we have this time supports open cpu (B40) instead of u-connectXpress (B41. We will only focus on open cpu in the following.
The open cpu software system structure diagram is as follows : Speaking of open cpu, I understand that it is an SDK, how do we call it. I thought it was some new thing.
NINA-B4 series system integration manual UBX-19052230 tells us how to download and install the necessary software
Open CPU Software
Next, just focus on downloading and installing the ordic nRF SDK and installing the development environment .
The SDK 支持 for the SEGGER Embedded Studio,
Keil microcontroller development kit,
IAR embedded workbench IDE
GCC compiler that supports many platforms and languages.
NINA-B4 series system integration manual 3.11. tells us the SDK download address, software tool address, etc.
Download and install nRF Connect v3.61
If you are ready:
1. Keil5.3X is new.
2. Download and install nRF Conncet v3.61: nrfconnectsetup361ia32. The jink driver will be installed here. It will be automatically configured to keil.
3. You can also install nRF-Command-Line-Tools_10_12_1_Installer_64. However, I failed to install it here. I guess I need to install VS2017 by myself. I will put it aside for now. The jink driver will also be installed here. It will be automatically configured to keil.
4. Download and unzip nRF5SDK nRF5SDK1702d674dde.
5. Open nRF5SDK file and find that nrf pack needs to be installed. Automatic installation fails. Is it a network speed problem? But Thunder works.
If so, copy the URL to Xunlei and install it manually.
But I don't know what happened. At first it suggested 8.38. Then it didn't work anymore and it suggested 8.35. I had to download 8.35 again and it worked.
Then open a nRF5SDK lighting program. It happens that the LED1 lighting of PC10100 is the same as the RGB red light of this board.
Sorry for the disappointment. Happy weekend.