Designing with ARM Cortex-M4 (and a Real Dev Board)

Slides:



Advertisements
Similar presentations
STM32F10x Changes v1.5 to 1.4 HD added Changes v1.4 to 1.3
Advertisements

Lizard Labs Peripheral Reflex System
Getting Started with a Cortex-M3 Board
Asst. Prof. Dr. Alper ŞİŞMAN
Infineon for Arduino XMC – 32-bit Industrial Microcontrollers
Fundamental of Microcontrollers
Programmable Logic- How do they do that? 1/16/2015 Warren Miller Class 5: Software Tools and More 1.
Introduction to the Orbit Edu Board Ahmad Rahmati Teaching Assistant, ELEC424 Rice Efficient Computing Group Sep 12, 2007.
Silicon Labs ToolStick Development Platform
Holtek 32-bit MCU Promotion
NetBurner MOD 5282 Network Development Kit MCF 5282 Integrated ColdFire 32 bit Microcontoller 2 DB-9 connectors for serial I/O supports: RS-232, RS-485,
System Clocks.
Introduction to PIC-C. Required Software PIC-C Compiler Firmware Downloader Driver for the USB->Serial Adapter.
Page 1 D&C EBV Seminar June 2003 Motor Demo C868 Chevillot/Jansen June 2003 N e v e r s t o p t h i n k i n g. Infineon C868 Hands On Training CAPCOM6.
ECS642U Embedded Systems Digital I/O William Marsh.
1 General Purpose and Alternate Function I/O (GPIO and AFIO)
TI MSP430 MICROCONTROLLERS BY ADITYA PATHAK. THE MSP FAMILY Ultra-low power; mixed signal processors Widely used in battery operated applications Uses.
STR7 Vs ATMEL SAM7S128 and SAM7S256 16/32 bit MCUs December 2006.
ChibiOS/RT Demo A free embedded RTOS
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
RenBED – Technical Training Jon Fuge – Renishaw plc.
SA developed mini-PCIe IO card By Peet Smit. RS282 x8 USB x4 WLAN Video Capture LVDS Display SATA x4 mSATA-half LAN x2 3G & SIMM Digital IO.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 AD converter.
STM32 및 개발보드 소개 Jang Hyunsung Embedded Systems Lab. Dept. of CSE, PNU
1 The LPC1768 Architecture (with focus on Cortex-M3)
Case Study #1 Microcontroller System. What is a microcontroller? A microcontroller can be considered a self-contained system with a processor, memory.
THE MOST SUCCESSFUL C2000 MCU
ENERGY METER TO INDICATE BILLING IN RUPEES FOR LOAD WISE OR DAY WISE
PRJ2: ESP2-UC workshop 1 Introductie 1.
Application Case Study Christmas Lights Controller
Lizard Labs Peripheral Reflex System
Hands-On Design of BLDC Motor Control with Microchip MCUs
Cypress Roadmap: Platform PSoC®
Introduction to the ARM mbed Platform– A Hands-on Course
Outline Introduction to NuMaker TRIO Programming environment setup
Microcontrollers, Basics Tips and Tricks with PIC MCUs
REMOTE CONTROL OF A MECHATRONICS SYSTEM WITH WIRELESS COMMUNICATIONS
Hands On SoC FPGA Design
PROPELLER DISPLAY OF MESSAGE BY VIRTUAL LEDS
Hands On SoC FPGA Design
Microcontrollers & GPIO
Copyright © Infineon Technologies AG All rights reserved.
Computer System Laboratory
Designing with ARM Cortex-M4 (and a Real Dev Board)
Class 1: An Introduction to MCU Software Development
Implementation of Embedded OS
UNIT – Microcontroller.
DSC - fundamente MPU MCU DSP DSC Alternative Freescale
PRJ2UC: Microcontrollers
Programming Microcontroller ADC – Analog Digital Converter
Atmel ARM I/O Programming
ARM Cortex-M4 Combines DSP and microcontroller features
Getting Started with Programmable Logic
Introduction to the Orbit Edu Board
Class 3: Understanding Software Development
RX111 Promotion Board (RPB) hands on
Using FPGAs with Processors in YOUR Designs
Future Designs, Inc. Your Development Partner
Programmable Logic- How do they do that?
MCU Software Development- A Step by Step Guide (Using a Real Eval Board) Class 2: An Introduction to the Atmel AVR XMEGA and Explained Eval Board 9/23/2014.
Getting Started with Programmable Logic
Getting the Most Out of Low Power MCUs
Controlling Sensors Efficiently with MCUs
Training Module Introduction to the TB9100/P25 CG/P25 TAG Customer Service Software (CSS) Describes Release 3.95 for Trunked TB9100 and P25 TAG Release.
MSP432™ MCUs Training Part 6: Analog Peripherals
Software Setup & Validation
Wireless Embedded Systems
Single Board Computers and Dev Boards
Embedded System Design Techniques™:
Presentation transcript:

