I'm new to this forum and hope to get some help with a problem in my design.
I might be force to share a GPIO of my microcontroller for two purposes:
(A) Receive Interrupt from BMI160
(B) Measure a voltage through a voltage divider with very high impedance
I have attached snippets from the schematic. "M_VPRE" and "INT_BMI160" are connected to the same GPIO.
When application (A) is active, VPRE is expected to be close to GND.
When application (B) is active, there is no data communication from BMI160.
To my current understanding it should be possible if INT1 is/can be set to be high-Z when application A) is not running. Unfortunately the datasheet is quite lenghty and I was not able to find that info with quite a lot searches.
I found that in the INT_OUT_CTRL register I can set int1_output_en to zero. Will this set the pin to high-z?
Thanks for your help,
Solved! Go to Solution.