I'm getting started to simplefoc & Nothing is working


The circuit. (please ignore the mess)

Hi ,
Tried this @Valentine . The motor isn’t giving any response.

Hi @runger Is achieving FOC even possible with IR2104?
According to what I understand, The Microcontroller generates pwm using the data from magnetic encoders and the pwm signals are amplified using a Driver unit. The driver unit controls the mosfets gates and switching takes place. Everyone are using Drv IC . I can’t find it anywhere in India, So thought of using this Ir2104 Driver unit.

Are you able to see whatever output is in serial terminal?
It should show some startup text, like MOT: Ready or similar.

You are initialized with target 0 rad/s, so it will not move without setting some sort of velocity target.
Does typing T3 in serial terminal give you any feedback?

That sucks. Do you have an oscilloscope? Did you check the signals?