Low-side current sense on stm32

Do you think this scheme using gd32e103c8t6 + drv8323 has reference value?

I’ll give you the circuit diagram and source code (keil version) first. If you think it’s useful, I can provide it to you