2024-07-05 01:25 AM - edited 2024-07-05 01:26 AM
Solved! Go to Solution.
2024-07-11 12:26 AM
Thanks for your reply. I couldn't get it working with CubeMX, but I found the solution in the reference manual. The NSS pin (PA15) needs to be defined as output (set the SSOE bit in SPI_CR2 register). After that it is posible to use the PA15 pin as TIM2_CH1. (I also did the partial remap of TIM2 and diabled the JTAG interface)
2024-07-05 02:03 AM
Hi,
>Is it possible to use the SPI on PB3 to PB5 and use PA15 as TIM2_CH1?
Yes.
Just set it with CubeMx , then you see...(and how to set the init, even if you dont want use Cube.)
2024-07-11 12:26 AM
Thanks for your reply. I couldn't get it working with CubeMX, but I found the solution in the reference manual. The NSS pin (PA15) needs to be defined as output (set the SSOE bit in SPI_CR2 register). After that it is posible to use the PA15 pin as TIM2_CH1. (I also did the partial remap of TIM2 and diabled the JTAG interface)