09-29-2020 10:03 AM
in the example code I run :
com_rslt += bhy_set_parameter_request(v_parameter_request_u8);
for (v_parameter_ack_check_u8 = BHY_INIT_VALUE;
v_parameter_ack_check_u8 < BHY_PARAMETER_ACK_LENGTH;
v_parameter_ack_check_u8++) {
/* read the acknowledgement*/
com_rslt += bhy_get_parameter_acknowledge(
&v_parameter_ack_u8);
I have : v_parameter_request_u8 == 228 (parameter gyro + 32 + 0xc0) and I get : v_parameter_ack_u8 == 0
Is it a problem ? what should I fix ?
thanks.
Solved! Go to Solution.
09-29-2020 10:48 AM
I forgot to write that it is BHI160B, I am trying to configure, and the firmware Bosch_PCB_7183_di03_BMI160-7183_di03.2.1.11696_170103.h
is loaded and init is success.
10-04-2020 12:20 PM
I saw in logic analyzer that I didn't wait for an interrupt and tried to enable sensor too early. I use interrupt controller.
Now It works .