Keil Logo

Checking Program Output

To check the program output from the BLINKY program, start the program running either from the debugger via JTAG or by cycling power on the board. The LCD panel initially displays the following message:

MCB-STM32E DEMO
www.keil.com

After a few seconds, the fifth line of the LCD displays a bar graph that reflects the current potentiometer setting.

Checking Serial Output

To check the serial output from the BLINKY program, connect a serial cable from the DB9 connector labelled COM on the board to an unused COM port on your development PC. Use a terminal emulation program, such as Microsoft Windows HyperTerminal, to display the serial data on your PC monitor.

To start the Microsoft Windows HyperTerminal application, select Start — Programs — Accessories — Communications — HyperTerminal.

  1. Enter a Name for the new connection, for example: MCBSTM32.

    HyperTerm Connection Description Dialog

  2. Select the PC COM port COM1 in Connect Using.

    HyperTerm Connect To Dialog

  3. Select 115200 Bits per second, 8 Data bits, Parity None, Stop bits 1 and Flow control None.

    HyperTerm Properties Dialog

  4. Click OK. The serial message containing the measured analog value of the A-to-D converter value continuously displays in the HyperTerminal window, as shown below.

    HyperTerm screen showing AD results

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.