Ublox NINA-B4 Series Скачать руководство пользователя страница 19

 

NINA-B4 series - System integration manual 

UBX-19052230 - R09 

Design-in

  

Page 19 of 61 

C1-Public  

 

 

2.4.3

 

I2C interface 

The (NINA-B40 only) Inter-Integrated Circuit (I2C) interface can be used to transfer or receive data on 
a  2-wire  bus  network.  NINA-B40  can  operate  as  both  master  and  slave  on  the  I2C  bus  using  both 
standard (100 kbps) and fast (400 kbps) transmission speeds. The interface uses the 

SCL

 signal to 

clock instructions and data on the 

SDA

 signal. 

External pull-up resistors are required for the I2C interface. The value of the pull-up resistor should be 
selected depending on the speed and capacitance of the bus. See also the Electrical specifications in 
the NINA-B40 series data sheet 

[2]

 for recommended resistor values. 

2.4.4

 

USB 2.0 interface 

NINA-B40  series  modules  (only)  include  a  full  speed  Universal  Serial  Bus  (USB)  device  interface 
compliant  with  version  2.0  of  the  USB  specification.  The  pin  configuration  of  the  USB  interface  is 
provided below: 

 

VBUS

, 5 V supply input needed to use the interface 

 

USB_DP

USB_DM

, differential data pair 

The USB interface has a dedicated power supply that requires a 5 V supply voltage for the 

VBUS

 pin. 

This allows the USB interface to be used even though the rest of the module might be battery powered 
or supplied by a 1.8 V supply, etc. 

2.5

 

GPIO pins 

In an unconfigured state, NINA-B40 modules have 40 GPIO pins, 10 of which are analog-enabled pins 
that can be assigned to analog functions.  

In an unconfigured state, NINA-B41 modules support a total of 26 GPIO pins with no analog interfaces.  

All interfaces or functions must be allocated to a GPIO pin before use. The digital and analog functions 
that can be assigned to a GPIO pin, in addition to the serial interfaces, are shown i

Table 12

.   

Function

 

Description

 

Default  
NINA-B4 pin

 

Configurable 
GPIOs

 

General purpose 
input 

Digital input with configurable pull-up, pull-down, edge detection 
and interrupt generation 

 

Any 

General purpose 
output 

Digital output with configurable drive strength, push-pull, open-
collector, or open-emitter output 

 

Any 

Pin disabled 

Pin is disconnected from the input and output buffers. 

All* 

Any 

Timer/ counter 

High-precision time measurement between two pulses/ Pulse 
counting with interrupt/event generation 

 

Any 

Interrupt/ Event 
trigger 

Interrupt/event trigger to software application/ Wake-up event 

 

Any 

HIGH/LOW/Toggle 
on event 

Programmable digital level triggered by internal or external events 
without CPU involvement 

 

Any 

ADC input 

8/10/12/14-bit analog to digital converter 

 

Any analog 

Analog comparator 
input 

Compare two voltages, capable of generating wake-up events and 
interrupts 

 

Any analog 

PWM output 

Output simple or complex pulse width modulation waveforms 

 

Any 

Connection status 
indicator 

Indicates if a BLE connection is maintained 

BLUE** 

Any 

* = If left unconfigured 

 

** = If using u-connectXpress software 

Table 11: GPIO custom functions configuration 

Содержание NINA-B4 Series

Страница 1: ...t and module functions this manual provides a functional overview combined with best practice design guidelines for integrating the short range module in an end product With several supporting example...

Страница 2: ...ducts names logos and designs included in this document Copying reproduction modification or disclosure to third parties of this document or any part thereof is only permitted with the express written...

Страница 3: ...8 Pin configurations and functions 13 1 8 1 NINA B40 pins 13 1 8 2 NINA B41 pins 13 1 9 Low power clock 14 1 9 1 External crystal 14 1 9 2 Internal oscillator 15 1 9 3 External clock source 15 2 Desig...

