Skip to main content
HK_it
Associate II
Question

Inline current sensing problem for ST mcsdk ?

I try to drive (FOC) BLDC motor with STM32G474RE MCU. I use a custom board. I use INA240A1 for inline current sense. Can I use 3 shunt inline current sense method for ST mcsdk ? In STs evaluation boards typically low side shunt resistors are used for current sensing. But I use inline current sense method. What changes should I do in software?

0690X00000BuyaKQAR.png

This topic has been closed for replies.

4 replies

Laurent Ca...
Senior III

Dear byHK

Do you have still this problem to solve?

Best regards

Laurent Ca...

HK_it
HK_itAuthor
Associate II

I solved this problem. Thanks for answering!

Laurent Ca...
Senior III

Dear 

OK. I consider this post closed.

Do not hesitate to answer if it is not.

Best regards

Laurent Ca...

ALedi.1
Associate III

Can you tell us how you fixed the problem? I have the same problem with INA240A1, in the workbench you see the topology is only lowside shunts. Is there a possibility to change the measurement to highside/inline current sensing? Also the output of the INA240 is VDD/2 when no current is measured, how do I incorporate this into my code? I would be happy for any help!