background image

 
 

 

Document: 
SHARKY - User’s Guide 

2020/07/20 

 

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. It provides the same digital and analog peripherals suitable

 

   

   

 

 

 

 

 

 

 

 

for applications requiring extended battery life and complex functionalities. 

STM32WB proposes a variety of communication assets, a practical crystal-less USB2.0 FS

 

   

   

 

   

 

 

 

 

interface, audio support, an LCD driver, up to 72 GPIOs, an integrated SMPS for power

 

 

 

 

 

 

   

 

 

 

 

 

 

 

consumption optimization, and multiple low-power modes to maximize battery life. 

On top of wireless and ultra

-

low

-

power aspects, a particular focus was placed on embedding

 

   

 

 

 

   

 

 

 

   

 

security hardware functions such as a 256

-

bit AES, PCROP, JTAG Fuse, PKA (elliptic curve

 

 

 

     

 

 

 

 

 

 

 

 

encryption engine), and Root Secure Services (RSS). The RSS allows authenticating OTA

 

 

 

 

 

 

 

 

 

 

 

 

communications, regardless of the radio stack or application. 

For more informations on STM32WB visit the following site:  

https://www.st.com/en/microcontrollers/stm32wb-series.html?querycriteria=productId=SS196
1

 

 

 

 

Doc: UG_MDX-STWBx, Rev 1.6 

pag. 15 of 57

 

 

Summary of Contents for MDX-STWBC-R01

Page 1: ...na MDX STWBC R01 Sharky Pro chip antenna MDX STWBW R01 Sharky Pro no antenna All information contained in these materials including products and product specifications represents information on the pr...

Page 2: ...Sharky Connections 30 5 2 1 Power Supply on module configuration 30 5 2 2 Power Supply 31 5 2 3 Reset Circuit 31 5 2 4 Boot0 pin 32 5 2 5 SWD JLink V3SET connection 33 5 3 Sharky Pro Connections 34 5...

Page 3: ...Antenna 48 6 5 3 Sharky Pro No Antenna 49 7 Radiation pattern plots 50 7 1 Sharky PCB Ant module 50 7 2 Sharky Pro Chip Antenna module 51 8 Firmware Upload 52 8 1 FW upload to M4 core 52 8 2 FW uploa...

Page 4: ...arky power supply connections 31 Figure 13 Sharky boot0 pin connection 32 Figure 14 Sharky JLink connection 33 Figure 15 Sharky JLink with connection cable 33 Figure 16 Sharky Pro power supply connect...

Page 5: ...e Breakout for Sharky PCB antenna and uFL Antenna 47 Figure 29 Sharky Module Breakout for Sharky Pro Chip Antenna 48 Figure 30 Sharky Module Breakout for Sharky Pro No Antenna 49 Figure 31 Sharky PCB...

Page 6: ...Document SHARKY User s Guide 2020 07 20 Tables Table 1 Module internal pins 18 Table 2 Sharky Pinout 22 Table 3 Sharky Pro pinout 27 Table 4 SWD connector CN6 38 Doc UG_MDX STWBx Rev 1 6 pag 6 of 57...

Page 7: ...chap 4 4 Draft info midatronics com UA 1 4 2020 05 29 Changes for FCC Draft info midatronics com UA 1 5 2020 06 11 Updated Sharky Dimension image Draft info midatronics com UA 1 6 2020 07 20 Updated...

Page 8: ...stomer 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 o...

Page 9: ...a breakout board for easy connections Main features Module size from 16 1 x 27 3 mm down to 14 6 x 14 6 mm Module with PCB antenna uFL antenna connector Chip antenna No antenna Integrated BLE OpenThr...

Page 10: ...mmunicate 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...

Page 11: ...t 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...

Page 12: ...e 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...

Page 13: ...ate 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 whi...

Page 14: ...rking layer is designed to optimize the network operation based on the expected use Range Typical devices provide sufficient range to cover a normal home Readily available designs with power amplifier...

Page 15: ...ies STM32WB proposes a variety of communication assets a practical crystal less USB2 0 FS interface audio support an LCD driver up to 72 GPIOs an integrated SMPS for power consumption optimization and...

Page 16: ...Document SHARKY User s Guide 2020 07 20 Figure 5 STM32WB55CE pinout Doc UG_MDX STWBx Rev 1 6 pag 16 of 57...

