Home > other > Stm32 serial port communication, why to receive pin set the input mode, the input pin set receiving
Stm32 serial port communication, why to receive pin set the input mode, the input pin set receiving
Time:10-03
When newbie on the road, in a serial port communication, found that atomic mini plate for the receiving of serial port pin pa9, send for pa10, according to the receive pin configuration mode, send a pin set delivery mode, found with serial assistant can't receive, and when use pa9 output, pa10 receiving, can again, and the board schematic diagram in pa9 is receiving pins, pa10 is sent, even also said the receive with images, the output with the output, is this why? Request bosses solutions
CodePudding user response:
I remember that there is whether can set will receive UART register send pin switch, you look at the corresponding register is introduced
CodePudding user response:
I guess atomic receive send not relative MCU, but relative to the PC, For MCU PA9 is TX, PA10 is RX