Question
STM32F103XB: TIM2 CH1 on PA15 conflicts with SPI1 NSS
Posted on January 09, 2018 at 18:32
Hi,
Using CubeMX, I configured SPI1 on a STM32F103T8Ux as full-duplex master mapped on PB3..PB5, with hardware NSS (on PA15) disabled (set to
SPI_NSS_SOFT
in spi.c).So, PA15 should be available for TIM2 CH1 PWM output. But no PWM activity can be seen on PA15 (it stays low) until I disable SPI1 peripheral (using
HAL_SPI_DeInit()
or just__HAL_RCC_SPI1_CLK_DISABLE()
).Did I miss some errata?
Kolja
#stm32f103 #stm32f1 #tim2 #conflict #errata #spi #stm32 #nss #spi1