Page 17: ...nt SHARKY User s Guide 2020 07 20 3 5 Block Diagram Figure 6 Sharky Module with PCB Antenna or uFL connector PRO chip Antenna Figure 7 Sharky Pro Module with no Antenna Doc UG_MDX STWBx Rev 1 6 pag 17...

Page 18: ...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 AT...

Page 19: ...Document SHARKY User s Guide 2020 07 20 4 1 Sharky Module Figure 8 Sharky Module pinout Doc UG_MDX STWBx Rev 1 6 pag 19 of 57...

Page 20: ...M4_EVENTOUT P9 42 PA15 I O FT_l JTDI TIM2_CH1 TIM2_ETR SPI1_NSS TSC_G3_IO1 LCD_SEG17 CM4_EVENTOUT P10 39 PA13 I O FT_u JTMS SWDIO IR_OUT USB_NOE SAI1_SD_B CM4_EVENTOUT P11 37 PA11 I O FT_u TIM1_CH4 TI...

Page 21: ...TIM2_CH1 COMP1_OUT SAI1_EXTCLK TIM2_ETR CM4_EVENTOUT COMP1_INM ADC1_IN5 RTC_TAMP2 WKUP1 P28 10 PA1 I O FT_la TIM2_CH2 I2C1_SMBA SPI1_SCK LCD_SEG0 CM4_EVENTOUT COMP1_INP ADC1_IN6 P29 11 PA2 I O FT_la L...

Page 22: ...T 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 Sharky Pinout Legend Name Abbreviation Definition typ S Supply Pin I...

Page 23: ...20 07 20 4 2 Sharky Pro Module JK and JL rows are present only in Sharky Pro Chip Antenna JH4 is antenna connection on Sharky Pro no Antenna Figure 9 Sharky Pro Module Pinout from top of module Doc UG...

Page 24: ...ART1_CK LPUART1_TX TSC_G2_IO2 LCD_SEG9 COMP2_OUT SAI1_SD_B TIM16_BKIN CM4_EVENTOUT JA7 46 PB6 I O FT_fla LPTIM1_ETR I2C1_SCL USART1_TX TSC_G2_IO3 LCD_SEG6 SAI1_FS_B TIM16_CH1N MCO CM4_EVENTOUT COMP2_I...

Page 25: ...2 17 PA8 I O FT_la MCO TIM1_CH1 SAI1_PDM_CK2 USART1_CK LCD_COM0 SAI1_SCK_A LPTIM2_OUT CM4_EVENTOUT ADC1_IN15 JD3 GND S JD4 GND S JD5 GND S JD6 GND S JD7 6 PB9 I O FT_fla TIM1_CH3N SAI1_PDM_DI2 I2C1_SD...

Page 26: ...GND S JF5 GND S JF6 GND S JF7 12 PA3 I O FT_la TIM2_CH4 SAI1_PDM_CK1 LPUART1_RX QUADSPI_CLK LCD_SEG2 SAI1_MCLK_A CM4_EVENTOUT COMP2_INP ADC1_IN8 JF8 11 PA2 I O FT_la LSCO TIM2_CH3 LPUART1_TX QUADSPI_...

Page 27: ...4 PA5 I O FT_a TIM2_CH1 TIM2_ETR COMP1_INM COMP2_INM SPI1_SCK LPTIM2_ETR ADC1_IN10 SAI1_SD_B CM4_EVENTOUT JK1 a GND S JK2 a GND S JK3 a GND S JK4 a GND S JK5 a GND S JK6 a GND S JK7 a GND S JK8 a GND...

Page 28: ...O RF RF I O RST Bidirectional reset pin with weak pull up resistor Option for TT or FT I Os _f I O Fm capable _I I O with LCD function supplied by V LCD _u I O with USB function supplied by V DDUSB _a...

Page 29: ...the VDD voltage and should preferably be connected to VDD when the USB is not used VBAT 1 55 V to 3 6 V VBAT is the power supply for RTC external clock 32 kHz oscillator and backup registers through...

Page 30: ...A 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 solde...

Page 31: ...T 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 d...

Page 32: ...ogramming 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 le...

Page 33: ...WD 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 connect...

Page 34: ...D VDDUSB and VBAT must be connected to power supply Optionally VDDA can be connected to power supply or to an external AVDD level 5 3 2 Reset Circuit Reset pin is already pulled up internally in the S...

