ST SensorTile

Flashing SensorTile Firmware

Data Collection Firmware

In the links below you can find the firmware for flashing a SensorTile device with data collection firmware for use with SensiML Data Capture Lab.

Date Modified

Download Link

Description

2019.07.30

st-sensortile-data-collection.bin

binary file for flashing the data collection firmware

2019.07.30

data-collection-STMicro-SensorTile-1.0.zip

binary file for flashing data collection firmware using the Analytics Studio

Configuring your Nucleo Board for the first time

  1. Obtain ST-LINK device such as a STM32 Nucleo board, which bundles an ST-LINK V2.1 debugger and programmer.

  2. Download and install ST-Link Utility from STMicro for flashing

  3. When you first receive your Nucleo board there is a first time setup step. (Full Documentation: STM SensorTile Documentation under UM2101 user manuals)

Nucleo Boards First Time Setup

  1. Ensure that both jumpers on CN2 are OFF

  2. Connect an external ST-LINK to the SWD connector on the cradle paying attention to the polarity of the connectors. (a 5-pin flat cable is provided in the SensorTile Kit package)

    Pin 1 on the STM and Sensor Tile is identified by:

    • A small circle on the PCB silkscreen – STM32 Nucleo board and SensorTile cradle expansion

    • The square shape of the soldering pad – connector on the SensorTile cradle

    Pin 1 on the flat-cable is identified by a small triangle on the connector

STM32 Nucleo board, cradle and cradle expansion SWD connectors

../../_images/nucleo.png

SWD connections with 5-pin flat cable

../../_images/nucleo2.png

Connecting to the SensorTile Board

See Pictures for the connection between your Nucleo board and your assembled SensorTile.

Nucleo and connected SensorTile

../../_images/sensortile-nucleo-overview.jpg

Close up view of SensorTile connection

../../_images/sensortile-nucleo-close.jpg

Flashing a Knowledge Pack with Analytics Studio Notebook

Use the Flash Widget to follow the steps below:

Note

You can find the commands for loading the Flash Widget in the Flash Widget Tutorial

  1. Ensure your device is connected to the ST-Link and powered on

  2. Set Platform to “STMicro SensorTile” in the Flash Widget

  3. Select your downloaded Knowledge Pack binary file. This will not work with library downloads

  4. Click Flash

../../_images/flash-widget1.png

Flashing Data Collection Firmware with Analytics Studio Notebook

Use the Flash Widget to follow the steps below:

Note

You can find the commands for loading the Flash Widget in the Flash Widget Tutorial

  1. Download the firmware for data collection data-collection-STMicro-SensorTile-1.0.zip

  2. Ensure your device is connected to the ST-Link and powered on

  3. Set Platform to “STMicro SensorTile” in the Flash Widget

  4. Select the data collection zip file from above

  5. Click Flash

../../_images/flash-data-collect.png

Advanced: SensorTile SDK Integration

(Optional) See the Building a Knowledge Pack Library tutorial and IAR with SensorTile setup steps for how to integrate SensiML application code into the SensorTile SDK using IAR. This allows you to call Knowledge Pack APIs directly at the firmware level or customize your data collection firmware.