- Application: Simulate UART half-duplex communication transmission using GPIO and TIMER.
- BSP Version: M051 Series BSP CMSIS v3.01.001
- Hardware: NuMaker-EVB-M051 v3.0
In this example, the IOs of the two GPIOs are set to output mode and input mode and are responsible for receiving or transmitting data. The half-duplex transmission function of UART_TX and UART_RX is simulated with two TIMER counting function generation cycles.
You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1216133807
|