2024-10-16 10:02 AM
Hi,
I am trying to read data in continuous mode from the LIS2MDL on a personal board with the help of the exemple(https://github.com/STMicroelectronics/STMems_Standard_C_drivers/tree/master/lis2mdl_STdC/examples) and driver (https://github.com/STMicroelectronics/lis2mdl-pid/tree/56a8a1ddb1bd21d98151372b5fa4f48ffa9e1a39).
I am able to retrieve the ID of the chip and configure it in continous mod.
But the problem is that the data ready register always return 0x00.
Solved! Go to Solution.
2024-10-23 06:37 AM
Hi,
I am using a board i made with an stm32h743vit6.
After some change with the code i was able to get some value by removing this line in the exemple.
/*lis2mdl_reset_set(&dev_ctx, PROPERTY_ENABLE);*/
2024-10-23 06:09 AM
Hi @spglou ,
What is your acquisition system? Are you using the STEVAL-MKI109V3?
2024-10-23 06:37 AM
Hi,
I am using a board i made with an stm32h743vit6.
After some change with the code i was able to get some value by removing this line in the exemple.
/*lis2mdl_reset_set(&dev_ctx, PROPERTY_ENABLE);*/