Hello Yafra7,
In BMI270 driver code, there was null pointer check. You could double check your initial assignment of structure bmi270_dev.
static int8_t null_ptr_check(const struct bmi2_dev *dev) { int8_t rslt = BMI2_OK;
if ((dev == NULL) || (dev->read == NULL) || (dev->write == NULL) || (dev->delay_us == NULL)) { /* Device structure pointer is not valid */ rslt = BMI2_E_NULL_PTR; }
return rslt; }
... View more