Asst. Prof. Dr. Alper ŞİŞMAN

Slides:



Advertisements
Similar presentations
High-performance Cortex™-M4 MCU
Advertisements

Georgia Tech Digital Back-end µHRG interface Curtis Mayberry School of Electrical and Computer Engineering Georgia Institute of Technology January 13 th,
STM32F10x Changes v1.5 to 1.4 HD added Changes v1.4 to 1.3
Lizard Labs Peripheral Reflex System
Microcontroller – PIC – 4 PIC types PIC architecture
ARM development environment Modified Content Philips LPC2106 ARM chip ARM target board PSPad customised development environment Troubleshooting.
Microcomputer Systems 1
TigerSHARC and Blackfin Different Applications. Introduction Quick overview of TigerSHARC Quick overview of Blackfin low power processor Case Study: Blackfin.
Aztec PC Scope Preliminary Design Review Fall 2006 Michael MasonJed Brown Andrew YoungsJosh Price.
AT32AP7000 Intro CS-423 Dick Steflik. Block Diagram.
Getting Started with a Cortex-M3 Board
ECE Department: University of Massachusetts, Amherst Lab 1: Introduction to NIOS II Hardware Development.
AVR 8-bit RISC micro controllers by Atmel Seamk / ICT / Seppo Stenberg General features of AVR family Development tools - board, compiler, simulator etc.
ASPPRATECH.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
CS4101 嵌入式系統概論 Freescale Tower System Prof. Chung-Ta King Department of Computer Science National Tsing Hua University, Taiwan ( Materials from
Hardware Overview Net+ARM – Well Suited for Embedded Ethernet
LabVIEW Embedded Module for ARM Microcontrollers
Introduction to the Orbit Edu Board Ahmad Rahmati Teaching Assistant, ELEC424 Rice Efficient Computing Group Sep 12, 2007.
Silicon Labs ToolStick Development Platform
The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP family.
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,
COMPUTER SYSTEM LABORATORY Lab10 - Sensor II. Lab 10 Experimental Goal Learn how to write programs on the PTK development board (STM32F207). 2013/11/19/
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
Lab 1 Department of Computer Science and Information Engineering National Taiwan University Lab1 - Sensor 2014/9/23/ 13 1.
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
What’s iTeach Educational Purposes Only Connect to Internet Upload/ Download files Stream/Play Video and Audio (Lectures) Reading Textual Documents Browse.
Designing with Components Wilmer Arellano. How to chose a Microcontroller Choose one that you are familiar with or that is easy to learn.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
AT91 Products Overview. 2 The Atmel AT91 Series of microcontrollers are based upon the powerful ARM7TDMI processor. Atmel has taken these cores, added.
Our Project Next generation communication system for vehicles ▫Simple, real-time visual communication Multi-touch input ▫Driver’s gestures produce an.
Implementation of Embedded OS Lab4 Cortex-M3 Programming.
ChibiOS/RT Demo A free embedded RTOS
Team 6. Guitar Audio Amplifier Audio Codec DSP Wireless Adapter Motor Array PC LCD Display LED Arrays Pushbutton or RPG Input Device
Submitted by:.  Project overview  Block diagram  Power supply  Microcontroller  MAX232 & DB9 Connector  Relay  Relay driver  Software requirements.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
CECS 347 Microprocessors and Controllers II Chapter 1 - An Overview of Computing Systems Instructor: Eric Hernandez.
Praxis I.  Introduction  Hardware  Software Tools  Microcontroller board  Blinky (simple program to flash a led)  References.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
HOME SECURITY USING WIRELESS SENSOR NETWORK UNDER THE ESTEEMED GUIDANCE OF: P.RAMESH D.SIVOM( ) KANMANI RAVI( ) B.SAI RAJSEKHAR( )
STM32 및 개발보드 소개 Jang Hyunsung Embedded Systems Lab. Dept. of CSE, PNU
Mobile phone keypad sensed password entry for door opening.
2D-Graphic Accelerator
ENERGY METER TO INDICATE BILLING IN RUPEES FOR LOAD WISE OR DAY WISE
PICK N PLACE ROBOTIC ARM AND MOVEMENT CONTROLLED BY ANDROID WIRELESSLY
Outline Introduction to NuMaker TRIO Programming environment setup
Popular Microcontrollers and their Selection by Lachit Dutta
Lab 1: Using NIOS II processor for code execution on FPGA
PROPELLER DISPLAY OF MESSAGE BY VIRTUAL LEDS
Hands On SoC FPGA Design
Microcontrollers & GPIO
Computer System Laboratory
Implementation of Embedded OS
ARM Cortex-M4 Combines DSP and microcontroller features
Programming Microcontroller
Introduction to the Orbit Edu Board
Microcomputer Systems 1
The Arduino Microcontroller: Atmel AVR Atmega 328
Introduction to Microprocessors and Microcontrollers
Future Designs, Inc. Your Development Partner
PICK N PLACE ROBOTIC ARM AND MOVEMENT CONTROLLED BY ANDROID WIRELESSLY
Designing with ARM Cortex-M4 (and a Real Dev Board)
Software Setup & Validation
Wireless Embedded Systems
CPU TI AM4376 JTAG Expansion Board Connectors Samtec TFC F-D-A
ADSP 21065L.
Presentation transcript:

Asst. Prof. Dr. Alper ŞİŞMAN Practice 1 Asst. Prof. Dr. Alper ŞİŞMAN

What is STM32F Discovery board STM32F407VGt6 MCU with 32-bit ARM Cortex-MF4 core, 1 MB Flash and 192 KB RAM ST-Link debugger External or USB power options (5V). 8-LED indicators red/green LED Indicating the communication with the computer (debugging, programming etc.) Red power on indicator LED 4 general purpose LEDs (orange, green, red and blue) 2 USB LEDs (green,red) indicating USB port of MCU active.

A reset and a general purpose button Micro USB connector for USB applications 3-dimension digital accelerometer (LIS302DL) Omni-directional MEMS microphone (MP45DT02) DAC with integrated Class-D speaker driver (CS43L22) 100-pin header to reach all pins of the MCU

What is STM32F407VG MCU LCD parallel interface, 8080/6800 modes Core: ARM 32-bit Cortex™-M4F CPU with FPU, Adaptive real-time accelerator (ART Accelerator™) allowing 0-wait state execution from Flash memory, frequency up to 168 MHz, and DSP instructions Memories Up to 1 Mbyte of Flash memory Up to 192+4 Kbytes of SRAM including 64-Kbyte of CCM (core coupled memory) data RAM Flexible static memory controller supporting Compact Flash, SRAM, PSRAM, NOR and NAND memories LCD parallel interface, 8080/6800 modes

Up to 140 I/O ports with interrupt capability 3×12-bit, 2.4 MSPS A/D converters: up to 24 channels and 7.2 MSPS in triple interleaved mode 2×12-bit D/A converter Up to 140 I/O ports with interrupt capability Up to 15 communication interfaces Up to 3 × I2C interfaces (SMBus/PMBus) Up to 4 USARTs/2 UARTs (10.5 Mbit/s, ISO 7816 interface, LIN, IrDA, modem control) Up to 3 SPIs (37.5 Mbits/s), 2 with muxed full-duplex I2S to achieve audio class accuracy via internal audio PLL or external clock 2 × CAN interfaces (2.0B Active) SDIO interface

Advanced connectivity USB 2.0 full-speed device/host/OTG controller 10/100 Ethernet MAC with dedicated DMA: supports IEEE 1588v2 hardware, MII/RMII 8- to 14-bit parallel camera interface up to 54 Mbytes/s Up to 17 timers: up to twelve 16-bit and two 32-bit timers up to 168 MHz, each with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input Debug mode Serial wire debug (SWD) & JTAG interfaces Analog random number generator CRC calculation unit, 96-bit unique ID RTC: subsecond accuracy, hardware calendar

Compiler Keil STM32 C compiler can be used. (32K free version) Create a new project using project tab Choose the MCU type (STM32F407ZG) Add new item to source group1: C file, the name: main Include the processor header file: STM32F4xx.h Each code file must have SystemInit() and main() functions Compile it.

Debugger Set simulation mode Activate HW floating point block in system init function: (*((int*)0xE000ED88))|=0x0F00000; Write the main code as follows: int sayi1; int sayi2=5000, sonuc; sayi1 = sayi2 % 3; sonuc=sayi1+sayi2; Hit the debug button, add watch windows and see how the number are changing as the program executing step by step

HW Debugging Download USB drivers from ST’s internet site. They must be installed before. Change the debug mode of your project to ST-link debugger (Use options menu) Change simulation modedebugger mode (Debug menu) Select Flash programmer as ST-debugger(Flash utilities menu) Choose the driver for flashing (from settings button of the flash utilities menu) Connect the discovery kit via mini USB connector Upload the compiled the code Execute the code step by step