Solved
hi sir How to check which GPOI pin is associated with I2C1 or USART1? question no2=> if USART use GPIO pin PA9 as USART_TX pin , then if i code to turn on LED on PA9 on different project will it work ?
i am using STM32F103c8 MCU
i am using STM32F103c8 MCU
CubeMX will give pins for each peripheral. You can also check the datasheet.
PA9 cannot be a GPIO pin and USART_TX at the same time, but your program can switch between the two functions as needed.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.