STMicroelectronics AN969 Application Note

AN969 is an application note about the standard communication interface between a ST7 microcontroller and a PC. It includes the features of SCI communication and baud rate configuration.


STMicroelectronics AN969 Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
10
File format
PDF
File size
59 KB
Published
07 August, 2012
Updated
30 September, 2023
MD5 checksum
200E029FF26F9B3279881010B0408585

About this manual

This document presents a standard communications interface between an ST7 microcontroller and a PC. The communication is achieved through the ST7 SCI peripheral and a PC serial port using the RS232 protocol. It details the necessary hardware setup, including the use of a MAX232 chip for level conversion between TTL and RS232 signals.

The guide provides specific configuration instructions for the ST72F264 microcontroller, including baud rate selection, word length settings, and enabling transmission and reception modes. It also includes a software example using the Windows 98 HyperTerminal application to demonstrate the polling strategy for data exchange.

What's inside

  • Introduction
  • SCI Communication Features
  • RS232 Communication with PC
  • ST72F264 Configuration
  • Baud Rates Selection
  • Frames and Word Length
  • Software Description
  • Hardware Schematic
  • Flowcharts
  • Source Files

Specifications

Microcontroller ModelST72F264
External Clock Frequency16 MHz
Internal Clock Frequency8 MHz
Communication ProtocolRS232
Data Word Length8 or 9 bits
Example Baud Rate9600 bps

Frequently asked questions

What chip is used for RS232 to SCI conversion?

A MAX232 is used for the purpose of converting between the PC and the SCI peripheral.

Which Windows application is used for PC configuration?

The HyperTerminal application is used to configure the PC as a terminal.

How is the baud rate calculated for the ST72F264?

The baud rate is calculated using the formula TX = fopy/(16*PR*TR) and RX = fopy/(16*PR*RR).

Download PDF (59 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →