Midatronics SHARKY I Manuel utilisateur

Document:
SHARKY - User’s Guide 2020/11/18
Doc: UG_MDX-STWBx, Rev 1.7
pag. 1 of 38
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.

Document:
SHARKY - User’s Guide 2020/11/18
Doc: UG_MDX-STWBx, Rev 1.7
pag. 2 of 38
Outline
1. FCC Rules 5
1.1. List of FCC rules 5
2. Introduction 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 15
4.1. Sharky Module 16
5. Usage 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.2.3. Reset Circuit 22
5.2.4. Boot0 pin 23
5.2.5. SWD - JLink-V3SET connection 24
5.3. STLink-V3SET expansion board 25
5.4. Operating Conditions 26
6. Board Layout 27
6.1. Sharky Module 27
6.2. Mounting Suggestions 28
6.2.1. Sharky PCB Antenna 29
6.2.2. Sharky uFL Antenna 30
6.2.3. Sharky uFL Suggested Antennas 30

Document:
SHARKY - User’s Guide 2020/11/18
Doc: UG_MDX-STWBx, Rev 1.7
pag. 3 of 38
6.3. Sharky Breakout 31
6.3.1. Sharky PCB/uFL antenna 31
7. Radiation pattern plots 32
7.1. Sharky PCB-Ant module 32
8. Firmware Upload 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 37
11.1. Label and Compliance Information (FCC) 37

Document:
SHARKY - User’s Guide 2020/11/18
Doc: UG_MDX-STWBx, Rev 1.7
pag. 4 of 38
Revisions
REVISION DATE DESCRIPTION STATUS
A
UTHOR REVISER
1.0 2019/04/04 First Release Draf
t
info
@
midatronics.com U
A
-EM
1.1 2019/09/19 Chan
g
ed chap 9 Draf
t
info
@
midatronics.com U
A
-EM
1.2 2020/02/07 Changed chap
3.1, 4, 5, 6
1.3 2020/03/30
A
dded chap 4.4 Draf
t
info
@
midatronics.com U
A
1.4 2020/05/29 Chan
g
es for FCC Draf
t
info
@
midatronics.com U
A
1.5 2020/06/11 Updated Sharky
Dimension ima
g
e
1.6 2020/07/20 Updated chap.
4.1
Disclaimer
All rights strictly reserved. Reproduction in any form is not permitted without
written authorization from Midatronics S.r.l.
Midatronics S.r.l.
Via Zucchi 1 20900
Monza (Monza Brianza)
Italy
www.midatronics.com

Document:
SHARKY - User’s Guide 2020/11/18
Doc: UG_MDX-STWBx, Rev 1.7
pag. 5 of 38
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.212 the single-modular transmitter is a completely self-contained
radiofrequency transmitter device that is typically incorporated into another product, host or
device and complies to all the conditions to be defined as a “single modular transmitter”.
The Midatronics SHARKY Modular Transmitter is also compliant to FCC Part 15.247 insofar
as it is a device using a wide band modulation inside the band 2400-2483.5 MHz with a 6dB
bandwidth greater than 500kHz.
2. Introduction
2.1. Description
This document describes the Sharky modules.
Sharky is a complete family of modules that enables customer to test and integrate the new
STM32WB MCU for rapid prototyping and fast time to market.
Sharky modules are based on STMicroelectronics STM32WB55CE, a dual-core MCUs with
wireless support based on an Arm® Cortex®-M4 core running at 64 MHz (application
processor) plus an Arm® Cortex®-M0+ core at 32 MHz (network processor).
With two totally independent cores, this innovative architecture is optimized for real-time
execution (radio-related software processing).
The STM32WB55 Bluetooth 5.0-certified device offers Mesh 1.0 software support, multiple
profiles and flexibility to integrate proprietary BLE stacks.
OpenThread-certified software stack is available. The radio can also run BLE/OpenThread
protocols concurrently. The embedded generic MAC allows the usage of other IEEE 802.15.4
proprietary stacks like ZigBee®, or proprietary protocols, giving even more options for
connecting devices to the Internet of Things (IoT).
The Sharky module is available in four versions:
●Sharky with PCB Antenna
●Sharky with uFL connector
Sharky modules are sold standalone or soldered on a breakout board for easy connections.

Document:
SHARKY - User’s Guide 2020/11/18
Doc: UG_MDX-STWBx, Rev 1.7
pag. 6 of 38
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

