Document: SHARKY - User’s Guide 2020/11/18 SHARKY I & II User’s Guide MDX-STWBP-R01 : Sharky PCB Ant. MDX-STWBU-R01 : Sharky uFL antenna All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject to change by Midatronics S.r.l. without notice. Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide 2020/11/18 Outline 1. FCC Rules 1.1. List of FCC rules 2. Introduction 5 5 5 2.1. Description 5 3. System Overview 7 3.1. BLE Technology Overview 7 3.2. BLE Mesh Technology overview 9 3.3. Thread Technology overview 10 3.4. STM32WB Wireless System-on-Chip 12 3.5. Block Diagram 14 4. Connectors 4.1. Sharky Module 5. Usage 15 16 20 5.1. Power Supply 20 5.2. Sharky Connections 21 5.2.1. Power Supply on module configuration 21 5.2.2. Power Supply 22 5.
Document: SHARKY - User’s Guide 6.3. Sharky Breakout 6.3.1. Sharky PCB/uFL antenna 7. Radiation pattern plots 7.1. Sharky PCB-Ant module 8. Firmware Upload 2020/11/18 31 31 32 32 33 8.1. FW upload to M4 core 33 8.2. FW upload to M0+ core 33 9. Software Development 35 10. References and Useful Links 36 10.1. Data Sheets and documents 36 10.2. Tools 36 10.3. WebSites 36 10.4. Bibliography 36 11. FCC 11.1. Label and Compliance Information (FCC) Doc: UG_MDX-STWBx, Rev 1.7 37 37 pag.
Document: SHARKY - User’s Guide 2020/11/18 Revisions REVISION DATE DESCRIPTION STATUS AUTHOR REVISER 1.0 2019/04/04 First Release Draft info@midatronics.com UA-EM 1.1 2019/09/19 Changed chap 9 Draft info@midatronics.com UA-EM 1.2 2020/02/07 Changed chap 3.1, 4, 5, 6 Draft info@midatronics.com UA-EM 1.3 2020/03/30 Added chap 4.4 Draft info@midatronics.com UA 1.4 2020/05/29 Changes for FCC Draft info@midatronics.com UA 1.
Document: SHARKY - User’s Guide 2020/11/18 1. FCC Rules 1.1. List of FCC rules The SHARKY module have received Federal Communications Commission (FCC) CFR47 Telecommunications, Part 15 Subpart C “Intentional Radiators” single-modular approval in accordance with Part 15.212 Modular Transmitter approval. According to FCC Part 15.
Document: SHARKY - User’s Guide 2020/11/18 Main features ● ● ● Module size 16.1 x 27.3 mm Module with: ○ PCB antenna ○ uFL antenna connector Integrated BLE/OpenThread or IEEE 802.15.4 programmable networking stacks Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide 2020/11/18 3. System Overview 3.1. BLE Technology Overview Bluetooth Low Energy (BLE) is the main feature of the Bluetooth specification v4.0 released in December 2009. BLE is a new protocol that allows for long-term operation of Bluetooth devices that transmit low volumes of data. BLE enables smaller form factors, better power optimization, and the ability to operate on a small power cell for several years.
Document: SHARKY - User’s Guide 2020/11/18 Figure 2. BLE Star-bus Topology While BLE inherits the operating spectrum and the basic structure of the communication protocol from the classic Bluetooth protocol, BLE implements a new lightweight Link Layer that provides ultra-low power idle mode operation, fast device discovery, and reliable and secure point-to-multipoint data transfers. As a result, BLE offers substantially lower peak, average, and idle-mode power consumption than classic Bluetooth.
Document: SHARKY - User’s Guide 2020/11/18 3.2. BLE Mesh Technology overview Figure 3. BLE Mesh Topology Borrowing from the original Bluetooth specification, the Bluetooth SIG defines several profiles — specifications for how a device works in a particular application — for low energy devices. Manufacturers are expected to implement the appropriate specifications for their device in order to ensure compatibility. A device may contain implementations of multiple profiles.
Document: SHARKY - User’s Guide 2020/11/18 To be able to connect these different publishers and subscribers, a mesh topology is created. The standard uses BLE advertising and scanning as an underlying technology to implement communication. To communicate in a Bluetooth Mesh network, a flooding mechanism is used. By default, a flooding mechanism ensures that each node in the network repeats incoming messages, so that they are relayed further, until the destination node is reached.
Document: SHARKY - User’s Guide ● ● ● ● ● ● 2020/11/18 tablet, or computer. Product installation codes are used to ensure only authorized devices can join the network. The simple protocols for forming and joining networks allow systems to self-configure and fix routing problems as they occur. Secure: Devices do not join the network unless authorized and all communications are encrypted and secure. Security is provided at the network layer and can be at the application layer.
Document: SHARKY - User’s Guide 2020/11/18 3.4. STM32WB Wireless System-on-Chip The Sharky modules are based on STMicroelectronics STM32WB55CE, a dual-core MCUs with wireless support are based on an Arm® Cortex®-M4 core running at 64 MHz (application processor) plus an Arm® Cortex®-M0+ core at 32 MHz (network processor). The STM32WB platform is an evolution of the well-known market-leading STM32L4 ultra-low-power series of MCUs.
Document: SHARKY - User’s Guide 2020/11/18 Figure 5. STM32WB55CE pinout Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide 2020/11/18 3.5. Block Diagram STM32WB55CE DC/DC 512 KByte Flash 256 KByte SRAM IPCC PCB Antenna or uFL connector 32.7 KHz Networking Stack Application AES2 56 ARM Cortex M4 RF Front End ARM Cortex M0+ 32 MHz USART SPI I2C USB DIO ADC LCD Figure 6. Sharky Module with PCB Antenna / or uFL connector Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide 2020/11/18 4. Connectors The following picture shows the connectors of the three Sharky types. The following MCU pins are used internally and not exposed in connector: PIN NAME/FUNCTION Connected to: 2 PC14-OSC32_IN 32.768 KHzquartz oscillator 3 PC15-OSC32_OUT 32.768 KHz quartz oscillator 25 OSC_IN 32 MHz quartz oscillator 24 OSC_OUT 32 MHz quartz oscillator 21 RF1 2.4 GHz Filter 26 AT0 n.c. 27 AT1 n.c.
Document: SHARKY - User’s Guide 2020/11/18 4.1. Sharky Module Figure 8. Sharky Module pinout Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide Sharky Pin pin P1 SoC Pin typ GND S str STM32WB55CE I/O 2020/11/18 P2 28 PB0 I/O TT COMP1_OUT, CM4_EVENTOUT, EXT_PA_TX P3 29 PB1 I/O TT LPUART1_RTS_DE, LPTIM2_IN1, CM4_EVENTOUT P4 30 PE4 I/O FT CM4_EVENTOUT GND S P5 P6 47 PB7 I/O FT_fla P7 41 PA14 I/O FT_l JTCK-SWCLK, LPTIM1_OUT, I2C1_SMBA, LCD_SEG5, SAI1_FS_B, CM4_EVENTOUT P8 36 PA10 I/O FT_fl TIM1_CH3, SAI1_PDM_DI1, I2C1_SDA, USART1_RX, USB_CRS_SYNC, LCD_COM2, SAI1_SD_A, TIM17_B
Document: SHARKY - User’s Guide P19 P20 4 P21 VCC S PH3 I/O GND S P22 1 VBAT S P23 5 PB8 I/O P24 8 VDDA S P25 6 PB9 I/O GND S P26 FT 2020/11/18 BOOT0, CM4_EVENTOUT, LSCO FT_fl TIM1_CH2N, SAI1_PDM_CK1, I2C1_SCL, QUADSPI_BK1_IO1, LCD_SEG16, SAI1_MCLK_A, TIM16_CH1, CM4_EVENTOUT FT_fla TIM1_CH3N, SAI1_PDM_DI2, I2C1_SDA, SPI2_NSS, IR_OUT, TSC_G7_IO4, QUADSPI_BK1_IO0, LCD_COM3, SAI1_FS_A, TIM17_CH1, CM4_EVENTOUT P27 9 PA0 I/O FT_a TIM2_CH1, COMP1_OUT, SAI1_EXTCLK, TIM2_ETR,
Document: SHARKY - User’s Guide 2020/11/18 CM4_EVENTOUT, ADC1_IN15 P37 18 PA9 I/O FT_fla TIM1_CH2, SAI1_PDM_DI2, I2C1_SCL, SPI2_SCK, COMP1_INM, ADC1_IN16, USART1_TX, LCD_COM1, SAI1_FS_A, CM4_EVENTOUT P38 19 PB2 I/O FT_a RTC_OUT, LPTIM1_OUT, I2C3_SMBA, SPI1_NSS, LCD_VLCD, SAI1_EXTCLK, CM4_EVENTOUT, COMP1_INP P39 GND S P40 GND S Table 2.
Document: SHARKY - User’s Guide 2020/11/18 5. Usage This chapter describes how to connect, configure and interact with the Sharky and Sharky Pro modules. 5.1. Power Supply Sharky and Sharky PRO modules are powered by: ● ● VCC/VDD pins, from 1.71 V to 3.6 V VDDA pin, from 1.62 V (ADCs/COMPs) to 2.4 V (VREFBUF) to 3.6 V . VDDA is the external analog power supply for A/D converters, D/A converters, voltage reference buffer, operational amplifiers and comparators.
Document: SHARKY - User’s Guide 2020/11/18 5.2. Sharky Connections 5.2.1. Power Supply on module configuration In the Sharky module VBAT, VDDA and VDDUSB can be connected to VCC soldering 0402 size, zero ohm resistors on the module. Figure 10: VBAT VDDA and VDDUSB connections on module The resistor are reachable on Sharky PCB and can be soldered to connect the pin to VCC: Figure 11: VDDUSB, VBAT and VDDA resistors placement (left side of PCB) Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide 2020/11/18 5.2.2. Power Supply Figure 12: Sharky power supply connections VDD, VDDUSB and VBAT must be connected to power supply. Optionally VDDA can be connected to power supply or to an external AVDD level. 5.2.3. Reset Circuit Reset pin is already pulled up internally in the STM32WB. From ST datasheet: So NRST pin can be directly connected to the NRST signal of JLink V3SET Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide 2020/11/18 5.2.4. Boot0 pin Figure 13: Sharky boot0 pin connection Boot0 pin must be tied to ground at boot when programming with ST-Link. It can also be used as user button after boot. Boot0 pin s already connected to ground in the Sharky module, so R2 can be not populated. If you do not use the bootloader you can leave the pin disconnected. Connect the Boot0 pin to 3V3 then reset to load the embedded bootloader on boot. Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide 2020/11/18 5.2.5. SWD - JLink-V3SET connection In the following circuit you can see the mapping to the cable adapter that is in the JLink-V3SET package: Figure 14: Sharky JLink connection Figure 15: Sharky JLink with connection cable Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide 2020/11/18 5.3. STLink-V3SET expansion board STLink-V3SET is composed by two boards: ● ● MB1440B main board MB1441B expansion board (optional) If the expansion board is plugged in the main board, the connector CN6 can be used to connect to the Sharky board debugging signal. From the UM2448 ST manual: STLINK Pin N. Description Sharky Pin N. Sharky Pro Pin N.
Document: SHARKY - User’s Guide 2020/11/18 5.4. Operating Conditions Working temperature range: -40 to 85°C Junction temperature range: -40 to 105 °C Working relative humidity range: 20 to 80% Power Supply: 1.71 to 3.6 V USB supply voltage, USB used: 3.0 to 3.6 V Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide 2020/11/18 6. Board Layout The following pictures show the dimensions of the three Sharky types. 6.1. Sharky Module Figure 22. Sharky Module dimensions with PCB or uFL antenna Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide 2020/11/18 6.2. Mounting Suggestions The module must be placed on host board, the printed antenna area must not overlap with the carrier board. The portion of the module containing the antenna should stick out over the edge of the host board. Figure 25 shows the best case module placement in host board. Do not place the module in the middle of the host board or far away from the host board edge.
Document: SHARKY - User’s Guide 2020/11/18 6.2.1. Sharky PCB Antenna Figure 25. Sharky Module Mounting for PCB Antenna The Sharky module must be mounted leaving the antenna section of the PCB outside the host PCB ad in Figure 15. In this configuration, it is necessary to keep the output power of the last Bluetooth channel (2480MHz) below 1dBm for regulatory limits. Or as an alternative, the last Bluetooth channel must not to be used. Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide 2020/11/18 6.2.2. Sharky uFL Antenna The Sharky uFL antenna module has no particular requirements for board placement. Keep the large metal objects away from antenna to avoid electromagnetic field blocking.• Do not enclose the antenna within a metal shield. Keep any components which may radiate noise or signals within the 2.4 GHz – 2.5 GHz frequency band away from the antenna and if possible, shield those components.
Document: SHARKY - User’s Guide 2020/11/18 6.3. Sharky Breakout 6.3.1. Sharky PCB/uFL antenna Figure 28. Sharky Module Breakout for Sharky PCB antenna and uFL Antenna Part number for ordering with module soldered: MDX-BRK-STWBP-R01 : with PCB antenna module MDX-BRK-STWBU-R01 : with uFL antenna module Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide 2020/11/18 7. Radiation pattern plots 7.1. Sharky PCB-Ant module Figure 31. Sharky PCB Antenna radiation pattern Doc: UG_MDX-STWBx, Rev 1.7 pag.
Document: SHARKY - User’s Guide 2020/11/18 8. Firmware Upload The STM32WB SoC inside the Sharky module has 2 cores that share the same FLASH and SRAM addresses: ● ● M0+ core for embedded communication stack M4 core for user application The module is delivered with BLE communication stack firmware installed on M0+ core and Transparent VCP firmware on M4 core. This configuration allows testing the module with STM32CubeMonitor-RF application from ST that can be downloaded from: https://www.st.
Document: SHARKY - User’s Guide ● ● ● ● ● 2020/11/18 stm32wb5x_Thread_FTD_fw.bin ○ Full Thread Device certified v1.1 ○ To be used for Leader / Router / End Device Thread role (full features excepting Border Router) stm32wb5x_Thread_MTD_fw.bin ○ Minimal Thread Device certified v1.1 ○ To be used for End Device and Sleepy End Device Thread role stm32wb5x_BLE_Thread_fw.bin ○ Static Concurrent Mode BLE Thread ○ Supports Full BLE Stack 5.0 certified and Full Thread Device certified v1.
Document: SHARKY - User’s Guide 2020/11/18 9. Software Development The firmware can be developed and uploaded with STLink V2 or V3 device using the integrated IDE provided by ST, that can be downloaded from https://www.st.com/en/development-tools/stm32cubeide.html The developed application runs on the M4 core and interfaces to the communication stack on M0+ core using the communication functions provided by ST . Figure 33.
Document: SHARKY - User’s Guide 2020/11/18 10. References and Useful Links 10.1. Data Sheets and documents ● ● ● ● https://www.st.com/content/st_com/en/products/microcontrollersmicroprocessors/stm32-32-bit-arm-cortex-mcus/stm32-wireless-mcus/stm32wbseries/stm32wbx5/stm32wb55ce.html https://www.st.com/resource/en/datasheet/stm32wb55ce.pdf https://www.st.com/resource/en/reference_manual/dm00318631.pdf https://www.st.com/resource/en/programming_manual/dm00046982.pdf 10.2. Tools ● ● ● ● https://www.st.
Document: SHARKY - User’s Guide 2020/11/18 11. FCC 11.1. Label and Compliance Information (FCC) A host product itself is required to comply with all other applicable FCC equipment authorization regulations, requirements, and equipment functions that are not associated with the transmitter module portion. The SHARKY module have been labeled with its own FCC ID number.
Document: SHARKY - User’s Guide 2020/11/18 not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense. This device is intended only for OEM integrators under the following condition: - The transmitter module may not be co-located with any other transmitter or antenna.