background image

 

NINA-W1 series - User Manual 

 

 

 

2.5.5

 

Using ESP-IDF v4 

 

ESP-IDF v4 is mandatory for NINA-W106. 

To  use  ESP-IDF  v4,  follow  the  applicable  instructions  for  your  development  environment  on 

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/windows-setup.html

 

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-setup.html

 

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/macos-setup.html

 

Get the latest toolchain and installation instructions by using applicable path above.   

After  the  toolchain  has  been  installed,  get  and  install  the  ESP-IDF  by  using  the  below  link  and 
following the given instructions. 

The toolchain for the ESP-IDF uses the 

IDF_PATH

 environment variable. This variable must be set up 

for building the projects by following the given instructions. 

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html#step-2-get-
esp-idf

 

The 

source 

files 

for 

Espressif 

ESP-IDF 

repository 

is 

located 

on 

github 

at 

https://github.com/espressif/esp-idf

Building and flashing the examples is basically done the same way as for ESP-IDF v3, but instead of 

make

,  the 

idf.py

  shall  be  invoked.  The  same  command-line  parameters  applies.  However,  some 

differences exist: 

 

For  NINA-W101/NINA-W102,  during 

idf.py  make  menuconfig

  also  set  the  configuration  flag 

CONFIG_SPI_FLASH_USE_LEGACY_IMPL

 flag to 

Y

, otherwise the application will fail to start.  

 

NINA-W106, during 

idf.py make menuconfig

 

also set the 

CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V

 

and 

CONFIG_SPI_FLASH_SUPPORT_ISSI_CHIP

 configuration flags to 

Y.

 

 

On NINA-W106, it may be required to add the 

--no-stub

 parameter to 

esptool.py

 when flashing 

the  software  and  make  a  manual  verification  using  a  second  invocation  of 

esptool.py

  in  case 

flashing and verification fails. 

2.5.6

 

Automatic bootloader on NINA-W10 EVK 

The  “

esptool.py

”  flash  tool  supports  automatic  entry  to  the  bootloader  on  the  NINA-W10  EVK 

without  pressing  the  BOOT  button  and  RESET  the  module.  To  use  this  functionality,  you  need  to 
connect the following pins: 

 

RESET to IO19 (CTS) 

 

IO0 (IO zero) to IO26 (DSR) 

The jumpers CTS (J14-8) and DSR (J14-7) should also be removed so that they do not interfere. 

 

It is not possible to use the Hardware Flow control or  the DSR signals on  the  UART while using 
this setup. 

More information about the esptool is available at -  

https://github.com/espressif/esptool

 

2.6

 

Arduino support for NINA-W10 

It is possible to use Arduino electronics platform on the NINA-W10. The Arduino platform and open 
source  community provides  the possibility to access a lot of third party hardware such as displays 
and sensors. 

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

Страница 1: ...W13 Wi Fi and NINA W10 and NINA W15 series multiradio and NINA B2 Bluetooth modules These modules feature a number of useful embedded security features including secure boot that ensures that only au...

Страница 2: ...Copying reproduction modification or disclosure to third parties of this document or any part thereof is only permitted with the express written permission of u blox The information contained herein...

Страница 3: ...1 NINA W13 and NINA W15 u connectXpress software 11 2 2 SDK for open CPU modules 12 2 3 Flashing stand alone modules with s center 12 2 4 Updating u connectXpress software with s center 13 2 5 Develo...

Страница 4: ...4 1 Packaging shipping storage and moisture preconditioning 33 4 2 Handling 33 4 3 Soldering 33 4 3 1 Reflow soldering process 33 4 3 2 Cleaning 34 4 3 3 Other remarks 35 Approvals 36 5 1 European Un...

Страница 5: ...cation Leveraging integrated cryptographic hardware accelerators NINA W10 series modules offer top grade security with secure boot functionality that ensures that applications start only with the orig...

Страница 6: ...is required interface available for NINA W10 series modules and NINA W156 1 4 Supply interfaces 1 4 1 Module supply design VCC NINA W1 series modules include an integrated Linear Voltage converter tha...

Страница 7: ...n with internal pull up or pull down resistors in the module See data sheet for more information Care must be taken if an RMII interface is to be included in the application design Pin 25 and pin 27 c...

Страница 8: ...AC connection will be supported when the module reaches Engineering Sample status NINA W1 series modules include a full RMII for Ethernet MAC to PHY communication using the included Station Management...

Страница 9: ...must be connected The default PHY address 0x1 must be configured on the PHY side Follow the recommendations of your chosen PHY chip supplier for implementation details An example of a PHY implementat...

Страница 10: ...A W1x6 modules are equipped with a PCB trace antenna that is based on technology licensed from Proant AB 1 8 Reserved pins RSVD Do not connect the reserved RSVD pin Reserved pins are allocated for fut...

Страница 11: ...use of u connectXpress software see the u blox Short range modules AT commands manual Typical examples of the applications and use cases supported by NINA W13 and NINA W15 series modules include Gate...

Страница 12: ...Flashing stand alone modules with s center ublox s center client software provides a convenient tool with which to configure u blox standalone modules It runs on PCs running Windows XP onwards x86 and...

Страница 13: ...ive and select Update The s center handles the download using information contained in the json file without any further interaction is needed from the user See also Figure 5 Figure 5 Software Update...

Страница 14: ...PATH environment variable Build and Flash o Start a Project Connect Configure Build and Flash a program More information about this is available at http esp idf readthedocs io en latest index html 2 5...

Страница 15: ...esp idf repository will be created in the c git folder git clone recursive https github com espressif esp idf git To checkout a specific tag such as v3 1 use the following command as shown in the exam...

