11-14-2023 04:50 PM
for BHI160 . how can I customize the firmware.
I use the BHI160 and it works fine unless starvation occures.
I use vxworks and I run the gyroscope example as a system task with mid priority, and I get interrupt from the BHI160 and read the fifo each 10 mili-sec.
the interrupt I get run semGive and the example waits on semTake.
It works fine until I have starvation and I am not reading the fifo at a certain time. then I don't get interrupts any more.
also, if I read the fifo available size it is zero.
I may have to debug the firmware for the BHI160 to find out the problem and to restart the gyro data.
please help. I don't know how can I have any kit to create my own firmware.
thanks.
11-15-2023 03:27 AM
Hi Eyalb,
BHI160 didn't support to customize the firmware as the SDK was not opened.
When an hardware interrupt is triggered, it must be ensured that the interrupt is responded to (read FIFO). Otherwise, you can also read the interrupt status register and FIFO via polling method.
11-15-2023 11:20 AM
hello. the problem is that the imu stop sending data. the fifo size becomes zero. If I am running polling it is not helping the situation.
so what can I do ?
thanks.
11-15-2023 11:46 AM
Is it a WAKEUP / NON WAKEUP issue ? if I poll I have to set the NON WAKEUP ?
thanks.
12-25-2023 09:43 AM