Страница 4: ...onfiguration in Zephyr 36 3 2 3 Building for NINA B4 EVK using the Zephyr command line environment 36 3 3 Bluetooth device MAC address and other production data 36 3 4 Definition of Low Frequency Cloc...

Страница 5: ...ration manual UBX 19052230 R09 Contents Page 5 of 61 C1 Public B 1 Reference design for external antennas U FL connector 56 B 1 1 Floor plan 57 B 1 2 RF trace specification 57 Related documents 59 Rev...

Страница 6: ...modules integrates internal power management circuitry requiring only a single supply voltage in the range of 1 7 3 6 V The broad supply range also makes the modules particularly useful in battery pow...

Страница 7: ...ashed NINA B411 has an RF pin for use with an external antenna NINA B416 Bluetooth 5 1 module that includes a powerful Arm Cortex M4 with FPU and delivers state of the art power performance All NINA B...

Страница 8: ...INA B401 modules include an ANT pad on the footprint for connecting an external antenna The module size is 10 x 11 6 x 2 2 mm NINA B406 module support an internal PCB trace antenna using antenna techn...

Страница 9: ...that includes an ANT pad for connecting an external antenna The module size is 10 x 11 6 x 2 2 mm NINA B416 modules support an internal PCB trace antenna using antenna technology from Proant AB The mo...

Страница 10: ...1 Mbps 2 Mbps 500 kbps 125 kbps Module size 10 0 x 15 0 mm 10 0 x 11 6 mm 10 0 x 15 0 mm Table 3 NINA B4 series characteristics summary 1 4 2 NINA B41 series Item NINA B410 NINA B411 NINA B416 Blueto...

Страница 11: ...u connectXpress software that interfaces through an AT command interpreter for control by customer application software running on host MCUs See also u connectXpress software Both module variants inc...

Страница 12: ...ooth u blox Low Energy Serial Port Service SPS GATT server and client using AT commands Beacons 2 Mbit s modulation 125 Kbit s modulation long range functionality Advertising extensions Configuration...

Страница 13: ...AOA explorer kits user guide 23 1 7 Bluetooth device address You can scan the data matrix barcode on the module label to retrieve the Bluetooth device address For more information about the Bluetooth...

Страница 14: ...t consumption of the NINA B4 module an external crystal or external clock source shall be used The internal oscillator gives higher sleep current but of course a leaner BOM For more information about...

Страница 15: ...stomer application software must check the calibration of the internal oscillator at least once every 8 seconds 1 9 3 External clock source As an alternative to using an external crystal an external c...

Страница 16: ...ply consider adding extra capacitance on the supply line to avoid capacity degradation For information about voltage supply requirement and current consumption see also the respective datasheet 2 3 2...

Страница 17: ...ides a convenient primary supply option when the voltage difference between the main supply and module VCC is reasonably small The benefit of an LDO source over SMPS is that an LDO is simpler to integ...

Страница 18: ...n be used to Enter command mode Disconnect and or toggle connectable status Enable disable the rest of the UART interface Enter wake up from the sleep mode For more information about the characteristi...

Страница 19: ...have 40 GPIO pins 10 of which are analog enabled pins that can be assigned to analog functions In an unconfigured state NINA B41 modules support a total of 26 GPIO pins with no analog interfaces All...

Страница 20: ...ange If the sampled signal level is much lower than VCC it is possible to lower the input range of the ADC to encompass the desired signal and obtain a higher effective resolution Continuous sampling...

Страница 21: ...t supports an external antenna if the product includes a metal product enclosure or if any of the NINA B4x6 antenna layout considerations for integrating an internal PCB trace antenna into the design...

Страница 22: ...F isolation between antennas in the system must be as high as possible and the correlation between the 3D radiation patterns of the antennas must be as low as possible In general an RF separation of a...

