Do you have a question about the SHARKY MKR and is the answer not in the manual?
Questions and answers
Summary of Contents for Midatronics SHARKY MKR
Page 1
09/19/2019 SHARKY MKR User’s Guide MDX-MKR-STWBP-R01 : Sharky MKR PCB Ant. MDX-MKR-STWBU-R01 : Sharky MKR 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.
Page 5
Document: SHARKY MKR - User’s Guide 09/19/2019 Revisions REVISION DATE DESCRIPTION STATUS AUTHOR REVISER Ver 1.0 04/04/2019 First Release Draft info@midatronics.com UA-EM Ver 1.1 08/27/2019 Corrections Draft info@midatronics.com D6/D7 Ver 1.2 09/19/2019 Corrections Draft info@midatronics.com Disclaimer All rights strictly reserved. Reproduction in any form is not permitted without written authorization from Midatronics S.r.l.
1 .1. Description This document describes the Sharky MKR Board. Sharky MKR board is based on the Sharky module that contains an 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).
Document: SHARKY MKR - User’s Guide 09/19/2019 2 . System Overview 2 .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.
Document: SHARKY MKR - User’s Guide 09/19/2019 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.
Document: SHARKY MKR - User’s Guide 09/19/2019 2 .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.
Document: SHARKY MKR - User’s Guide 09/19/2019 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 s ubscriber list ...
Page 11
Document: SHARKY MKR - User’s Guide 09/19/2019 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, tablet, or computer.
09/19/2019 2 .4. STM32WB Wireless System-on-Chip The Sharky MKR Board is 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).
Document: SHARKY MKR - User’s Guide 09/19/2019 3 .1. Arduino MKR Connectors The connectors J4 and J5 provide the user with a standard Arduino MKR shield slot as listed below. Figure 10. Sharky MKR Connectors Conn Arduino Description Sharky...
09/19/2019 3 .2. J1 USB connector The board is equipped with an USB (J1) Full-Speed (12 Mbps) device port on J1 connector. The Sharky MKR board can be powered through this interface. Figure 11. USB Interface connector Doc: UG_MDX-MKR-STWBx Rev 1.2...
Document: SHARKY MKR - User’s Guide 09/19/2019 3 .3. J2 SWD/Debug Connector The Sharky MKR board features an on-board SWD Connector (J2) that can be used to program and debug the microcontroller. Figure 12. SWD Connector Pinout Conn Description...
Document: SHARKY MKR - User’s Guide 09/19/2019 3 .4. J3 VBATT Voltage Sense Figure 13. VBATT voltage sense VBATT sensing is disabled by default to minimize current consumption. It can be enabled connecting J3 pins and configuring pin PA7 as analog input.
SHARKY MKR - User’s Guide 09/19/2019 4 . Usage This chapter describes how to connect, configure and interact with the Sharky MKR board. 4 .1. Power Supply Figure 14. Sharky MKR Board Power Supply Sharky MKR has an onboard AZ1117CR low droput linear regulator. The output voltage of the regulator is 3.3V.
Document: SHARKY MKR - User’s Guide 09/19/2019 4 .5. LED Figure 17. LED Circuit The LD1 led is connected to the PE4/D6 pin of the M4 core. Set the pin low to lit the LED. Doc: UG_MDX-MKR-STWBx Rev 1.2...
Document: SHARKY MKR - User’s Guide 09/19/2019 6 . 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.
Document: SHARKY MKR - User’s Guide 09/19/2019 6 .2. FW upload to M0+ core The M0+ firmware cannot be uploaded using STLink programmer, only the internal bootloader is allowed to update the firmware. provides package en.stm32cubewb.zip (download from: https://www.st.com/en/embedded-software/stm32cubewb.html...
Page 29
Document: SHARKY MKR - User’s Guide 09/19/2019 ○ STM32_Programmer_CLI.exe -c port=usb1 -fwdelete ● STEP 4 : Download new wireless stack : ○ STM32_Programmer_CLI.exe port=usb1 -fwupgrade [Wireless_Coprocessor_Binary] [Install address] firstinstall=1 ● Please check B inary Install Address Table for Install@ parameter depending of the binary.
Document: SHARKY MKR - User’s Guide 09/19/2019 7 . Software Development 7 .1. STM32Cube IDE The firmware can be developed and uploaded with STLink V2 or V3 device using: ● STM32CubeMX v5.10 or superior code generator that can be downloaded from STMicroelectronics website at https://www.st.com/en/development-tools/stm32cubemx.html...
Page 31
Document: SHARKY MKR - User’s Guide 09/19/2019 ● A Windows/Linux/MacOS PC ● STM32CubeIDE ● STLink V2 or V3 device https://www.st.com/content/st_com/en/products/development-tools/hardware-develop ment-tools/hardware-development-tools-for-stm32/st-link-v2.html The ST-LINK/V2 is an in-circuit debugger and programmer for the STM8 and STM32 microcontroller families. The single wire interface module (SWIM) and JTAG/serial wire debugging (SWD) interfaces are used to communicate with any STM8 or STM32 microcontroller located on an application board.
SHARKY MKR - User’s Guide 09/19/2019 7 .2. Arduino IDE The Sharky MKR board can be programmed using the Arduino IDE, loading the Stm32duino project support files. For more informations on Programming with Arduino IDE read the Programmer’s Guide PG_MDX-MKR-STWBx file.
Need help?
Do you have a question about the SHARKY MKR and is the answer not in the manual?
Questions and answers