Thanks Vincent ! I started to integrate the drivers to my C code. There is an example folder, where all the i2c and spi function are missing. I guess it is the place where customer like me should place their owm spi function depending on uC we use ? Is it the own change to do before using the driver ? There is also something confusing, for the read spi fucntion, driver always call dev->read with 5 argument. But prototype declared ( the ne we have to fill ) as only 4 argument : int8_t bma400_get_regs(uint8_t reg_addr, uint8_t *reg_data, uint8_t len, const struct bma400_dev *dev) /* Read the data from the reg_addr */ rslt = dev->read(dev->dev_id, reg_addr, temp_buff, temp_len); int8_t spi_reg_write(void *intf_ptr, uint8_t cs, uint8_t reg_addr, uint8_t *reg_data, uint16_t length); int8_t spi_reg_read(void *intf_ptr, uint8_t cs, uint8_t reg_addr, uint8_t *reg_data, uint16_t length); Is here a documentation on how to implement the driver please ? Thanks a lot
... View more