[M051] Software UART

Post Reply
chhsieh3
Posts: 307
Joined: 13 Mar 2020, 09:08

10 Jun 2020, 15:25

  • 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
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 52 guests