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
  • 1 reply
  • 49 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.

 

1 reply

SimonePradolini
ST Technical Moderator
July 27, 2026

Hello ​@SidkET92 

Are you open to testing some newer software solutions from ST?

I strongly suggest upgrading your setup and using FP-SNS-DATALOG2 with STDATALOG-PYSDK. It is our most up-to-date and advanced datalogging solution, and it has been recently updated. DATALOG1 is a much older solution; its last update was in November 2023, and no further updates are planned.

 

Let me know if you are interested and if you succeed in using these products. In the meantime, I can try debugging the older version.

Best regards,
Simone

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.