Host PC and Target

<< Click to Display Table of Contents >>

Navigation:  STM32F4 Target > Demos > Standard Peripherals Demos > UART >

Host PC and Target

Previous pageReturn to chapter overviewNext page

demo File: uart_hostpc_target_demo.mdl

Build and program the demo model below to target board.

uart_demo_hostpc_target

Description

This demo showing communication Host PC and target STM32F4 board. User can sent string command to control and query value via COM/ UART port.

Software Setup

At host PC side for test the demo, download software "TeraTerm" from http://www.ayera.com/teraterm/

Run "ttermpro.exe" and configuration as below:

1. At first pop-up window when program start, select option "Serial" and select port. Then click "OK" to connect to the port.

uart_demo_hostpc_setup1

2. At menu bar items, select menu "Setup" -> "Terminal...", make configuration as showing below:

uart_demo_hostpc_setup2

3. At menu bar items again, select menu "Setup" -> "Serial port...", make configuration as showing below:

uart_demo_hostpc_setup3

Hardware Setup

This demo tested with below hardware setup.

uart_hwsetup_twoboards

Warning: To make change on hardware setup, please disconnect all power supply (USB) first, to prevent damage to the boards.

What should be happening?

uart_demo_hostpc_testing1