Document:
SHARKY - User’s Guide 2020/11/18
Doc: UG_MDX-STWBx, Rev 1.7
pag. 7 of 38
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.
The classic Bluetooth specification defines a uniform structure for a wide range of devices that
connect to each other. Bluetooth operates primarily using ad hoc piconets. A master device
controls up to seven slaves per piconet; the slaves communicate with the master device but
they do not communicate with each other. However, a slave device may participate in one or
more piconets, essentially a collection of devices connected via Bluetooth. A summary of
classic Bluetooth topology with multiple piconets, called scatternet, can be found below.
Figure 1. Bluetooth Scatternet topology
In a BLE topology, the slaves each communicate on a separate physical channel with the
master. Unlike a classic Bluetooth piconet, where all slaves listen for incoming connections
and therefore need to be on constant standby, a BLE slave invites connections and so is in
total control of when to consume power. A BLE master, which is assumed to have less power
constraints, will listen for advertisements and make connections on the back of an
advertisement packet. A diagram of this can be found below.

Document:
SHARKY - User’s Guide 2020/11/18
Doc: UG_MDX-STWBx, Rev 1.7
pag. 8 of 38
Figure 2. BLE Sta
r
-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. Averaged over time, BLE
consumes only 10% of the power consumed by classic Bluetooth.
In addition to its ultra-low power consumption, BLE has several unique features that set it apart
from other available wireless technologies, including:
●Interoperability: Like classic Bluetooth devices, BLE devices follow standards set by
the Bluetooth Special Interest Group (SIG), and BLE devices from different
manufacturers interoperate.
●Robustness: BLE uses fast frequency hopping to secure a robust transmission even
in the presence of other wireless technologies.
●Ease of Use: BLE has been developed so that it is straightforward for designers to
implement it in a variety of different applications.
●Latency: The total time to send small chunks of data is generally fewer than 6 ms, and
as low as 3 ms (compared to 100 ms with classic Bluetooth).
●Range: Thanks to an increased modulation index, BLE technology offers greater range
(up to 200 feet and beyond, in ideal environments) than to classic Bluetooth offers.

Document:
SHARKY - User’s Guide 2020/11/18
Doc: UG_MDX-STWBx, Rev 1.7
pag. 9 of 38
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.
Majority of current low energy application profiles is based on the generic attribute profile
(GATT), a general specification for sending and receiving short pieces of data known as
attributes over a low energy link. Bluetooth mesh profile is the exception to this rule as it is
based on General Access Profile (GAP).
Bluetooth mesh profiles use Bluetooth Low Energy to communicate with other Bluetooth Low
Energy devices in the network. Each device can pass the information forward to other
Bluetooth Low Energy devices creating a "mesh" effect. For example, switching off an entire
building of lights from a single smartphone.
Conceptually, the Bluetooth Mesh Standard is defined as a publish/subscribe model where
publishers can publish to a certain topic and subscribers can subscribe to one or more topics
of interest.
This concept is used as an inspiration for the implementation in the standard. A node in a
Bluetooth Mesh network can subscribe to one or more addresses (stored in the subscriber
list) and publish to one specific address (stored in the publish address).

Document:
SHARKY - User’s Guide 2020/11/18
Doc: UG_MDX-STWBx, Rev 1.7
pag. 10 of 38
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.
The standard uses a new type of BLE advertisement packet to communicate in a mesh
network, which is only supported by devices that support both BLE and Bluetooth Mesh.
Fortunately, the standard also defines a backwards compatibility feature to ensure that BLE
devices which do not support Bluetooth Mesh can also be part of a Bluetooth Mesh network.
3.3. Thread Technology overview
Thread is a secure, wireless mesh networking protocol. The Thread stack is an open
standard that is built upon a collection of existing Institute for Electrical and Electronics
Engineers (IEEE) and Internet Engineering Task Force (IETF) standards.
The Thread stack supports IPv6 addresses and provides low-cost bridging to other IP
networks and is optimized for low-power/battery-backed operation, and wireless device-
to-device communication. The Thread stack is designed specifically for Connected Home
applications where IP-based networking is desired and a variety of application layers can
be used on the stack.
Figure 4. Thread Network Architecture
These are the general characteristics of the Thread stack focused on the Connected
Home:
●
Simple network installation, start-up, and operation: The Thread stack
supports several network topologies. Installation is simple using a smartphone,
Ce manuel convient aux modèles suivants
3
Table des matières
Autres manuels Midatronics Unité de contrôle
Manuels Unité de contrôle populaires d'autres marques

Festo
Festo Compact Performance CP-FB6-E Manuel de la liste des pièces

Elo TouchSystems
Elo TouchSystems DMS-SA19P-EXTME Manuel utilisateur

JS Automation
JS Automation MPC3034A Manuel utilisateur

JAUDT
JAUDT SW GII 6406 Series Guide rapide

Spektrum
Spektrum Air Module System Manuel utilisateur

BOC Edwards
BOC Edwards Q Series Manuel utilisateur