Страница 23: ...connect RF coaxial cables based on the declaration of the respective manufacturers The Hirose U FL R SMT RF receptacles or similar parts require a suitable mated RF plug from the same connector serie...

Страница 24: ...turn loss or VSWR Provide a ground plane large enough according to the related integrated antenna requirements The ground plane of the application PCB may be reduced to a minimal size that is not less...

Страница 25: ...e attached to the side of the panel Despite the high losses anticipated at high frequencies an FR 4 dielectric material can be considered in the RF designs providing that o RF trace lengths are minimi...

Страница 26: ...e is recommended as shown in Figure 7 Include a non disruptive GND plane underneath the module with a cut out underneath the antenna as shown in Figure 8 Observe the antenna keep out area on all layer...

Страница 27: ...xtended host ground plane outside NINA B4x6 Figure 8 NINA B4x6 keep out area 2 7 NFC interface As the pins for the NFC interface in NINA B40 series modules can be used as normal GPIOs it is important...

Страница 28: ...e NFC transmitter is always within 3 meters during transmission Figure 9 NFC antenna design 1 2 13 56 2 1 2 2 2 13 56 2 2 7 1 Battery protection If the antenna is exposed to a strong NFC field parasit...

Страница 29: ...module with respect to antenna position and host processor Verify the controlled impedance dimensions of the selected PCB stack up The PCB manufacturer might be able to provide test coupons Verify tha...

Страница 30: ...A B4 modules are low power devices that generate only a small amount of heat during operation A good grounding should still be observed for temperature relief during high ambient temperatures 2 9 4 ES...

Страница 31: ...vel All exposed surfaces of the radio equipment and ancillary equipment in a representative configuration Indirect Contact Discharge 8 kV Table 16 Electromagnetic Compatibility ESD immunity requiremen...

Страница 32: ...Download and install the latest SEGGER embedded studio 3 Download and extract the latest nRF5 SDK When installing the SDK be sure not to include any space characters in the file path Keep the folder...

Страница 33: ...lected by adding a define of the symbol BOARD_CUSTOM to your build You can add the BOARD_CUSTOM define statement in SEGGER Embedded Studio by following the instructions below 1 Right click the Project...

Страница 34: ...exible way of adding a board to your project can be to add a new build configuration to your Segger Studio project and then use this to select the correct board file for your build By adding several c...

Страница 35: ...stem RTOS that is supported on a multitude of chipsets including the nRF52833 chip in the NINA B4 module The Zephyr project is supported by the Linux Foundation Nordic Semiconductor provides the nRF C...

Страница 36: ...and CUSTOMER 1 registers in the UICR of the nRF52833 chip The address can be read and written using Segger J Link utilities or the nrfjprog utility from Nordic nrfjprog exe memrd 0x10001080 n 8 The me...

Страница 37: ...n erase the original u blox Bluetooth device address this address might need to be reinstated The Bluetooth device address can be re written manually or with the use of a script See also Bluetooth dev...

Страница 38: ...tware Page 38 of 61 C1 Public In the nRF Connect Programmer drag and drop the hex files you want to program into the GUI and then write them to the module using the GUI as shown in Error Reference sou...

Страница 39: ...SIZE to make sure that the FLASH_START FLASH_SIZE is less than bootloader start address 3 5 2 2 Preparing the Device Firmware Update DFU package The package to be flashed is in a special DFU package f...

Страница 40: ...TCH_2 need to be mapped according to Table 18 This is the same pin mapping used by the u connectXpress software Signal Pin mapping nRF pin nr UART_RX IO_23 P0 29 UART_TX IO_22 P1 05 UART_CTS optional...

Страница 41: ...ary files and one JSON file that includes the software label software description file name version flash address image size image id file permissions and signature file reference for the SoftDevice a...

Страница 42: ...ulator software that supports XMODEM like TeraTerm or ExtraPuTTy Alternatively you can send all AT commands described in this section using the s center software in AT mode The examples given in this...

Страница 43: ...wST59Dg8WZbcN5C6xwZtA3vE A0M2h3JulhVv49UIIjzh TZwYLLrnWGNWgu4cAPkmMHkZa5MZl QSb GeT8naXe7oVTS2S2NzXX83N ovmTVBMpkfQiEoNJw5u5 agXq3J4kz 9g1LylUNtHbucAJR5cs1hsrOC UZSULY2 4jNqxdN3m6BlvQyycxJCJ2J49cnB85R...

Страница 44: ...nds described in this section using the s center software in AT mode See also the s center user guide 22 Procedure The examples in this procedure have been created and tested on EVK NINA B41 using Ter...

Страница 45: ...d in the NINA B41X CF version json file and the signature in the NINA B41X SI x x x xxx txt file The bootloader must be running when the software is sent to the module in the next step Note particular...

Страница 46: ...in this procedure have been created and tested on EVK NINA B41 using TeraTerm 1 Setup the serial port connection See also Setting up the serial port 2 Prepare NINA B4 to accept the SoftDevice binary...

Страница 47: ...of C characters for as long as the bootloader is running CCCCCCCCCCCCCCCCCCCCCCCCCC 7 While the bootloader is running send the SoftDevice NINA S140 SD x x bin file to NINA B4 The file is sent using XM...

Страница 48: ...ectXpress AT commands manual 6 4 2 Low frequency clock source NINA B4x modules are delivered without an external low frequency crystal oscillator LFXO The low frequency oscillator is used for power sa...

Страница 49: ...any charged capacitors Be especially careful when handling materials like patch antennas 10 pF coaxial cables 50 80 pF m soldering irons or any other materials that can develop charges To prevent ele...

Страница 50: ...he thermal mass over the entire area of the fully populated host PCB the heat transfer efficiency of the oven and the type of solder paste that is used The optimal soldering profile that is used must...

Страница 51: ...aning stage after the soldering process 5 3 3 Other remarks Only a single reflow soldering process is allowed for boards with a module populated on them Boards with combined through hole THT component...

Страница 52: ...ach unit can be generated Figure 22Error Reference source not found shows the ATE typically used during u blox production u blox in line production testing includes Digital self tests firmware downloa...

Страница 53: ...en Device The standard operational module firmware and test software on the host can be used to perform functional tests communication with the host controller check interfaces and perform basic RF pe...

Страница 54: ...2 C Inter Integrated Circuit IDE Integrated Development Environment IEEE Institute of Electrical and Electronics Engineers LDO Low Drop Out LED Light Emitting Diode MAC Media Access Control MISO Maste...

Страница 55: ...mart home automation devices to communicate on a local wireless mesh network THT Through Hole Technology TXD Transmit Data UART Universal Asynchronous Receiver Transmitter UICR User Information Config...

Страница 56: ...layout must be identical to that provided by u blox Implement one of the reference designs described in this appendix or contact u blox The designer must use the PCB stack up provided by u blox RF tra...

Страница 57: ...trace Antenna coplanar microstrip matched to 50 5 GND trace Minimum required for top layer GND trace as shown in Figure 26 6 Copper keep out area Keep this area free from any copper on the top layer T...

Страница 58: ...edance significantly for short trace lengths of width and height shown in Table 23 Consequently the trace impedance for traces with these dimensions is still close to 50 Figure 26 RF trace and minimum...

Страница 59: ...ements 13 ETSI EN 60950 1 2006 Information technology equipment Safety Part 1 General requirements 14 JESD51 Overview of methodology for thermal testing of single semiconductor devices 15 Nordic Semic...

Страница 60: ...Minor corrections R06 22 Jan 2021 lber Added NINA B401 and NINA B411 product variants with subsequent revision to the design in and antenna descriptions in chapter 2 Added handling and soldering infor...

Страница 61: ...ox com Regional 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 Supp...

Отзывы: