01-31-2024 01:35 AM - edited 01-31-2024 01:37 AM
I cannot initialize and upload the configuration into the BMI270 configuraiton file. My BMI270 is connected to SP1, and CS is at GPIOA4.
I tried to develop my own drivers but failed, and now using a code example from a bosch forum moderator, and still can't make it run, I ran out of ideas.
Logs:
Error [-9] : Configuraiton load error. It occurs when failure observed while loading the configuration into the sensor
I attached the project code.
02-01-2024 01:12 PM
Hi Mattieu,
Could we know your hardware schematic?
Could you get BMI270 chid ID via SPI?
02-01-2024 07:28 PM - edited 02-03-2024 07:31 PM
02-04-2024 04:19 PM
There must be something wrong with the CHIP_ID read section, since I could get the correct chip_id using a custom code ?
Also maybe the SPI has a maximum burst length, sending the 8K config bytes at once ?