1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/periph/uart_locate_pins
Marian Buschsieweke f9aab53e16
tests/periph/uart_locate_pins: new test/utility app
This application uses `soft_uart` to bit-bang the name of a number of
configured GPIO pins via said pins at 9600 Bd. This way attaching an
USB UART bridge to one pin at a time easily reveals which MCU GPIO
pin a given pin on a board corresponds to. This is useful when no
schematic and no silkscreen labeling is available, or when the
information is misleading or outright incorrect (looking at the
E180-ZG120B-TB).
2024-01-18 10:42:13 +01:00
..
include tests/periph/uart_locate_pins: new test/utility app 2024-01-18 10:42:13 +01:00
main.c tests/periph/uart_locate_pins: new test/utility app 2024-01-18 10:42:13 +01:00
Makefile tests/periph/uart_locate_pins: new test/utility app 2024-01-18 10:42:13 +01:00
README.md tests/periph/uart_locate_pins: new test/utility app 2024-01-18 10:42:13 +01:00

Utility to locate GPIO pins

This application bit-bangs the name of every GPIO pin via soft_uart on each GPIO. Connect an UART adapter to one pin at a time configured at symbol rate of 9600 Bd and check the output to know which pin you are connected to.