Hi, I have a question here in upload_file. BMI2_INIT_DATA_ADDR=0x5e and write_len=46, does the following line of code write config_data to the address of 5e, 5f, 60, 61... till 8B?
rslt = bmi2_set_regs(BMI2_INIT_DATA_ADDR, (uint8_t *)config_data, write_len, dev);
thanks a lot.
Thank you very much for your reply.
I am using SPI communications and the write length is 46 bytes.
this code in the upload_file rslt = coines_write(BMI2_INIT_DATA_ADDR, config_data, write_len) will write config_data to registers from 0x5e of 46 bytes, right?
do you mean it should write to address of 0x5e repeatedly of 46 bytes of config_data?
Thank you very much.