Skip to main content
Associate II
July 16, 2026
Question

SD Card Data Logging Issues - Only taking data for short periods

  • July 16, 2026
  • 2 replies
  • 71 views

Hello, 

I am trying to collect data on the STWINKT1B board with the microSD card. I have a 128GB microSD which I formatted to FAT32. While running tests I noticed that after I click the USR button on the board it starts collecting data like normally, but after 55 seconds it stops logging data. If I click the USR button a second time, the same process occurs. I checked the data folders that populated on the SD card from the tests and the data seems to be accurate. I checked the device_config.json file to double check that ‘automode’ was no enabled, which it is not. I am wanting to run longer, continuous tests. Does anyone know why I am having this issue and how to go about fixing it?

Another issue that I am running into is because of network restrictions, I cannot write to the microSD card so I cannot get the device_config.json file on the SD card. I tried using the BLE app to configure the sensors, but it is grayed out and says that it is unavailable for my proficiency level. Is there a way to download the device_config.json file directly only the board with the STM32CubeProgrammer?

2 replies

MFARH.1
ST Employee
July 20, 2026

Hello ​@mia001 ,

 

The logging stopping after about 55 seconds is more likely related to the application configuration or firmware than to the microSD card itself, especially if the recorded data is correct. It would be worth checking whether the application is starting a fixed-duration recording instead of continuous logging.

 

Regarding the device_config.json file, STM32CubeProgrammer does not support generating or copying it directly to the microSD card. This file normally needs to be prepared externally and then placed on the card.

 

BR,

Maher

mia001Author
Associate II
August 3, 2026

Hello, 

 

How would I go about checking whether it is a fixed-duration recording rather than continuous logging? I am not supper experienced with this software/hardware. 

I have been taking more data tests and have noticed that now instead of a 55 second test, the duration varies each time. Sometimes the test runs for 15 seconds and other times its 60 seconds. 

 

Thanks, 

Mia