Page 1 of 1

[NUC240] Use ACMP to Reverse UART Tx Signal

Posted: 30 Jun 2020, 13:56
by chhsieh3
  • Application: This code uses ACMP as an inverter to reverse UART Tx signal.
  • BSP Version: NUC230/240 Series BSP CMSIS V3.01.001
  • Hardware: NuTiny-EVB-NUC240 V1.2
The ACMP inside MCU is used as an inverter. The ACMP positive input is UART Tx signal and the negative input is internal band-gap reference voltage. The output of ACMP is set to reverse signal.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 0617160718