Closed ShaggyDog18 closed 2 years ago
PA15 is not support
I have not find in the AT32F4 datasheet any mentioning that some pins do not support PWM. May you share any document or link describing limitations?
regarding PA15: the function IS_PWM_PIN( PA15 )
returns TRUE ???
Sorry, it is a bug.Because the PA15 use the Timer 2 of the IO multiplexed second group, it can not be use
are you going to fix it?
PWM is configured for 25kHz, 50% duty cycle (see the code below). Tested PWM for several pins. PWM works for pins: PB14, PB0, PB1, PB6, PA7, PA8 PWM does not work for: PB2, PB12, PB13, PB15, PA15, PA12 I interested in PA15 because it is already traced at PCB. Did not test other pins. The test code is simple: