STMicroelectronics AN2710 STR7xx Safe GPIO Port Configuration Application Note

This application note describes the best way of configuring the GPIO ports in STR7xx devices.


STMicroelectronics AN2710 STR7xx Safe GPIO Port Configuration Application Note - cover page
Brand
STMicroelectronics
Category
microcontrollers
Document type
Application Note
Language
English
Pages
30
File format
PDF
File size
335 KB
Published
07 August, 2012
Updated
01 October, 2023
Model
STR7xx
MD5 checksum
B0D5366A869F8DFF71F255926838CD8C

About this manual

This document provides guidelines for safely configuring General Purpose Input/Output (GPIO) ports in STR7xx microcontroller devices. It details the various programmable modes available, including input, output, alternate function, open drain, push-pull, and high impedance configurations.

The note includes specific configuration sequences for transitioning between different port states (e.g., from push-pull to analog input) to ensure hardware safety. It covers the STR71x, STR73x, and STR75x families, providing functional descriptions and configuration tables for each.

What's inside

  • Functional description
  • General-purpose I/O (GPIO)
  • Alternate function I/O (AF)
  • Input configuration
  • Output configuration
  • High impedance-analog input configuration
  • Recommended configuration sequence
  • STR71x & STR73x I/O ports
  • STR75x general-purpose I/O ports
  • Revision history

Specifications

Access Method16-bit words
Programmable Modesinput, output, alternate function, output open drain, output push-pull, bidirectional weak push-pull and high impedance

Frequently asked questions

What are the programmable modes for STR7xx GPIO ports?

The ports can be programmed as input, output, alternate function, output open drain, output push-pull, bidirectional weak push-pull, and high impedance.

How are I/O port registers accessed?

The registers must be accessed as 16-bit words; 32-bit or byte access is not allowed.

Download PDF (335 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →