STM32 ADC sampling for Low side Current FOC

kavinkumarab

Newbie
Joined
Sep 15, 2024
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
21
Hi Everyone A beginner here. I've been trying to configure the timer and the ADC to start the Conversion in the middle of the PWM when the low side MOSFETS are on so that i could get accurate measurements but still no luck. I'm using TIM1 CH1 CH2 CH3 as the 3 PWM inputs and tried using TIM1 CH4 as the external trigger for the ADC1 IN1 IN2 IN2 pins but couldn't wok it out coulf someone give me an idea on how to approach this. Any help would be appreciated!!!!! Thanks you.

Btw this is my current config
 

Attachments

  • Screenshot 2024-09-14 132518.png
    53.8 KB · Views: 62
  • Screenshot 2024-09-14 132533.png
    53.2 KB · Views: 58

It sounds like you're trying to synchronize the ADC conversion with the PWM signal, specifically during the low side MOSFET on-time, to get accurate measurements.
 

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…