标题: [NUC240] Simulate UART Transmission by Software [打印本页] 作者: admin 时间: 2022-4-21 12:29 标题: [NUC240] Simulate UART Transmission by Software
Application: This code uses GPIO and TIMER to simulate UART waveform.
BSP Version: NUC230_240 Series BSP CMSIS V3.01.001
Hardware: NuTiny-EVB-NUC240 V1.2
If we do not have enough UART channel to use in the application, we can use TIMER interrupt with GPIO to generate UART waveform. Since the waveform is processed by software, other interrupts have to be disabled to avoid interruption while waveform transmitting.