sdk-ameba-v4.0c_180328/project/realtek_amebaz_va0_example/example_sources/uart
2019-04-02 16:34:25 +08:00
..
src first add sdk 2019-04-02 16:34:25 +08:00
Makefile first add sdk 2019-04-02 16:34:25 +08:00
readme.txt first add sdk 2019-04-02 16:34:25 +08:00

Example Description

This example describes how to use UART to communicate with PC.

Required Components:
    USBtoTTL adapter

Connect to PC
 - Connect Ground: connect to GND pin via USBtoTTL adapter
 - Use UART0
	GPIOA_18 as UART0_RX connect to TX of USBtoTTL adapter
	GPIOA_23 as UART0_TX connect to RX of USBtoTTL adapter

Open Super terminal or teraterm and 
set baud rate to 38400, 1 stopbit, no parity, no flow contorl.

This example shows:
User input will be received by demo board, and demo board will loopback the received character with a prompt string "8195a$".