Hi, I use HAL_I2C_Mem_Read_DMA to read IMU and magnetometer data from LSM9ds1 in loop()://read acceleometerif (accReady) {// Reset flags for continuous operationaccReady = 0;while (HAL_I2C_GetState(&hi2c1) != HAL_I2C_STATE_READY){}// Restart readings...
Hi, I use HAL_I2C_Mem_Read_DMA to read IMU and magnetometer data from LSM9ds1 in loop()://read acceleometerif (accReady) {// Reset flags for continuous operationaccReady = 0;while (HAL_I2C_GetState(&hi2c1) != HAL_I2C_STATE_READY){}// Restart readings...
Hi @Niko1007 I use STM32L052K8T this operation woks for me: void bck_update(){// Write Back Up Register 1 DataHAL_PWR_EnableBkUpAccess();// Writes a data in a RTC Backup data Register 1wkp_count=wkp_count+1;HAL_RTCEx_BKUPWrite(&hrtc, RTC_BKP_DR1, wk...
Dear Javier,thanks for the reply, i was also wondering if it is worth reducing the bandwidth and baud rate (current 38400). In any case I will do other tests with the changes you suggested and update you.BR