Page 35: ...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...

Page 36: ...Link V3SET connection In the following circuit you can see the mapping to the cable adapter that is in the JLink V3SET package Figure 18 Sharky Pro JLink connection Figure 19 Sharky Pro JLink with con...

Page 37: ...tenna This paragraph pertains only to Sharky Pro no Antenna module Figure 20 Sharky Pro No Antenna External antenna connection The H4 pin can be directly connected to an onboard antenna or connector f...

Page 38: ...an 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 Description 1 T_VCC VCC VCC Input for STLink 2 T_SWCLK 7 B4...

Page 39: ...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...

Page 40: ...r s Guide 2020 07 20 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 R...

Page 41: ...Document SHARKY User s Guide 2020 07 20 6 2 Sharky Pro Module with Chip Antenna Figure 23 Sharky Pro Module dimensions with Chip antenna Doc UG_MDX STWBx Rev 1 6 pag 41 of 57...

Page 42: ...Document SHARKY User s Guide 2020 07 20 6 3 Sharky Pro Module No Antenna Figure 24 Sharky Pro Module dimensions with no antenna view from top of module Doc UG_MDX STWBx Rev 1 6 pag 42 of 57...

Page 43: ...Figure 25 Avoid routing any traces in the region on the top layer of the host board which will be directly below the module area Keep the large metal objects away from antenna to avoid electromagnetic...

Page 44: ...or regulatory limits Or as an alternative the last Bluetooth channel must not to be used 6 4 2 Sharky uFL Antenna The Sharky uFL antenna module has no particular requirements for board placement Keep...

Page 45: ...nd will degrade the sensitivity of the module Make sure the width of the traces routed to GND VDD and VBAT rails are sufficiently larger forhandling the peak Tx current consumption 6 4 3 Sharky Pro Ch...

Page 46: ...ommended PCB Layout for antenna circuit 6 4 5 Sharky uFL Suggested Antennas Manufacturer Part Number Frequencies Specification 2J antennae 2JP0102P WIFI BLUETOOTH 2 4 GHz WIFI 5 0 GHz Impedance 50 Ohm...

Page 47: ...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 R...

Page 48: ...07 20 6 5 2 Sharky Pro Chip Antenna Figure 29 Sharky Module Breakout for Sharky Pro Chip Antenna Part number for ordering with module soldered MDX BRK STWBC R01 with Sharky Pro Chip Antenna Module Doc...

Page 49: ...20 07 20 6 5 3 Sharky Pro No Antenna Figure 30 Sharky Module Breakout for Sharky Pro No Antenna Part number for ordering with module soldered MDX BRK STWBW R01 with Sharky Pro no Antenna Module Doc UG...

Page 50: ...Document SHARKY User s Guide 2020 07 20 7 Radiation pattern plots 7 1 Sharky PCB Ant module Figure 31 Sharky PCB Antenna radiation pattern Doc UG_MDX STWBx Rev 1 6 pag 50 of 57...

Page 51: ...Document SHARKY User s Guide 2020 07 20 7 2 Sharky Pro Chip Antenna module Figure 32 Sharky PCB Antenna radiation pattern Doc UG_MDX STWBx Rev 1 6 pag 51 of 57...

Page 52: ...elopment tools stm32cubeprog html The firmware for the M4 CPU can be uploaded Using an STLink V2 or V3 device connected to the SWD interface Using the embedded ROM Bootloader that is selected by risin...

Page 53: ...om en stm32cubewb zip package STEP 1 Use STM32CubeProgrammer Version 1 4 or higher It gives access to Firmware Upgrade Service FUS AN 5185 through Bootloader It is currently available as Command Line...

Page 54: ...T In order to develop a custom firmware to be uploaded to the Sharky Module the following tools are necessary A Windows Linux MacOS PC STM32CubeIDE STLink V2 or V3 device https www st com content st_c...

Page 55: ...source en reference_manual dm00318631 pdf https www st com resource en programming_manual dm00046982 pdf 10 2 Tools https www st com en development tools stm32cubeide html https www st com en developm...

Page 56: ...conditions 1 this device may not cause harmful interference and 2 this device must accept any interference received including interference that may cause undesired operation This device has been desig...

Page 57: ...till responsible for testing their end product for any additional compliance requirements required with this module installed IMPORTANT NOTE In the event that this condition cannot be met for example...

Reviews: