background image

 

EVK-NORA-B1 - User guide 

UBX-20030319 - R05 

Application development  

Page 26 of 32 

C1-Public  

 

 

4.1.6

 

Build and load application core 

1.

 

Select 

Close solution

 from the menu. 

 

Figure 22: Close solution 

2.

 

Select 

Open nRF Connect SDK Project

 

 

Figure 23: Open nRF Connect SDK Project 

3.

 

From the nRF Connect Options dialog, select the following items: 

 

nRF Connect SDK Release = the version installed in Install nRF Connect for Desktop 

 

nRF Connect Toolchain Version = NONE (Use SES settings / environment path) 

 

Projects = peripheral_lbs from the Getting Started | nRF section of the drop-down menu 

 

Board name = ubx_evknorab10_nrf5340_cpuapp  from the Nordic Kits section of the drop-
down menu 

 

Build Directory is automatically completed from the selections above 

 

Clean Build Directory = ticked 

 

Other settings may be left as defaults 

Содержание EVK-NORA-B1

Страница 1: ...series modules User guide Abstract This document describes how to set up the EVK NORA B100 and EVK NORA B106 evaluation kits to evaluate the NORA B1 series modules It also describes the different options for debugging and the development capabilities included in the evaluation board ...

Страница 2: ...pecification This document applies to the following products Product name Document status EVK NORA B100 Early production information EVK NORA B106 Early production information For information about the hardware software and status of the available product types see the NORA B1 data sheet 1 u blox or third parties may hold intellectual property rights in the products names logos and designs include...

Страница 3: ...Hz low frequency clock 11 2 7 NFC connector 12 2 8 Current sensing headers 13 2 9 Debug indicators 13 2 10External SEGGER J Link debug interface 14 2 11QSPI 15 2 12GPIO jumpers 15 2 13Header pin out 16 3 SEGGER Embedded Studio and NORA B1 CPU cores 20 4 Application development 21 4 1 Install nRF Connect for Desktop 21 4 1 1 Install nRF Connect SDK 22 4 1 2 Board support package 22 4 1 3 Prepare wo...

Страница 4: ...Ds and a reset button 48 GPIO signals are available on headers that are compatible with the Arduino form factor This allows easy use of existing Arduino shields Current sense resistors allow for measuring current into the module and into the shield This guide provides setup instructions for starting development and describes the hardware functionality of the EVK NORA B1 board 1 1 Key features Used...

Страница 5: ...uctor nRF Connect for Desktop nRF Connect for Desktop is the primary development tool used with the NORA B1 series modules This tool includes an installation and maintenance utility for the nRF Connect SDK Toolchain Manager nRF Connect for Desktop is a cross platform tool that also enables testing and development with Bluetooth LE It allows easy setup of connections with other devices and uses the...

Страница 6: ...es Care should be taken not to damage the supplies when the protection is by passed 2 1 1 Powering the board During typical debugging power is provided by VBUS on the USB debug interface that supplies 5 V to the 3 3 V LDO regulator and shield connector The LDO regulator powers the VIO VSHLD and VBMD power rails When powering the board from the CR2032 coin cell 3 VDC the external power header or Li...

Страница 7: ...ace IC or to directly connect to nRESET signal in the module The reset button is connected to the debug interface chip by default Pressing reset while the interface IC is powered causes a momentary reset signal on the nMOD_RESET output of the interface IC which converted to the VSYS I O voltage for the module If the reset button is held down during the EVK power on it causes the interface IC to en...

Страница 8: ...A B1 reset signal at the NORA B1 I O voltage nSHLD_RESET I O header shield reset signal J27 pin 3 Table 2 EVK reset signals 2 3 Buttons The evaluation board has four user buttons that are active low and connect to ground when pressed Table 3 associates the button number and corresponding components Button Switch GPIO Jumper Protection diode 1 SW4 P0 23 J24 D7 2 SW5 P0 24 J21 D8 3 SW7 P0 08 J22 D11...

Страница 9: ...ng the position of JLED1 LEDs are powered by VIO and are active low The GPIO should be enabled for high drive when sinking current for the LEDs The LEDs can be completely removed from the circuit by breaking the associated jumper LED RGB LED GPIO Jumper Comments 1 Red Red P0 28 J4 Change JLED1 for RGB 2 Red Blue P0 29 J5 Change JLED1 for RGB 3 Green Green P0 30 J7 Change JLED1 for RGB 4 Green P0 3...

Страница 10: ... to the NORA B1 module can be disabled through SW2 to allow use of the GPIO pin for an application function Table 5 describes the function and test points for each module pin NORA B1 pin name NORA B1 function Test point SW2 enable Interface IC function P1 01 Network core TXD SW2 Position 2 RXD VCOM0 P1 00 Network core RXD SW2 Position 2 TXD VCOM0 P0 11 Network core RTS SW2 Position 1 CTS VCOM0 P0 ...

