12-22-2023 04:38 AM
hi,
We are developping an application by using the BHI380\BHI360. We only need to get acc and gyro data from bhi380.
The bhi380 on the customized board has started working . To? reduce power consumption,? the MCU automatically enters low-power mode and is awakened by the interrupt signal output by bhi380.?At this time, the MCU is?in power off state(Only internal low-frequency clocks are running) and bhi380 is set to any motion interrupt output state.
But?the MCU did not detect the interrupt signal output of bhi380.
The question :
1. How to set any motion parameter? Such as?threshold, odr...etc.
2.How to set interrupt parameter??Bhi380 will only generate interrupt signals(low level for MCU).??
3.Can you provide an example code?
12-25-2023 03:17 AM - edited 12-25-2023 03:19 AM
12-27-2023 10:55 AM
Hi BSTRobin,
Thanks a lot.
I ported your attached file to my project. But MCU still did not detect the interrupt signal output of bhi380. No waveform was detected using an oscilloscope. Are there any other parameter settings that are not correct?
Please give me more advice.
03-08-2024 04:23 AM
Hi sunwell,
You need to ensure that the pin configuration of the host is in interrupt mode.
Use an oscilloscope or logic analyzer to capture pin signals and check for hardware signals. Any motion hardware interrupt signal is triggered by the rising edge.