Skip to main content
Visitor II
July 19, 2026
Question

EVAL-STWINKT1B: HTS221, LPS22HH, STTS751, IIS2MDC always stream 0 bytes over USB

  • July 19, 2026
  • 0 replies
  • 16 views

Hi, I'm seeing a consistent issue where every sensor connected via I²C (as far as I can tell) produces 0 bytes of streamed data over USB:

  • HTS221 (temperature + humidity)
  • LPS22HH (pressure + temperature)
  • STTS751 (temperature)
  • IIS2MDC (magnetometer)

At the same time, all SPI-based sensors stream normally:

  • IIS3DWB
  • IIS2DH
  • ISM330DHCX (accelerometer + gyroscope)

Both microphones also work correctly.

Execution details:

Board: STEVAL-STWINKT1B

Firmware package: FP-SNS-DATALOG1 v1.5.1 (Utilities/HSDPython_SDK included)

Host SDK: HSDPython_SDK (st_hsdatalog 3.0.1, st_dtdl_gui 2.1.0, st_pnpl 2.1.0), Python 3.10, Windows 10

Connection: USB (WinUSB), using hsdatalog_cli.py

Result (consistent across multiple runs and after a full USB power-cycle of the board):

Name                  Length
----                  ------
AcquisitionInfo.json     226
DeviceConfig.json      28090
HTS221_HUM.dat             0
HTS221_TEMP.dat            0
IIS2DH_ACC.dat         76608
IIS2MDC_MAG.dat            0
IIS3DWB_ACC.dat      1542000
IMP23ABSU_MIC.dat    3731456
IMP34DT05_MIC.dat     929792
ISM330DHCX_ACC.dat    401408
ISM330DHCX_GYRO.dat   401408
LPS22HH_PRESS.dat          0
LPS22HH_TEMP.dat           0
STTS751_TEMP.dat           0

Please let me know what is missing.