You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I seem to be getting an odd error when using this library. I'm using a b-g431b-esc1 Discovery board which is designed for BLDC motors. I've used simpleFOC on it and it works with no issues.
as part of my project, I want to be able to control DC (brushed) motors using the same board as it provides a few conveniences such as CAN and familiar form-factor, etc. In theory it should be possible since the the phases are controlled by a high and low mosfet each. So I'm only using two phases to create an H bridge.
For reference I'm using Phase U and V, which are pins A_PHASE_UH, A_PHASE_UL, A_PHASE_VH, A_PHASE_VL passed through to DCDriver4PWM.
Upon calling driver.init() it tries to find the best timers to use for pwm... and fails. which is odd to me since it should be a very similar process to the 6PWM class used in FOC. that's what it seems like to me anyway, perhaps my understanding is wrong. would anyone be able to shed some light on this matter? perhaps software PWM is an option (I'm not looking for peak performance for now) but it doesn't seem to be implemented.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi,
I seem to be getting an odd error when using this library. I'm using a
b-g431b-esc1
Discovery board which is designed for BLDC motors. I've used simpleFOC on it and it works with no issues.as part of my project, I want to be able to control DC (brushed) motors using the same board as it provides a few conveniences such as CAN and familiar form-factor, etc. In theory it should be possible since the the phases are controlled by a high and low mosfet each. So I'm only using two phases to create an H bridge.
For reference I'm using Phase U and V, which are pins
A_PHASE_UH, A_PHASE_UL, A_PHASE_VH, A_PHASE_VL
passed through toDCDriver4PWM
.Upon calling
driver.init()
it tries to find the best timers to use for pwm... and fails. which is odd to me since it should be a very similar process to the 6PWM class used in FOC. that's what it seems like to me anyway, perhaps my understanding is wrong. would anyone be able to shed some light on this matter? perhaps software PWM is an option (I'm not looking for peak performance for now) but it doesn't seem to be implemented.Thank you.
The text was updated successfully, but these errors were encountered: