I use the official lsm6ds3tr-c-pid driver,Here is the code I initialized: u8 who_amI = 0;
lsm6ds3tr_c_device_id_get(&dev_ctx, &who_amI);
if (who_amI != LSM6DS3TR_C_ID) {
printf("lsm6ds3tr_c_device_id_get err,%d,%d", who_amI, LSM6DS3TR_C_ID);
}
pri...