[Solved] Is it possible to map ports differently (or redirect them) ?
Hello,
I'm currently working with a board made by my team using a STM32L476RG. I started my project from the dataLog Fusion Project from the Mems examples. My issue is that the UnicleoGui communicates with the mcu through STLink by using USART2, connected to the ports PA2 and PA3.
However those ports weren't routed and now I have to solder by hand my STLink UART Ports to the MCU pins. By chance, my team routed the port PA9 and PA10 in order to have uart access to the board, in bootstrap mode to program it.
With my handmade soldering i can communicate with the ST link but when the device will be manufactured, we will have to test some outputs of our device ( the heading output from motionFX for example ), and we would like to be able to do so through our connector, routed to pA9 and PA10. (those ports would the be connected to the STLink device, but without needing any soldering)
So my question is : Is it possible to connect my PA9 and PA10 ports to USART2, which doesn't allow those ports from the STM32 Cube IDE GUI?
If no, is it possible to cleanely connect PA2 and 3 to 9 and 10 using software? and in that case can i prevent the 2 and 3 ports from outputing any signal?
Finally, if it is also not possible, is it possible to configure PA9 and 10 to work the same as PA2 and 3 did with this project? I tried this option, however it seems there are a lot of parameters to change, beside the ones from the .ioc file...
Many thanks for the help you could provide,
Matthieu
