Then how does it work fine when EasyPIC v7 is powered from USB cable from PC ? When powered from USB there is no dip in GND voltage ?Hello Jayanthd.
I found out that during the rising of current (and voltage on shunt) there's a drop in gnd value.
So, if you take into account this (see enclosure) the voltage on RA3 drops really when it is equal to value set on pot (RA0).
Remains to me to understand why I have this drop in gnd, if it is due to inductor, to mosfet, or what else cause.
For the moment I do not know.