Hi,
I am just getting familiar with SimpleFOC, I have one shield V3.2 working fine with one motor ( BLDCDriver3PWM(6, 10, 5, 8) but the second shield is failing to initialize (MOT: Init not possible, driver not initialized) using these pins
BLDCDriver3PWM(11, 9, 3, 7);
I noticed, that when only running one shield is obvious that the PWM pin 3 is not OK as the output just doesnt show it (only shows 11 and 9)
---PWM Config---
DRV: pwm pin: 11
DRV: pwm channel: 1
DRV: pwm A/B: A
DRV: pwm freq: 24000
DRV: pwm range: 1000
DRV: pwm clkdiv: 0
---PWM Config---
DRV: pwm pin: 9
DRV: pwm channel: 7
DRV: pwm A/B: B
DRV: pwm freq: 24000
DRV: pwm range: 1000
DRV: pwm clkdiv: 0
DRV: channel in use: 1
MOT: Init not possible, driver not initialized
MOT: Align sensor.
MOT: Failed to notice movement
MOT: Init FOC failed.
Set the target angle in Degrees or watch swing motion:
It seems that the UNO R4 minima has limited support, but pin 3 (PWM C) should be OK, right?
on a second topic, I also have one arduino DUE board, motor goes crazy as it seems that the current sensing does work on this board but my configuration might be wrong (shield V3.2)
InlineCurrentSense currentsense1 = InlineCurrentSense(185, A0, A2);
InlineCurrentSense currentsense2 = InlineCurrentSense(185, A1, A3);
thank you!