Страница 16: ...oject This project will print out Hello World ten times on the UART and then reboot To build this sample project go to the hello world folder using the following command Plug in NINA W10 to the PC and...

Страница 17: ...d click OK Figure 10 Screenshot that shows selection of the sample com port number COM10 Save the sdkconfig by entering a filename to which this configuration should be saved as shown in Figure Figure...

Страница 18: ...owering on the board Then enter make flash to build and flash the NINA W10 as shown below Figure 12 Compiling of the example application Now reset the NINA W10 by clicking the RESET button Then enter...

Страница 19: ...lies However some differences exist For NINA W101 NINA W102 during idf py make menuconfig also set the configuration flag CONFIG_SPI_FLASH_USE_LEGACY_IMPL flag to Y otherwise the application will fail...

Страница 20: ...o arduino exe and then close the program again Do this to ensure that the folder is created correctly before downloading the Arduino files as mentioned in the next step The Arduino IDE user folder is...

Страница 21: ...to the folder esp32 folder Figure 2 Cloning the Arduino Esp32 repository 2 6 3 Downloading the toolchain Go to the folder C Users user_name Documents Arduino hardware espressif esp32 tools to execute...

Страница 22: ...gram Files x86 Arduino arduino exe In the Tools Board menu select ESP32 Dev Module and then select the following Flash Mode DIO Flash Frequency 40 MHz Flash Size 2 MB 16 Mb Upload Speed 921600 Core De...

Страница 23: ...Scan Press the arrow button as shown highlighted in red in the below screenshot Figure to start the upload to NINA W10 Figure 19 Screenshot that depicts the arrow at the top Select Serial Monitor from...

Страница 24: ...ed below const esp_phy_init_data_t esp_phy_get_init_data int8_t init_data malloc sizeof esp_phy_init_data_t memcpy init_data phy_init_data sizeof esp_phy_init_data_t init_data 44 56 target power 0 ini...

Страница 25: ...ut power configuration for versions v3 1 v3 2 and v4 0 The original file phy_init c is located in the folder esp idf components esp32 in the official git repositories for the applicable esp idf Update...

Страница 26: ...oth BR EDR output power configuration No output power configuration for Bluetooth BR EDR is required With default settings the module will operate at 6 dBm which is within the regulatory limit for NIN...

Страница 27: ...4 1 for schematic and layout design 4 System functions RESET_N GPIO and other System input and output pins Accurate design is required to guarantee that the voltage level is well defined during modul...

Страница 28: ...3 1 On board antenna design If a plastic enclosure is used it is possible to use NINA W1 with the embedded antenna In order to reach an optimum operating performance follow the instructions provided i...

Страница 29: ...ommunication interfaces 3 4 1 Asynchronous serial interface UART design The layout of the UART bus should be done so that noise injection and cross talk are avoided It is recommended to use the hardwa...

Страница 30: ...es a supplementary isolation of 4w from other busses is recommended 3 5 1 General considerations for schematic design and PCB floor planning Verify which signal bus requires termination and add series...

Страница 31: ...series Data Sheets The proposed land pattern layout reflects the pads layout of the module The Non Solder Mask Defined NSMD pad type is recommended over the Solder Mask Defined SMD pad type which imp...

Страница 32: ...refer to the ETSI EN 301 489 1 For the contact and air discharges definitions refer to CENELEC EN 61000 4 2 Parameter Min Typical Max Unit Remarks ESD immunity All exposed surfaces of the radio equip...

Страница 33: ...en contacting materials that can develop charges e g patch antenna 10 pF coax cable 50 80 pF m soldering iron To prevent electrostatic discharge through the RF input do not touch any exposed antenna a...

Страница 34: ...es is not recommended Residues underneath the modules cannot be easily removed with a washing process Cleaning with water will lead to capillary effects where water is absorbed in the gap between the...

Страница 35: ...to prevent the liquid from flowing into the module The RF shields do not provide protection for the module from coating liquids with low viscosity therefore care is required in applying the coating C...

Страница 36: ...nt The end user must comply with all of the instructions provided by the Grantee which indicate installation and or operating conditions necessary for compliance The finished product is required to co...

Страница 37: ...rdance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does c...

Страница 38: ...led with its permanently affixed FCC ID label 7 The module complies with all specific rules applicable to the transmitter including all the conditions provided in the integration instructions by the g...

Страница 39: ...dio exempts de licence L exploitation est autoris e aux deux conditions suivantes 1 L appareil ne doit pas produire de brouillage a L appareil doit accepter tout brouillage radio lectrique subi m me s...

Страница 40: ...is pending When a product integrating a NINA W106 NINA W136 NINA W156 or NINA B226 module is placed on the Japanese market the product must be affixed with a label with the Giteki marking as shown in...

Страница 41: ...urement and verification of RF characteristics in all supported bands For example measurements of receiver RSSI and transmitter power levels and frequency tuning of the reference clock Figure 7 Automa...

Страница 42: ...formed after establishing a connection with an external device A very simple test can be performed by just scanning for a known Bluetooth low energy device and checking the signal level These kinds of...

Страница 43: ...ing Equipment Data Communication Equipment DDC Display Data Channel DDR Double Data Rate DL Down Link Reception DRX Discontinuous Reception DSR Data Set Ready DTE Data Terminal Equipment DTR Data Term...

Страница 44: ...RSSI Received Signal Strength Indicator RTC Real Time Clock SDK Software Development Kit SMA SubMiniature version A SRAM Static random access memory TBD To be Defined THT Through hole Technology UART...

Отзывы: