Hello guys, can you take a look at schematics? Does it make sense? Schottky is pretty standard. But I also wanted to implement some sort of a feedback to eliminate the cause of overvoltage. Basically by design it is expected that from time to time the input voltage (from the current sensor) will exceed 3.3V and may rise up to 5V. The schottky is calculated to tolerate a small spike in current (100's of mA) until the Q1 opens and triggers the GPIO input to go high. After that the micro will take an appropriate action (ex. turn off the current sensor or automatically switching to a smaller shunt etc). Thanks.

PS R3 is just for spice simulation, it is not needed

PS R3 is just for spice simulation, it is not needed