2021-09-03 01:00 AM
2021-09-10 03:50 AM
Hi @AZane.3 ,
Yes, you are right. The issue solves incrementing the minimum dimension of the buffer used for the data writing on the SD card.
You only need to change a macro in the sdcard_manager.h, that is then used in the SDM_CalculateSdWriteBufferSize you mentioned.
If you set:
#define SDM_MIN_BUFFER_SIZE 1024 (originally should be 512)
the issue should be solved.
If my reply answered your question, please click on Select as Best at the bottom of this post. This will help other users with the same issue to find the answer faster.
-Eleon
2021-09-13 03:04 AM
Hi @Eleon BORLINI,
I tried to set SDM_MIN_BUFFER_SIZE to 1024 and it still does not work. However, by setting this macro to 4096 it seems to work correctly (data are no longer corrupted).
Do you find the same behaviour? In my case the activated sensor are 5 (IIS3DWB_ACC, HTS221_TEMP, HTS221_HUM, ISM330DHCX_ACC and IMP23ABSU_MIC).
Thanks for you answer,
Andrea