Designing with ARM Cortex-M4 (and a Real Dev Board) Class 4: Build Your Own ARM-based Product 7/10/2014 Warren Miller

This Week’s Agenda 7/7/14 An Intro to the ARM Cortex-M4 7/8/14 An ARM Cortex-M4 Design Example 7/9/14 Understanding the ST32F3 Tool Flow 7/10/14 Build Your Own ARM-based Product! 7/11/14 Tying Up the Loose ARM Ends

Course Description Are you ready to learn how easy it is to use ARM Cortex-M4 MCUs in your designs? This course will introduce you to the ARM Cortex-M4 architecture and describe the key features of an MCU, the ST Microelectronics STM32F3 that uses the Cortex-M4 for the CPU. A readily available Discovery Board, the STM32F3DISCOVERY, will be used to learn how to begin designing right away!

Todays Goals and Objectives Understand the many design examples available for the STM32F3 Discovery Kit Be able to select a design as a starting point for your own design Be able to modify a simple design and run it thru the STM32F3 tool flow see it run on the board

Tools! STM32CubeF3 IAR EWARM STM32F3 Discovery Designs http://www.st.com/web/en/catalog/tools/PF260613 IAR EWARM http://www.iar.com STM32F3 Discovery Designs http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF254044

Design Examples Discovery Board Demo Design Described previously STM32F3 Peripheral Example Designs ADC, CRC, DAC DMA Flash RAM DMA RAM DAC External Interrupt Flash Program FPU GPIO, IWDT, WWDG, OPAMP PGA Power Consumption, Standby, Stop RTC, Timers, USB Other Example Designs IAR, ST Micro, etc

Example Peripheral Design (ADC) This example describes how to use the ADC1 to convert continuously voltage applied to a given analog input channel. Detailed steps of ADC configuration are provided starting from GPIO configuration to the analog channel configuration without forgetting the ADC calibration procedure. In this example the ADC1 Channel7(PC1) is used as directly connected to the power supply. The converted voltage is stored in the ADC1ConvertedVoltage variable.

Example Peripheral Design 2 (ADC) This example describes how to use the ADC1 to convert continuously voltage applied to a given analog input channel. Detailed steps of ADC configuration are provided starting from GPIO configuration to the analog channel configuration without forgetting the ADC calibration procedure. In this example the ADC1 Channel7(PC1) is used as directly connected to the power supply. The converted voltage is stored in the ADC1ConvertedVoltage variable.

Example Design 3 (ADC)

Example Design 4 (ADC)

Example Peripheral Design (EXTI) This example shows how to configure external interrupt lines. In this example, 1 EXTI line (EXTI0) when using the STM32F3-Discovery is configured to generate an interrupt on each rising edge. In the interrupt routine leds connected to a specific GPIO pin is toggled. In this example - EXTI0 is mapped to PA0. - when rising edge is detected on EXTI0 by pressing User button, LED3, LED6, LED7 and LED10 toggle.

Example Peripheral Design 2 (EXTI) This example shows how to configure external interrupt lines. In this example, 1 EXTI line (EXTI0) when using the STM32F3-Discovery is configured to generate an interrupt on each rising edge. In the interrupt routine leds connected to a specific GPIO pin is toggled. In this example - EXTI0 is mapped to PA0. - when rising edge is detected on EXTI0 by pressing User button, LED3, LED6, LED7 and LED10 toggle.

Peripheral Design (Standby)

Peripheral Design 2 (Standby)

Peripheral Design 2 (Standby)

Peripheral Design 3 (Standby)

For Next Time Select an Example Design Add your code Compile, download and run on the Discovery Board Or just run in the debugger!

Additional Resources STM32F3 Discovery Web Page http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/PF254044 STM32F3 Discovery Examples http://www.st.com/web/en/catalog/tools/PF258154 Order your kit from Digi-Key to follow along in the class- Optional, not a class requirement http://www.digikey.com/product-detail/en/STM32F3DISCOVERY/497-13192-ND/3522185

This Week’s Agenda 7/7/14 An Intro to the ARM Cortex-M4 7/8/14 An ARM Cortex-M4 Design Example 7/9/14 Understanding the ARM Tool Flow 7/10/14 Build Your Own ARM-based Product! 7/11/14 Tying Up the Loose ARM Ends