2023-02-09 01:31 PM
Hi,
I am wondering if it is possible to internally connect two GPIO pins by software, not using wires.
Thank you
Solved! Go to Solution.
2023-02-10 05:24 AM
2023-02-09 10:46 PM
GPIO's are connected either to internal registers (independant of each others) or to internal IP blocks (UART, I2C,etc..) through an internal multiplexer ("AF" Alternate Function Mux) or to some analog IP blocks (ADC, ..) through "Addtional Function" muxing.
It is not possible to connect physically two GPIO on the device.
So toggling 2 GPIO in the samew way you may have to write on 1st GPIO output register then write same data on the 2nd GPIO.
However if your intention is to output the same "Alternate function" signal (ex: UART) to 2 GPIOs at the same time, this is possible:
you can find this on the web:
JM
2023-02-10 04:59 AM
Thank you @Jean-Marc S
To clarify my question, is it possible to set one pin as UART TX and the other as UART RX. Then able to connect them internally without a wire? I guess the answer is no though
2023-02-10 05:10 AM
Did you find such a pin that supports both on your chip, and which one?
hth
KnarfB
2023-02-10 05:24 AM
Hi @Community member
no it is not possible
2023-02-10 05:34 AM
No I didn't find such register that can handle loopback, which is a register in my previous MPU. That' why I want to confirm in the community.