I am curious about the function of STM32F103C8T6 'Pinmap'.
hello. Nice to meet you.
Please look at the image.
- Serial1 : PB_6, PB_7
- Serial1 : PA_9, PB_10
What do you mean?
If you use the 'Serial1' function above, are 'PB_6,7' and 'PA_9,10' executed at the same time? Why are the same features expressed on different pins? If, in the source code
Code: Select all
Serial1.begin(115200);
Serial1.println("TEST");
When the above source code is written, where is the output between 'PB_6,7' and 'PA_9,10'?
Similarly, where does SPI1 output to?
by GonzoG » Wed Jun 21, 2023 6:55 pm
myksj1105 wrote: Tue Jun 20, 2023 11:10 pm
...
By any chance, if you want to do Serial1 through 'PB6 and PB7',
How should I set it as source code?
can you give me an example? (You must be busy, sorry for asking.)
With STM32 core it's easy:
Code: Select all
Serial1.setTX(pin);
Serial1.setRx(pin);
You'll find it on STM32duino wiki:
https://github.com/stm32duino/Arduino_C ... 2/wiki/API
Go to full post