STM Arm I/O Programming

Slides:



Advertisements
Similar presentations
1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
Advertisements

Georgia Tech Digital Back-end µHRG interface Curtis Mayberry School of Electrical and Computer Engineering Georgia Institute of Technology January 13 th,
7-Segment Displays Lecture L6.1 Section 6.3. Turning on an LED.
OUTPUT INTERFACE – Microprocessor Asst. Prof. Dr. Choopan Rattanapoka and Asst. Prof. Dr. Suphot Chunwiphat.
STM32F10x Changes v1.5 to 1.4 HD added Changes v1.4 to 1.3
TK2633 Introduction to Parallel Data Interfacing DR MASRI AYOB.
Input/Output (I/O) Ports and Interfacing
EEE305 Microcontroller Systems Lecture 5B: Simple I/O Embedded C using PIC microcontrollers Teaching resources on on
ASPPRATECH.
Objectives: Lead Switching Circuitry/Control Analog to Digital Converter Write to Computer.
GPIO 碩一 李柏毅 陳政澤. overview Introduction example Structure of GPIO.
CprE 211 Break-out Board Layout
3-1 Digital I/O A group of I/O pins is called a PORT  A port is where data enters/leaves the system. Digital I/O pins are usually grouped into 8,16 or.
Port Mapped I/O.
1 ARM University Program Copyright © ARM Ltd 2013 General Purpose I/O.
The miniDragon+ Board and CodeWarrior Lecture L2.1.
1 ARM University Program Copyright © ARM Ltd 2013 General Purpose I/O.
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
ECS642U Embedded Systems Digital I/O William Marsh.
MICROCONTROLLER SYSTEMS Part 1. Figure 1.1Elements of a digital controller CPU Central Processing Unit Input Peripherals Output Peripherals ROM Read Only.
Input-Output Organization
AVR Programming: Digital I/O September 10, What is Digital I/O? Digital – A 1 or 0 Input – Data (a voltage) that the microcontroller is reading.
7/23 Coldfire 5211 Signals and IO Multiplexing Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee
CIT 673 Created by Suriyong1 Micro controller hardware architechture.
EE365 - Microprocessors period 26 10/23/00 D. R. Schertz # Parallel Ports.
STM32F107VC Datablad Reference manual Schematics.pdf.
Circuit diagram for interfacing Common Anode 7-Segment Display.
8255 Programmable Peripheral Interface
COURSE OUTCOMES OF Microprocessor and programming
Fundamentals of Computer Engineering
Interfacing to peripherals - Seven Segment display (1)
Figure 1.1 The Altera UP 1 CPLD development board.
Input/Output Ports and Interfacing
TI ARM I/O Programming Chapter 2
PRE-PROGRAMMED DIGITAL SCROLLING MESSAGE
For further information
Refer to Chapter 10 in the reference book
General Purpose I/O.
Programming Microcontroller ADC – Analog Digital Converter
ADC Interfacing Source: In under
Atmel ARM I/O Programming
Freescale ARM I/O Programming
Embedded Systems Software Training Center
Programming Microcontroller GPIO – General Purpose Input/Output
Interrupt and Exception Programming
Architectural Features
SPI Protocol and DAC Interfacing
8255.
UART Serial Port Programming
Lecture 18 PicoBlaze I/O Interface
ADC, DAC, and Sensor Interfacing
Architecture & Support Components
I2C Protocol and RTC Interfacing
Programmable Peripheral Interface
Chapter 13 DMA Programming.
Arduino Board.
82C55 Programmable Peripheral Interface
STM Arm Timer Programming
Keyboard/Display Controller (8279)
Programmable Peripheral Interface
8051 Micro Controller.
Lecture 13 PicoBlaze I/O & Interrupt Interface
SPI Protocol and Programming
I/O Programming with Arduino
Speaker: Yu-Ju Cho 卓余儒 Advisor: Prof. An-Yeu Wu 吳安宇教授
8085 Microprocessor Architecture
XC9500 Architectural Features
TI LaunchPad I/O Programming with Energia
Speaker: Yu-Ju Cho 卓余儒 Advisor: Prof. An-Yeu Wu 吳安宇教授
Presentation transcript:

STM Arm I/O Programming Chapter 2 STM Arm I/O Programming

STM32 Arm Cortex Portfolio

STM32F446RE Arm Microcontroller Block Diagram

STM32 Arm Cortex Portfolio

STM32F446RE Nucleo Board

STM32F446RE Nucleo Block Diagram

STM32F446RE Nucleo board top layout

Memory Map of STMF446RE

Memory map for STM32F446RE

STM32 Arm Naming

STM32 Cortex-M Portfolio

STM32F4xx LQFP 64 pinout used in Nucleo-F446RE board

STM32F4xx LQFP 100 pinout

Partial listing of Peripheral address map for STM32F446

Partial listing of Peripheral address map for STM32F446

STM Arm Bus Matrix

Some of the GPIO Registers in STM32F4xx Arm

The Data and Direction Registers and a Simplified View of an I/O pin

GPIOx_ODR Output Data Register (x=A, B,C, ..)

GPIOx_MODER (GPIO Mode) for Direction Register (x=A, B, C, …)

RCC_AHB1ENR register bits to enable clock to I/O ports

User LED connection for STM32F446RE Nucleo board

GPIOx_BSRR (GPIO Bit Set Reset) Register

GPIOx_IDR (Input Data) Register

Switch connection to STM32F4-NUCLEO board

Connecting external switches to the microcontroller

GPIOx_OTYPER Register

GPIOx_OSPEEDR Register

GPIOx_PUPDR Register

STM32 Arm Pin Multiplexing of Alternate Functions

GPIOx_AFRL (GPIOx Alternate Function Low) register to select alternate pin functions

GPIOx_AFRH (GPIOx Alternate Function High) register to select alternate pin functions

STM32F446RE Alternative Functions (AF0-AF15) Pin Selection (Partial listing, see Appendix B for full listing)

Seven-segment Display

Assignments of port pins to each segments of a 7-seg LED

Segment patterns for the 10 decimal digits for a common cathode 7-seg LED

Connections between microcontroller and a two-digit 7-segment LED

Connections between microcontroller and 7-segment LED with drivers