USART3 and SPI1 is not working simultaneously STM32F4?
Hi,
I am using STM32F405 micro-controller and interfacing enc28j60. The enc28j60 communicates on SPI, so I utilized SPI1 peripheral for that purpose using following pins:-
PA4 - CS
PA5 - SCK
PA6 - MISO
PA7 - MOSI
Now SPI1 works perfectly well with micro-controller however the problem arises when I configure PB10 as an alternate function for USART3.
After configuration when I read the registers of enc28j60, it does not return the values which is set by default in datasheet. As opposed to if I comment the USART3 configuration it work perfect fine.
Is there any relation of USART3(PB10) and SPI1 in STM32F405?
Could someone help in this regard.
Regards,
Muhammad Moiz khan
