Question
Using peripherals when they share (some of) the same pins
Posted on July 25, 2012 at 10:47
I am using the STM32F103C8T6. I notice that some of the peripherals share the same pins. What I am wondering is whether it is possible to use these peripherals in these circumstances.
The specific case I am looking at are UART3 and SPI2, neither of which can be re-mapped (not on the version of the device I am using) Now UART3 is on pins PB10, PB11, PB12, PB13 and PB14 (I am only interested in TX and RX on PB10 and PB11), whereas SPI2 is on pins PB12, PB13, PB14, PB15 ( I am only interested in SCK, MISO and MOSI on PB13, PB14, PB15) Is it possible to use both peripherals in this way? If so what mechanism stops the UART CTS and RTS functions affecting the SPI2 SCK and MISO functions? Thanks in advance Nick #peripherals-stm32f103c8t6