QQT912/原单片机-CW32F030/MCU厂资料/CW32F030_StandardPeripheral.../Examples/UART/UART_HwFlowControl
yuquanjun ddb927ee30 Initial: CW32F030 reference + CW32L012 BLDC port
Add working CW32F030 BLDC Hall PID reference firmware and port the application to CW32L012 with Keil MDK project QQT912_L012.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-05 04:31:26 +08:00
..
EWARM Initial: CW32F030 reference + CW32L012 BLDC port 2026-07-05 04:31:26 +08:00
MDK Initial: CW32F030 reference + CW32L012 BLDC port 2026-07-05 04:31:26 +08:00
USER Initial: CW32F030 reference + CW32L012 BLDC port 2026-07-05 04:31:26 +08:00
readme.txt Initial: CW32F030 reference + CW32L012 BLDC port 2026-07-05 04:31:26 +08:00

readme.txt

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

示例目的:
          UART硬件流控(RTS、CTS)示例。

硬件资源:
          1. CW32F030C8T6 StartKit
          2. 时钟HSIOSC
          3. 系统时钟设置为HSIOSC时钟6分频,8MHz,PCLK、HCLK不分频,PCLK=HCLK=SysClk=8MHz
          4. UART的传输时钟设置为PCLK

演示说明:
          UART发送TxBuffer缓冲区中的数据至PC;
		  PC发送数据,UART接收数据并存储到RxBuffer缓冲区,
		  UART将RxBuffer缓冲区中的数据回传至PC。
		  当UART接收到'\n',或接收数据量超过RxBufferSize后,传输结束。

硬件连接:
          UART1_TXD (PA08) -- PC_RX
          UART1_RXD (PA09) -- PC_TX
          UART1_CTS (PA10) -- CTS
          UART1_RTS (PA11) -- RTS

使用说明:
+ EWARM
          1. 打开project.eww文件
          2. 编译所有文件:Project->Rebuild all
          3. 载入工程镜像:Project->Debug
          4. 运行程序:Debug->Go(F5)

+ MDK-ARM
          1. 打开project.uvproj文件
          2. 编译所有文件:Project->Rebuild all target files
          3. 载入工程镜像:Debug->Start/Stop Debug Session
          4. 运行程序:Debug->Run(F5)