Embedded Systems Software Training Center

Slides:



Advertisements
Similar presentations
Georgia Tech Digital Back-end µHRG interface Curtis Mayberry School of Electrical and Computer Engineering Georgia Institute of Technology January 13 th,
Advertisements

Reconfigurable Computing (EN2911X, Fall07) Lecture 04: Programmable Logic Technology (2/3) Prof. Sherief Reda Division of Engineering, Brown University.
LOGSYS Development Environment of Embedded Systems Tamás Raikovich Béla Fehér Péter Laczkó Budapest University of Technology and Economics Department of.
Infineon Technologies Corp. June 99 1 HOT167-1 Version 2.0 F PWMmax = x 50ns = 78 kHz Pulse Width Modulation Unit (PWM) (20 MHz)  4 independent.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
NS Training Hardware. Memory Interface Support for SDRAM, asynchronous SRAM, ROM, asynchronous flash and Micron synchronous flash Support for 8,
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
1-1 SYS Module System Clocks FXTAL BCLK Reset Circuit Reset Conditions Bootstrap Initialization.
NS Training Hardware. System Controller Module.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
3-1 System peripherals & Bus Structure Memory map of the LPC2300 device is one contiguous 32-bit address range. However, the device itself is made up of.
Introduction to the Orbit Edu Board Ahmad Rahmati Teaching Assistant, ELEC424 Rice Efficient Computing Group Sep 12, 2007.
COE4OI5 Engineering Design Chapter 2: UP2/UP3 board.
ARM Timers.
System Clocks.
LPC2148 Programming Using BLUEBOARD
GPIO 碩一 李柏毅 陳政澤. overview Introduction example Structure of GPIO.
M Semiconductor Products Sector Computer Operating Properly Module Detail Slide #1 of 7 Tutorial Introduction PURPOSE -To explain how to configure and.
1 ARM University Program Copyright © ARM Ltd 2013 General Purpose I/O.
1 ARM University Program Copyright © ARM Ltd 2013 General Purpose I/O.
NETOS5.1 Training NS7520 Overview NETOS5.1 Overview BSP Changes BSP & Board Configurations Build File Changes for GHS Makefile Changes for GNU Linker Files.
ECS642U Embedded Systems Digital I/O William Marsh.
© 2008 RoboRubik1 11 Technical Communication Skills Practicum Theory of Operation and Hardware Design Narrative.
1 General Purpose and Alternate Function I/O (GPIO and AFIO)
ECS642U Embedded Systems Cyclic Execution and Polling William Marsh.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Timers and Interrupts Anurag Dwivedi. Let Us Revise.
7/23 Coldfire 5211 Signals and IO Multiplexing Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
1-3 GPIO_Output(LuminaryLibrary) 1.Alter the output current to 4mA 2.Let LED0 turn on but LED 1 turn off. Modify your program in E:\yourname\arm.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
Chapter 3 Parallel Ports, Power Supply and the Clock Oscillator The aims of this chapter are to introduce: Why we need parallel input/output; How simple.
Net+Os v5.1 with GHS 3.5 & GNU. What it is… Inter Release that allows you to run Net+Os on 7520 based targets… The BSP has been restructured to make it.
ARM Embedded Programming Lecture 4 Accessing Memory Mapped Registers.
RenBED – Technical Training Jon Fuge – Renishaw plc.
Microcontrollers JULES CALELLA. Microcontrollers vs Microprocessors  Microprocessors – do not contain RAM, ROM, I/O  Microcontrollers – The whole package.
STM32F107VC Datablad Reference manual Schematics.pdf.
Mobile phone keypad sensed password entry for door opening.
PRJ2: ESP2-UC workshop 1 Introductie 1.
16F877A.
AT91 Power Management This training module describes the Power Management options provided by the AT91 family of microcontrollers. These options address.
Outline Introduction to NuMaker TRIO Programming environment setup
Workshop 3. Digital-to-analog and analog-to digital conversion
Project Title EVM IN 8051 Under the Guidance of Submitted by.
PRE-STAMPEDE MONITERING AND ALARM SYSTEM
Refer to Chapter 5 in the reference book
CS4101 Introduction to Embedded Systems Lab 1: General Purpose IO
UNIT – Microcontroller.
DSC - fundamente MPU MCU DSP DSC Alternative Freescale
Lesson Outline Peripherals Memory-Mapped IO Ports GPIO Multiplexing
PRJ2UC: Microcontrollers
NS Training Hardware.
Freescale ARM I/O Programming
Project Title EVM IN PIC Under the Guidance of Submitted by.
DAC37J82 Settings Kang Hsia.
Programming Microcontroller GPIO – General Purpose Input/Output
STM Arm I/O Programming
UART Serial Port Programming
Designing with ARM Cortex-M4 (and a Real Dev Board)
CSCI1600: Embedded and Real Time Software
嵌入式微控制器编程 Embedded Microcontroller Programming
8051 Micro Controller.
CSCI1600: Embedded and Real Time Software
Wireless Embedded Systems
Wireless Embedded Systems
8085 Microprocessor Architecture
CS4101 Introduction to Embedded Systems Lab 2: Basic IO and Timer
Let’s use a PUSH-Button!
Arduino म्हणजे काय?.
ECE 3567 Microcontrollers Lab
Presentation transcript:

Embedded Systems Software Training Center Workshop 1. ARM basics. CPU frequency configuration and general purpose I/O. COPYRIGHT © 2015 DSR CORPORATION

Objectives Build and launch demonstration example on STM32F4DISCOVERY board. Modify provided example to perform a test task. Copyright © 2015 DSR Corporation

Test task: Compile and launch provided example. Explore code. Set system clock frequency ½ of maximal (84MHz). Flash LEDs on extension board from 1 to 8 in an endless loop. Each time lights only one LED. On user button press change system clock source from external to internal oscillator and back. Use SW and SWS bits in RCC_CFGR register. Copyright © 2015 DSR Corporation

Chipset frequency configuration Three different clock sources can be used to drive the system clock (SYSCLK): HSI oscillator clock signal is generated from an internal 16 MHz RC oscillator and can be used directly as a system clock, or used as PLL input. HSE oscillator clock signal can be generated from external crystal/ceramic resonator or external user clock SYSCLK configuration for STM32F4DISCOVERY board: SYSCLK (system_ stm32f4xx.h) = PLL_VCO / PLL_P PLL_VCO(system_ stm32f4xx.h) = (HSE_VALUE or HSI_VALUE / PLL_M) * PLL_N HSE_VALUE (stm32f4xx.h) = 8 000 000 Hz Copyright © 2015 DSR Corporation

GPIO configuration Configuration registers: GPIOx_MODER, GPIOx_OTYPER, GPIOx_OSPEEDR and GPIOx_PUPDR; Data registers: GPIOx_IDR and GPIOx_ODR; Set/reset register: GPIOx_BSRR; Locking register: GPIOx_LCKR; Alternate function selection registers: GPIOx_AFRH and GPIOx_AFRL. To configuring GPIO using SPL driver: Include stm32f4xx_gpio.h in your project; Enable the GPIO AHB clock using the following function RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOx, ENABLE); Configure the GPIO pin(s) using GPIO_Init(); To get the level of a pin configured in input mode use GPIO_ReadInputDataBit(); To set/reset the level of a pin configured in output mode use GPIO_SetBits()/GPIO_ResetBits(); Copyright © 2015 DSR Corporation

Thank you! COPYRIGHT © 2015 DSR CORPORATION 6