AnsweredAssumed Answered

conflicting SPI3 and remapping macros

Question asked by ehsan mahmoudi on Sep 10, 2017
Latest reply on Sep 11, 2017 by Clive One

in my embedded system there is an stm32f103vdt, working with spi3 and usart3(remapped). spi3 is working well and the problem occurs when i configure usart3 remapped. as i call the macro __HAL_AFIO_REMAP_USART3_ENABLE(), spi3 stops and then i have to reinitialize it to make it run again. moreover i found that all macros that deal with remapping (like __HAL_AFIO_REMAP_TIM1_PARTIAL(), __HAL_AFIO_REMAP_CAN1_3(), etc), affect spi3 and make it stop. whats wrong with this?

Outcomes