Replies: 1 comment
-
|
Hi @KK-Fong {PA_8, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, LL_GPIO_PULL_UP, GPIO_AF2_TIM1, 1, 0)}, // TIM1_CH1
{PC_14, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, LL_GPIO_PULL_UP, GPIO_AF11_TIM3, 2, 0)}, // TIM3_CH2
{PA_2, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, LL_GPIO_PULL_UP, GPIO_AF5_TIM1, 3, 0)}, // TIM1_CH3
{PA_7_ALT1, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, LL_GPIO_PULL_UP, GPIO_AF1_TIM3, 2, 0)}, // TIM3_CH2
{PA_6, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, LL_GPIO_PULL_UP, GPIO_AF1_TIM3, 1, 0)}, // TIM3_CH1
{PA_1, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, LL_GPIO_PULL_UP, GPIO_AF5_TIM1, 2, 0)}, // TIM1_CH2
{PA_0, TIM1, STM_PIN_DATA_EXT(STM_MODE_AF_PP, LL_GPIO_PULL_UP, GPIO_AF5_TIM1, 1, 0)}, // TIM1_CH1
{PC_15, TIM3, STM_PIN_DATA_EXT(STM_MODE_AF_PP, LL_GPIO_PULL_UP, GPIO_AF3_TIM3, 3, 0)}, // TIM3_CH3So PA8 and PA1 uses the same Timer and channel: TIM1_CH1, same for PC14 and PA_7_ALT1 (TIM3_CH2). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How many PWM pins are available on STM32C011F6? I tried the following test code driving 8 LEDs. It did not perform as I thought. PA7_ALT1 and PA0 did not turn on but PC14 and PA8 showed up instead. I used the second pwmPin[] with a different order. It gave a different result. Thanks in advance for giving me suggestions.
Beta Was this translation helpful? Give feedback.
All reactions