2016-01-21 07:51 AM
When SPI3 is used with HAL libraries and SCK is on PB3, HAL do not disable JTAG automatically which is present on same pin.
It has to be done manually with __HAL_AFIO_REMAP_SWJ_NOJTAG() before SPI init.2016-01-25 05:34 AM
Hi shamaev.eugene,
Using CubeMX, the function ''__HAL_AFIO_REMAP_SWJ_NOJTAG'' is called automatically if you select ''Serial-Wire'' as Debug mode for ''SYS'' peripheral.-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.