Страница 11: ...ere low power is the main requirement Internal calibrated RC oscillator for applications with no strict real time requirements Internal synthesized clock derived from the 32 MHz clock External crystal oscillator offers the most accurate and lowest power LF clock The evaluation board has a 32 768 kHz crystal connected to the NORA B1 module to allow use of the external crystal oscillator option Load...

Страница 12: ...nRF5340 product specification 4 Figure 8 NFC connector By default the NORA B1 module pins P0 02 and P0 03 are configured for NFC use These pins can also be used for digital GPIO functions by modifying the population of R15 R16 R22 and R23 and the value of the NFCPINS UICR register Mode Populate R15 R16 R22 R23 NFCPINS UICR register NFC default X X 0xFFFFFFFF enable protection use as NFC GPIO1 2 X ...

Страница 13: ...asured directly by opening JRMOD JRHV or JRSHD to remove the current sense resistor from the circuit Use an ammeter in series with the two voltage pins Pin 1 of J14 J18 and J25 is connected to GND Any current sense resistor can be bypassed by soldering the respective jumper JMOD JSHD or JHV The default hardware configuration does not require any modification of the current sense headers for the EV...

Страница 14: ...eries power supply VDD on the target hardware Connect GND to GND on the target hardware Connect EXT_SWDIO to SWDIO and EXT_SWCLK to SWDCLK on the target NORA B1 module Optional Connect EXT_SWO and or nEXT_RESET on the target NORA B1 module Connect external power to the target hardware and then connect the EVK NORA B1 to USB At this point the debug interface interacts with the target hardware inste...

Страница 15: ...e GPIO functions Most solder jumpers are used to remove on board components from the GPIO nets in the module and consequently eliminate interference with external circuitry added on the I O headers All GPIOs are directly connected to the I O Headers by default except P0 00 and P0 01 32 kHz crystal P0 02 and P0 03 NFC antenna and P0 13 P0 18 QSPI These are disconnected from the I O headers as they ...

Страница 16: ...13 Header pin out Figure 13 shows the 2 54 mm pitch headers exposing the IO signals in the NORA B1 module Figure 13 EVK NORA B1 I O pin out The I O pins of the EVK NORA B1 are not 5 V tolerant Arduino Uno style shields must be configured to use 3 3 V DC VSHLD as the I O voltage reference ...

Страница 17: ...P1 08 GPIO 3 P1 07 P1 07 GPIO 4 P1 06 P1 06 GPIO 5 P1 05 P1 05 GPIO 6 P1 04 P1 04 GPIO 7 P1 01 P1 01 GPIO 8 P1 00 P1 00 GPIO Table 9 Header J2 Pin Pin name nRF5340 Function 1 P0 10 P0 10 GPIO TRACEDATA1 MISO 2 P0 09 P0 09 GPIO TRACEDATA2 MOSI 3 P0 08 P0 08 GPIO TRACEDATA3 SCK 4 P0 07 P0 07 GPIO AIN3 5 P0 03 P0 03 OPEN GPIO 6 P0 02 P0 02 OPEN GPIO 7 P0 01 P0 01 OPEN GPIO 8 P0 00 P0 00 OPEN GPIO Tab...

Страница 18: ...0 10 after level shifter VCOM1 CTS 20 TXD1 P0 25 after level shifter VCOM1 TXD 21 RTS1 P0 12 after level shifter VCOM1 RTS 22 RXD1 P0 26 after level shifter VCOM1 RXD 23 N C No connection 24 GND GND Table 11 Header J6 Pin Pin name nRF5340 Function 1 VMOD Module VDD 2 VSYS System 3 3 VDC 3 SHLD_VTG Shield J Link voltage sense 4 SHLD_SWDIO Shield J Link SWDIO 5 SHLD_SWDCLK Shield J Link SWDCLK 6 SHL...

Страница 19: ...Table 13 Header J15 Pin Pin name nRF5340 Function 1 VSHLD 3 3 V Shield Power 2 VSHLD 3 3 V Shield Power 3 RESET nRESET nRESET 4 VSHLD 3 3 V Shield Power 5 5V0 5 0 V USB Power 6 GND Ground 7 GND Ground 8 No connection Table 14 Header J27 Pin Pin name nRF5340 Function 1 P0 04 P0 04 GPIO AIN0 2 P0 05 P0 05 GPIO AIN1 3 P0 06 P0 06 GPIO AIN2 4 P0 07 P0 07 GPIO AIN3 5 P0 25 P0 25 GPIO AIN4 6 P0 26 P0 26...

Страница 20: ...s Bluetooth Controller support to another device This sample runs on the network core Once loaded any application in the zephyr samples bluetooth or nrf samples bluetooth directories can be used on the application processor Each project references the five following items nRF Connect SDK release indicates the currently selected SDK version nRF Connect toolchain version indicates the currently sele...

Страница 21: ...for allocating shared resources If the end product code only uses the network core both application and network cores must be programmed for the resource allocation to be valid The Nordic Semiconductor Bluetooth peripheral example discussed here uses both cores The network core is loaded with the Bluetooth controller to provide an HCI interface to the application core The application is loaded wit...

Страница 22: ...t 8 4 1 2 Board support package EVK NORA B1 requires a unique board support package BSP to account for the GPIO assignments within the design u blox board support files have the format ubx_ board_name _ cpu The EVK NORA B10 BSP uses the name ubx_evknorab10_nrf5340 which is appended with the suffix _cpunet _cpuapp or _cpuappns to reflect the target core All core options are contained in a single BS...

Страница 23: ...eral_lbs_ORIG The _ORIG folders may be used to restore the original code if required 4 1 4 Prepare EVK The NORA B1 module on the EVK NORA B1 must be fully erased prior to loading new code 1 Connect the debug interface of the EVK to the host computer with a USB cable 2 Open a command prompt in the Toolchain Manager Figure 18 Open command prompt in Toolchain Manager 3 Run the commands nrfjprog f nRF...

Страница 24: ...mple programs provided with the SDK use a permanent static random address stored in the FICR The u blox supplied public device address is not used by default 4 1 5 Build and load network core 1 Open the IDE 2 If a project is pre loaded select Close Solution from the menu Figure 19 Close solution 3 Select Open nRF Connect SDK Project Figure 20 Open nRF Connect SDK Project Only use this menu option ...

Страница 25: ...i_rpmsg from the Short Range Bluetooth section of the drop down menu Board name ubx_evknorab10_nrf5340_cpunet from the board name section of the drop down menu Build Directory is automatically completed from the selections above Clean Build Directory ticked Other settings may be left as defaults Figure 21 Load hci_rpmsg project 5 Select OK The project is configured and opened in SES 6 No modificat...

Страница 26: ...s dialog select the following items nRF Connect SDK Release the version installed in Install nRF Connect for Desktop nRF Connect Toolchain Version NONE Use SES settings environment path Projects peripheral_lbs from the Getting Started nRF section of the drop down menu Board name ubx_evknorab10_nrf5340_cpuapp from the Nordic Kits section of the drop down menu Build Directory is automatically comple...

Страница 27: ...s to indicate that the module is advertising with the name Nordic_LBS 4 2 Test the application Having loaded the network and application builds to the NORA B1 module follow the procedure outlined below to test the application 1 Observe LED1 flashing This indicates that the NORA B1 is advertising for a connection 2 Install and open the nRF Connect for Mobile app on your mobile device 3 Start a scan...

Страница 28: ...evelopment Page 28 of 32 C1 Public Figure 25 nRF Connect scanning on iOS 4 Connect to Nordic_Blinky or Nordic_LBS notice EVK LED 2 turn on solid 5 On the mobile app swipe left to show the Services dialog Figure 26 nRF Connect connection information dialog ...

Страница 29: ...ations for button presses 7 Press and hold button 1 on the EVK observe the value change Release and observe the change again 8 In the LED State service tap the up arrow icon to display the Write Value dialog Figure 28 Write to LED State service Figure 29 Write value to change EVK LED 9 Try different one byte values A value of 0x00 turns off LED 3 Any other value turns it on The mobile application ...

Страница 30: ...rpose Input Output LDO Low Drop Out voltage regulator LE Low Energy LED Light Emitting Diode LF Low Frequency LiPo Lithium Polymer battery NCS nRF Connect SDK NFC Near Field Communications QSPI Quad Serial Peripheral Interface RC Resistor Capacitor network RTS Request To Send RXD Receive data signal SES SEGGER Embedded Studio SIG Special Interest Group SoC System on Chip SPI Serial Peripheral Inte...

Страница 31: ...esktop 12 Nordic Semiconductor nRF Connect for Mobile 13 Nordic Semiconductor mobile apps 14 Nordic Semiconductor GitHub site 15 Zephyr project West For product change notifications and regular updates of u blox documentation register on our website www u blox com Revision history Revision Date Name Comments R01 02 Oct 2020 brec Initial release R02 13 Oct 2020 brec Included editorial improvements ...

Страница 32: ...ional Office China Beijing Phone 86 10 68 133 545 E mail info_cn u blox com Support support_cn u blox com Regional Office China Chongqing Phone 86 23 6815 1588 E mail info_cn u blox com Support support_cn u blox com Regional Office China Shanghai Phone 86 21 6090 4832 E mail info_cn u blox com Support support_cn u blox com Regional Office China Shenzhen Phone 86 755 8627 1083 E mail info_cn u blox...

Отзывы: