Embedded Programming with ARM Cortex-M3 Basic Experiments 1

Size: px
Start display at page:

Download "Embedded Programming with ARM Cortex-M3 Basic Experiments 1"

Transcription

1 Embedded Programming with ARM Cortex-M3 Basic Experiments 1 Alan Xiao, Ph.D Handheld Scientific, Inc. qiwei@handheldsci.com

2 Today s Topics Basics (with the Discovery board): 1. General Input/Output (GPIO) 2. USART (serial) 3. SysTick 4. Unique ID 5. EXTI - External Interrupt 6. Real-time Clock/Calendar 7. Timer/PWM 8. Watchdogs (independent/window) 9. CRC (Cyclic Redundancy Check) 10. PVD (Programmable Voltage Detector) 11. Sleep/Stop/Standby Modes Advanced (with the STM3210C or similar board): 1. I2C/EEPROM 2. ADC 3. RS LCD display/touch Screen 5. SPI and Sensors 6. I2S Audio 7. Wireless (with external 315M and 2.4G modules) 8. USB Mouse and Keyboard 9. USB DFU (device firmware upgrade) 10. USB HID 11. USB Virtual COM Port 12. USB PCM Audio 13. Ethernet Telnet 14. Ethernet HTTP (i.e., control hardware via a web browser!) 15. Ethernet TFTP 16. USB Host 17. Running an OS on Cortex-M3 Copyright 2011 (c), Alan Xiao 2

3 Getting USART/Serial Port to work It is essential to get the USART to work. This is the conduit to the outside world. Most code examples will use the USART to display the results/messages. See code example on the intro session on how to get USART to work. Copyright 2011 (c), Alan Xiao 3

4 TTL/RS232 Level Consideration The USART IO in Discovery board is TTL level. To communicate with a PC: If you would like to use the RS-232 serial port (9 or 25pin D connector) on your PC (assuming there is one), you need a TTL to RS-232 level convertor such as a UT232R-200 from FTDI or a MAX3232 chip. If you would like to use an USB port, you need an USB to USART bridge such as an UB232R module from FTDI. In either case, only 3 wires are needed: Ground, RX<->TX, TX<-> RX. Copyright 2011 (c), Alan Xiao 4

5 Discovery and FTDI UB232R on a Bread Board Copyright 2011 (c), Alan Xiao 5

6 STM32 Memory Map 32-bit address: 4G addressable space. Everything has an address: registers, Flash, SRAM, etc. Flash starts at 0x SRAM starts at 0x That is probably all we need to know at the moment. Copyright 2011 (c), Alan Xiao 6

7 STM32 Boot Modes STM32 can boot from one of the following: User Flash Memory, System Memory and Embedded SRAM. This is controlled by two pins: System memory has a built-in serial boot loader for burning firmware into the chip without restoring to JTAG/SWD port. Booting and running program from RAM is faster. On the Discovery, both BOOT1 and BOOT2 are fixed to 0 so it only boots from user flash memory (although you can remove the soldered connectors to change that). Copyright 2011 (c), Alan Xiao 7

8 IAR Linker Memory Setting Copyright 2011 (c), Alan Xiao 8

9 SysTick Timer 24-bit countdown timer. It generates an interrupt when reaching zero and reloads value. The Library greatly simplifies its use. Simply call the following function: SysTick_Config(number_of_clock_cycles_in_a_period) Parameter can t exceeds 2^24 (about 16M). So for a 24M clock, the longest period is 16/24=667ms. If you need more control, mess up with the registers directly: Control & Status Register (enable, clock source, etc.). Reload value Current value Code example: simply print out a message in interrupt. Copyright 2011 (c), Alan Xiao 9

10 Unique Device ID Each STM32 device has a 96-bit (12 bytes) unique ID (guaranteed to be unique among the device family). Useful for: product serial number Security key for encryptions, for instance. To activate secure boot processer, etc. ID can be read as byte, half-word or word. Located in 0x1FFFF7E8 ~ 0x1FFFF7F3 memory location. See code example how to get it. Copyright 2011 (c), Alan Xiao 10

11 Interrupt Priority Two priorities: Preemptive Priority and Sub-priority. Lower number has higher priority. STM32 uses 4 bits in a register to specify the two priority settings. To be more flexible, it allows to specify the number of bits in that 4 bits for preemptive priority (the rest is for sub-priority). Group 0: 0 bit for preemptive priority. 4 bits for sub-priority. Group 1: 1 bit for preemptive priority. 3 bits for sub-priority. Group 4: 4 bits for preemptive priority. No bits for subpriority. Use NVIC_PriorityGroupConfig(NVIC_PriorityGroup_N) (n=0, 1, 2, 3 or 4) for the setting. Copyright 2011 (c), Alan Xiao 11

12 External Interrupts (EXTI) There are 16 EXTI lines: PA0, PB0,, PF0 use the same line EXTI_Line0 PA1, PB1,, PF1 use the same line EXTI_Line1 PA15, PB15,, PF15 use the same line EXTI_Line15 Use GPIO_EXTILineConfig() to tell the MCU which pin is being used. Copyright 2011 (c), Alan Xiao 12

13 External Interrupts (EXTI) EXTI Line 0 4 have their own dedicate interrupt source. EXTI Line 5-9 share one interrupt source, so do EXTI Line Handler Names: EXTI0_IRQHandler();, EXTI4_IRQHandler() EXTI9_5_IRQHandler(); EXTI15_10_IRQHandler() To set up EXTI: Setup GPIO. Turn on AFIO (alternate function) Setup EXTI Source Setup EXTI Line Setup Interrupt Populate Interrupt handler Much better than polling. No debouncing is necessary! Copyright 2011 (c), Alan Xiao 13

14 External Interrupts (EXTI) For EXTI line 5-15, in the interrupt handler, need to have some code to determine which line generated the interrupt. Something like this: void EXTI9_5_IRQHandler(void) { if (EXTI_GetITStatus(EXTI_Line5)!= RESET) { EXTI_ClearITPendingBit(EXTI_Line5); } else if (EXTI_GetITStatus(EXTI_Line6)!= RESET) { EXTI_ClearITPendingBit(EXTI_Line6); } } Copyright 2011 (c), Alan Xiao 14

15 Power Modes Run Normal operation. Sleep Core stopped. Peripherals kept running Stop all clocks are stopped Standby all powered off except backup domain (backup registers and RTC). Copyright 2011 (c), Alan Xiao 15

16 Power Saving Modes Copyright 2011 (c), Alan Xiao 16

17 Power Saving Modes Power consumption in different power modes (very rough numbers): Normal (run): from a few ma to 50 ma (depending largely on the peripherals and clock speed) Sleep: from a few ma to 30mA Stop: uA Standby: a few ua Backup domain and RTC (on VBAT pin): 2uA. A good power-saving strategy is to put the MCU in stop/standby mode and wake it up periodically using RTC or external trigger. Copyright 2011 (c), Alan Xiao 17

18 Power Saving Modes Use the following Library calls to enter different power modes: PWR_EnterSTOPMode(PWR_Regulator_LowPow er, PWR_STOPEntry_WFE); PWR_EnterSTANDBYMode(); Stop mode: external interrupt can wake it up. Standby mode: only the wakeup pin (and reset) can wake it up. See code example. Copyright 2011 (c), Alan Xiao 18

19 Real-time Clock (RTC) Backup domain: RTC and 42 backup registers. Their power is provided by a dedicated pin (VBAT) which is usually connected to a battery (not in the Discovery board though). The backup domain is not affected by system reset (i.e., the RTC keeps running even during reset. The backup register values also survive resets). The RTC is driven by a dedicate clock, either internally or more often, an external K crystal. After reset, the access to the backup domain is prohibited until it is explicitly enabled, to prevent accidental writing. RTC can generate second interrupts or alarm interrupts. Copyright 2011 (c), Alan Xiao 19

20 What s Next Basics (with the Discovery board): 1. General Input/Output (GPIO) 2. USART (serial) 3. SysTick 4. Unique ID 5. EXTI - External Interrupt 6. Real-time Clock/Calendar 7. Timer/PWM 8. Watchdogs (independent/window) 9. CRC (Cyclic Redundancy Check) 10. PVD (Programmable Voltage Detector) 11. Sleep/Stop/Standby Modes Advanced (with the STM3210C or similar board): 1. I2C/EEPROM 2. ADC 3. RS LCD display/touch Screen 5. SPI and Sensors 6. I2S Audio 7. Wireless (with external 315M and 2.4G modules) 8. USB Mouse and Keyboard 9. USB DFU (device firmware upgrade) 10. USB HID 11. USB Virtual COM Port 12. USB PCM Audio 13. Ethernet Telnet 14. Ethernet HTTP (i.e., control hardware via a web browser!) 15. Ethernet TFTP 16. USB Host 17. Running an OS on Cortex-M3 Copyright 2011 (c), Alan Xiao 20

Introduction to Embedded Programming with ARM Cortex-M3

Introduction to Embedded Programming with ARM Cortex-M3 Introduction to Embedded Programming with ARM Cortex-M3 Alan Xiao, Ph.D Handheld Scientific, Inc. qiwei@handheldsci.com Why ARM ARM is a 32-bit RISC instruction set architecture developed by ARM Holdings.

More information

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software! Summer Training 2016 Advance Embedded Systems Fast track of AVR and detailed working on STM32 ARM Processor with RTOS- Real Time Operating Systems Covering 1. Hands on Topics and Sessions Covered in Summer

More information

STM32 Cortex-M3 STM32F STM32L STM32W

STM32 Cortex-M3 STM32F STM32L STM32W STM32 Cortex-M3 STM32F STM32L STM32W 01 01 STM32 Cortex-M3 introduction to family 1/2 STM32F combine high performance with first-class peripherals and lowpower, low-voltage operation. They offer the maximum

More information

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be

Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be covered in this presentation. 1 Please note that this

More information

[MG2420] MCU Module Datasheet. (No. ADS0705) V1.0

[MG2420] MCU Module Datasheet. (No. ADS0705) V1.0 [MG2420] MCU Module Datasheet (No. ADS0705) V1.0 REVISION HISTORY Version Date Description VER.1.0 2013.10.22 First version release. V1.0 Page:2/17 CONTENTS 1. INTRODUCTION... 4 1.1. DEFINITIONS... 4 2.

More information

STM32L4 System operating modes

STM32L4 System operating modes STM32L4 System operating modes Typical application profile 2 Tperiod Tperiod I DD Process IRQ ACTIVE IRQ ACTIVE OFF STARTUP INITIALIZATION TASKS Tasks TASKS INACTIVE INACTIVE INACTIVE Application phases:

More information

AN2585 Application note

AN2585 Application note AN2585 Application note Application examples of the STM32F101xx and STM32F103xx core and system peripherals Introduction The STM32F10xxx is built around the latest Cortex -M3 core from ARM designed for

More information

Hello, and welcome to this presentation of the STM32F7 System Configuration Controller.

Hello, and welcome to this presentation of the STM32F7 System Configuration Controller. Hello, and welcome to this presentation of the STM32F7 System Configuration Controller. 1 STM32F7 microcontrollers feature a set of configuration registers. The System Configuration Controller gives access

More information

AK-STM32-ETH Development Board

AK-STM32-ETH Development Board AK-STM32-ETH Development Board Reference manual Copyright 2011 Artekit Italy All rights reserved Contents About this document... 3 Revision history... 3 Contact information... 3 Life support policy...

More information

STM8L and STM32 L1 series. Ultra-low-power platform

STM8L and STM32 L1 series. Ultra-low-power platform STM8L and STM32 L1 series Ultra-low-power platform 8-bit and 32-bit MCU families 2 Flash (bytes) 2 M 1 M 128 K 16 K 8-bit Core STM8S Mainstream STM8A F and STM8AL Automotive STM8L Ultra-low-power 32-bit

More information

Hello, and welcome to this presentation of the STM32 Reset and Clock Controller.

Hello, and welcome to this presentation of the STM32 Reset and Clock Controller. Hello, and welcome to this presentation of the STM32 Reset and Clock Controller. 1 The RCC controller integrated inside STM32 products manages system and peripheral clocks. STM32F7 devices embed two internal

More information

BLE MODULE SPECIFICATIONS

BLE MODULE SPECIFICATIONS WIRELESS-TAG BLE MODULE SPECIFICATIONS nrf51-01/02/dk Bluetooth Low Energy (BLE) module of nrf51-01/02 is the next generation BLE module released by SEMITRION electronics. The modules use nrf51822 from

More information

AN2606 Application note

AN2606 Application note Application note STM32 microcontroller system memory boot mode Introduction The bootloader is stored in the internal boot ROM memory (system memory) of STM32 devices. It is programmed by ST during production.

More information

AN5123 Application note

AN5123 Application note Application note STSPIN32F0A - bootloader and USART protocol Introduction Cristiana Scaramel The STSPIN32F0A is a system-in-package providing an integrated solution suitable for driving three-phase BLDC

More information

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05 Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop Version 1.05 Agenda Introduction to ARM Cortex Cortex -M4F M4F and Peripherals Code Composer Studio Introduction to StellarisWare, I iti

More information

Designing with STM32F2x & STM32F4

Designing with STM32F2x & STM32F4 Designing with STM32F2x & STM32F4 Course Description Designing with STM32F2x & STM32F4 is a 3 days ST official course. The course provides all necessary theoretical and practical know-how for start developing

More information

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso Microcontroller It is essentially a small computer on a chip Like any computer, it has memory,

More information

STM32F4 Labs. T.O.M.A.S Technically Oriented Microcontroller Application Services V1.07

STM32F4 Labs. T.O.M.A.S Technically Oriented Microcontroller Application Services V1.07 STM32F4 Labs T.O.M.A.S Technically Oriented Microcontroller Application Services V1.07 CONTENT 1/3 2 1. GPIO lab 2. EXTI lab 3. SLEEP lab 4. STOP lab 5. STANDBY lab 6. DMA Poll lab 7. DMA Interrupt lab

More information

AT-501 Cortex-A5 System On Module Product Brief

AT-501 Cortex-A5 System On Module Product Brief AT-501 Cortex-A5 System On Module Product Brief 1. Scope The following document provides a brief description of the AT-501 System on Module (SOM) its features and ordering options. For more details please

More information

Product Technical Brief S3C2412 Rev 2.2, Apr. 2006

Product Technical Brief S3C2412 Rev 2.2, Apr. 2006 Product Technical Brief S3C2412 Rev 2.2, Apr. 2006 Overview SAMSUNG's S3C2412 is a Derivative product of S3C2410A. S3C2412 is designed to provide hand-held devices and general applications with cost-effective,

More information

2-Oct-13. the world s most energy friendly microcontrollers and radios

2-Oct-13.  the world s most energy friendly microcontrollers and radios 1 2 3 EFM32 4 5 LESENSE Low Energy Sensor Interface Autonomous sensing in Deep Sleep LESENSE with central control logic ACMP for sensor input DAC for reference generation Measure up to 16 sensors Inductive

More information

Arduino Uno R3 INTRODUCTION

Arduino Uno R3 INTRODUCTION Arduino Uno R3 INTRODUCTION Arduino is used for building different types of electronic circuits easily using of both a physical programmable circuit board usually microcontroller and piece of code running

More information

AN4749 Application note

AN4749 Application note Application note Managing low-power consumption on STM32F7 Series microcontrollers Introduction The STM32F7 Series microcontrollers embed a smart architecture taking advantage of the ST s ART- accelerator

More information

AN4515 Application note

AN4515 Application note Application note Using Batch Acquisition Mode (BAM) to maximize power efficiency on STM32F410/411/412 microcontroller lines Introduction The STM32F410, STM32F411 and STM32F412 lines are part of the STM32

More information

Microcontroller. BV523 32bit Microcontroller. Product specification. Jun 2011 V0.a. ByVac Page 1 of 8

Microcontroller. BV523 32bit Microcontroller. Product specification. Jun 2011 V0.a. ByVac Page 1 of 8 32bit Product specification Jun 2011 V0.a ByVac Page 1 of 8 Contents 1. Introduction...3 2. Features...3 3. Physical Specification...3 3.1. PIC32...3 3.2. USB Interface...3 3.3. Power Supply...4 3.4. Power

More information

Introducing STM32 L0x Series. April

Introducing STM32 L0x Series. April Introducing STM32 L0x Series April 2014 www.emcu.it 20- to 80pins 20- to 100pins 48- to 144pins Memory size (Bytes) ST s Ultra-low-power Continuum (1/2) 2 512K 256K 192K STM32L0 Cortex TM -M0+ STM32L1

More information

STM32G0 MCU Series Efficiency at its Best

STM32G0 MCU Series Efficiency at its Best STM32G0 MCU Series Efficiency at its Best Key Messages of STM32G0 Series 2 2 3 Efficient Arm Cortex -M0+ at 64 MHz Compact cost: maximum I/Os count Best RAM/Flash Ratio Smallest possible package down to

More information

Product Specification

Product Specification Product Specification Features Amp ed RF, Inc. Description 15mm x 27mm The added class 1 power, +18dBm, of the BT-11, gives this module one of the best ranges in the industry. It s completely pin compatible

More information

BT-22 Product Specification

BT-22 Product Specification BT-22 Product Specification Features Amp ed RF, Inc. Description 10.4 mm x 13.5 mm Our micro-sized Bluetooth module is the smallest form factor available providing a complete RF platform. The BT-22 is

More information

XNUCLEO-F030R8, Improved STM32 NUCLEO Board

XNUCLEO-F030R8, Improved STM32 NUCLEO Board XNUCLEO-F030R8, Improved STM32 NUCLEO Board STM32 Development Board, Supports Arduino, Compatible with NUCLEO-F030R8 XNUCLEO-F030R8 Features Compatible with NUCLEO-F030R8, onboard Cortex-M0 microcontroller

More information

Cookie User Manual. For NuMicro Edition 1.0. Rev. 1.0 Release: forum.coocox.org.

Cookie User Manual. For NuMicro Edition 1.0. Rev. 1.0 Release: forum.coocox.org. Cookie User Manual For NuMicro Edition 1.0 Rev. 1.0 Release: 2012-08-09 Website: Forum: Techinal: Market: www.coocox.org forum.coocox.org master@coocox.com market@coocox.com 1 Introduction Cookie is an

More information

STM32SnippetsL0. STM32L0xx Snippets firmware package. Features. Description

STM32SnippetsL0. STM32L0xx Snippets firmware package. Features. Description STM32L0xx Snippets firmware package Data brief Features Complete free C source code firmware examples for STM32L0xx microcontrollers Basic examples using direct-access registers as defined in CMSIS Cortex

More information

FiO Lite Datasheet FEATURES SAMPLE APPLICATIONS. FiO Lite

FiO Lite Datasheet FEATURES SAMPLE APPLICATIONS. FiO Lite FiO Lite Datasheet FEATURES Built-in RapidSTM native-support bootloader. ARM -bits Cortex TM M Processor (STMF0R) - 0MIPS maximum speed - 0 KBytes SRAM - 5 GPIO - channels -bit, µs ADC - USART, SPI, I

More information

ARDUINO YÚN MINI Code: A000108

ARDUINO YÚN MINI Code: A000108 ARDUINO YÚN MINI Code: A000108 The Arduino Yún Mini is a compact version of the Arduino YUN OVERVIEW: Arduino Yún Mini is a breadboard PCB developed with ATmega 32u4 MCU and QCA MIPS 24K SoC CPU operating

More information

STM32 F0 Value Line. Entry-level MCUs

STM32 F0 Value Line. Entry-level MCUs STM32 F0 Value Line Entry-level MCUs Key Messages 2 STM32 F0: Is the Cortex -M0 core generated with ST s STM32 DNA, for cost sensitive designs. The STM32 F0 is benefiting of STM32 DNA, providing the essential

More information

AM18X5. 1. Introduction. 2. System Power Control Applications. Application Note. AM18X5 Family System Power Management

AM18X5. 1. Introduction. 2. System Power Control Applications. Application Note. AM18X5 Family System Power Management Application Note Family System Power Management 1. Introduction In addition to fundamentally low power RTC operation, the Ambiq includes the capability to effectively manage the power of other devices

More information

8. Power Management and Sleep Modes

8. Power Management and Sleep Modes 8. Power Management and Sleep Modes 8.1 Features Power management for adjusting power consumption and functions Five sleep modes Idle Power down Power save Standby Extended standby Power reduction register

More information

AN4311 Application note

AN4311 Application note Application note Assessing STM32L1 Series current consumption Introduction The STMicroelectronics ARM Cortex -M3 based STM32L1 series uses ST s proprietary ultra-low-leakage process technology with an

More information

Product Technical Brief S3C2413 Rev 2.2, Apr. 2006

Product Technical Brief S3C2413 Rev 2.2, Apr. 2006 Product Technical Brief Rev 2.2, Apr. 2006 Overview SAMSUNG's is a Derivative product of S3C2410A. is designed to provide hand-held devices and general applications with cost-effective, low-power, and

More information

STG - STM32 + FreeRTOS + LwIP/EmWin

STG - STM32 + FreeRTOS + LwIP/EmWin Formation STM32 + FreeRTOS + LwIP/EmWin: This course covers the STM32 ARM-based MCU family, the FreeRTOS Real Time OS, the LWIP TCP/IP Stack and/or the EmWin GUI Stack - Processeurs ARM: ST processors

More information

The course provides all necessary theoretical and practical know-how for start developing platforms based on STM32L4 family.

The course provides all necessary theoretical and practical know-how for start developing platforms based on STM32L4 family. Designing with STM32L4 Family Course Description Designing with STM32L4 is a 3 days ST official course. The course provides all necessary theoretical and practical know-how for start developing platforms

More information

New STM32WB Series MCU with Built-in BLE 5 and IEEE

New STM32WB Series MCU with Built-in BLE 5 and IEEE New STM32WB Series MCU with Built-in BLE 5 and IEEE 802.15.4 Make the Choice of STM32WB Series The 7 keys points to make the difference 2 Open 2.4 GHz radio Multi-protocol Dual-core / Full control Ultra-low-power

More information

RN-171-EK Evaluation Board

RN-171-EK Evaluation Board RN -17 1-E K-DS RN-171-EK Evaluation Board Features Ultra-low power: 4-uA sleep, 40-mA Rx, 180-mA Tx at 10 dbm Configurable transmit power: 0 to +12 dbm UART hardware interfaces and SPI slave Up to 1 Mbps

More information

Unlocking the Potential of Your Microcontroller

Unlocking the Potential of Your Microcontroller Unlocking the Potential of Your Microcontroller Ethan Wu Storming Robots, Branchburg NJ, USA Abstract. Many useful hardware features of advanced microcontrollers are often not utilized to their fullest

More information

Product Technical Brief S3C2440X Series Rev 2.0, Oct. 2003

Product Technical Brief S3C2440X Series Rev 2.0, Oct. 2003 Product Technical Brief S3C2440X Series Rev 2.0, Oct. 2003 S3C2440X is a derivative product of Samsung s S3C24XXX family of microprocessors for mobile communication market. The S3C2440X s main enhancement

More information

Exceptions and Interrupts ARM Cortex M3

Exceptions and Interrupts ARM Cortex M3 Exceptions and Interrupts ARM Cortex M3 ผศ.ดร. ส ร นทร ก ตต ธรก ล และ อ.สรย ทธ กลมกล อม 1 Introduction! Exception are events! They occur during the execution of the program! ARM exceptions! Exceptions

More information

Wireless Sensor Networks. FireFly 2.2 Datasheet

Wireless Sensor Networks. FireFly 2.2 Datasheet 2.2 Datasheet July 6, 2010 This page intentionally left blank. Contents 1. INTRODUCTION...1 Features...1 Applications...2 2. BLOCK DIAGRAM...3 3. HARDWARE CONNECTIONS...4 Power...5 Header 1 ( UARTS, I2C,

More information

ARDUINO M0 PRO Code: A000111

ARDUINO M0 PRO Code: A000111 ARDUINO M0 PRO Code: A000111 The Arduino M0 Pro is an Arduino M0 with a step by step debugger With the new Arduino M0 Pro board, the more creative individual will have the potential to create one s most

More information

Introduction to ARM LPC2148 Microcontroller

Introduction to ARM LPC2148 Microcontroller Introduction to ARM LPC2148 Microcontroller Dr.R.Sundaramurthy Department of EIE Pondicherry Engineering College Features of LPC2148 in a Nut Shell CPU = ARM 7 Core Word Length = 32 Bit ROM = 512 KB RAM

More information

ARDUINO MEGA INTRODUCTION

ARDUINO MEGA INTRODUCTION ARDUINO MEGA INTRODUCTION The Arduino MEGA 2560 is designed for projects that require more I/O llines, more sketch memory and more RAM. With 54 digital I/O pins, 16 analog inputs so it is suitable for

More information

Building Interactive Devices and Objects. Prof. Dr. Michael Rohs, Dipl.-Inform. Sven Kratz MHCI Lab, LMU München

Building Interactive Devices and Objects. Prof. Dr. Michael Rohs, Dipl.-Inform. Sven Kratz MHCI Lab, LMU München Building Interactive Devices and Objects Prof. Dr. Michael Rohs, Dipl.-Inform. Sven Kratz michael.rohs@ifi.lmu.de MHCI Lab, LMU München Schedule # Date Topic Group Ac0vity 1 19.4.2012 Session 1: Introduc5on

More information

Realtek Ameba-1 Power Modes

Realtek Ameba-1 Power Modes Realtek Ameba-1 Power Modes Table of Contents 1 Power State... 3 1.1 Deep Sleep Mode... 3 1.2 Deep Standby Mode... 4 1.3 Sleep Mode... 4 1.3.1 Wakeup from sleep mode by UART... 4 1.3.1.1 Solution A, select

More information

Release Notes for ADuCM302x EZ-KIT Lite Board Support Package 1.0.3

Release Notes for ADuCM302x EZ-KIT Lite Board Support Package 1.0.3 Release Notes for ADuCM302x EZ-KIT Lite Board Support Package 1.0.3 2016 Analog Devices, Inc. http://www.analog.com processor.tools.support@analog.com Contents 1 ADuCM302x EZ-KIT Lite Board Support Package

More information

STM32 MICROCONTROLLER

STM32 MICROCONTROLLER STM32 MICROCONTROLLER Lecture 4 Prof. Yasser Mostafa Kadah Nested Vectored Interrupt Controller The NVIC supports up to 56 maskable interrupt channels with 16 programmable priority levels Not including

More information

Wireless-Tag WT51822-S1

Wireless-Tag WT51822-S1 Wireless-Tag WT51822-S1 Bluetooth Low Energy 4.1 Module DATASHEET Description Bluetooth Low Energy (BLE) module of WT51822-S1 is the next generation BLE4.1(Compatible With BLE4.0) module released by Wireless-Tag

More information

AN4696 Application note

AN4696 Application note Application note SPWF01Sx power management options Introduction The purpose of this application note is to describe the power management options available on the SPWF01Sx Wi-Fi module [1]. It introduces

More information

STM32F7 series ARM Cortex -M7 powered Releasing your creativity

STM32F7 series ARM Cortex -M7 powered Releasing your creativity STM32F7 series ARM Cortex -M7 powered Releasing your creativity STM32 high performance Very high performance 32-bit MCU with DSP and FPU The STM32F7 with its ARM Cortex -M7 core is the smartest MCU and

More information

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM FRDM-KL02Z User Manual Rev. 0 Freescale Semiconductor Inc. FRDMKL02ZUM 1. Overview The Freescale Freedom development platform is an evaluation and development tool ideal for rapid prototyping of microcontroller-based

More information

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite. EMBEDDED ARM TRAINING SUITE ARM SUITE INCLUDES ARM 7 TRAINER KIT COMPILER AND DEBUGGER THROUGH JTAG INTERFACE PROJECT DEVELOPMENT SOLUTION FOR ARM 7 e-linux LAB FOR ARM 9 TRAINING PROGRAM INTRODUCTION

More information

STM bit ARM Cortex MCUs STM32F030 Series

STM bit ARM Cortex MCUs STM32F030 Series STM32 32-bit ARM Cortex MCUs STM32F030 Series ST has licensed Cortex-M processors 2 Forget traditional 8/16/32-bit classifications and get Seamless architecture across all applications Every product optimized

More information

Product Brief. Model: TLM922S-P01A. Ver.1.0

Product Brief. Model: TLM922S-P01A. Ver.1.0 Product Brief Model: TLM922S-P01A Ver.1.0 1 Index 1. Overview... 3 2. Product Features... 3 3. Application... 4 4. Product Specifications... 4 5. PIN Definition... 6 6. PCB Dimension... 7 7. Pin Configuration...

More information

Interconnects, Memory, GPIO

Interconnects, Memory, GPIO Interconnects, Memory, GPIO Dr. Francesco Conti f.conti@unibo.it Slide contributions adapted from STMicroelectronics and from Dr. Michele Magno, others Processor vs. MCU Pipeline Harvard architecture Separate

More information

AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee.

AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee. AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee. Introduction ZigBee is one of the Advanced Wireless Technology and CC2430 is the first single-chip

More information

STM32H7x3I-EVAL. Evaluation board with STM32H7x3XI MCUs. Data brief. Features

STM32H7x3I-EVAL. Evaluation board with STM32H7x3XI MCUs. Data brief. Features Data brief Evaluation board with STM32H7x3XI MCUs Features top view. Picture is not contractual. 2 top view. Picture is not contractual. Product status STM32H743I-EVAL STM32H753I-EVAL STM32H743XIH6U and

More information

CN310 Microprocessor Systems Design

CN310 Microprocessor Systems Design CN310 Microprocessor Systems Design Microcontroller Nawin Somyat Department of Electrical and Computer Engineering Thammasat University Outline Course Contents 1 Introduction 2 Simple Computer 3 Microprocessor

More information

Typical Applications: GHz Bluetooth low energy systems - Proprietary 2.4 GHz systems - Sports and leisure equipment - Mobile phone accessories,

Typical Applications: GHz Bluetooth low energy systems - Proprietary 2.4 GHz systems - Sports and leisure equipment - Mobile phone accessories, PTR5618 Coin-size Ultra Low Power Bluetooth Low Energy System on Module Embedded Cortex M4F 32 bit processor The PTR5618 ultra-low power Bluetooth Low Energy/ANT/2.4GHz Proprietary Multi-protocol modules

More information

Product Specification

Product Specification Product Specification 15mm x 27mm Description One of the most capable Bluetooth modules available, the BT-21 Bluetooth OEM Module is designed for maximum flexibility. The BT-21 module includes 14 general

More information

Hello and welcome to this Renesas Interactive module that covers the Independent watchdog timer found on RX MCUs.

Hello and welcome to this Renesas Interactive module that covers the Independent watchdog timer found on RX MCUs. Hello and welcome to this Renesas Interactive module that covers the Independent watchdog timer found on RX MCUs. 1 This course covers specific features of the independent watchdog timer on RX MCUs. If

More information

nblue TM BR-MUSB-LE4.0-S2A (CC2540)

nblue TM BR-MUSB-LE4.0-S2A (CC2540) Page 1 of 5 Copyright 2002-2014 BlueRadios, Inc. Bluetooth 4.0 Low Energy Single Mode Class 1 SoC USB Serial Dongle nblue TM BR-MUSB-LE4.0-S2A (CC2540) AT HOME. AT WORK. ON THE ROAD. USING BLUETOOTH LOW

More information

User Manual. cmt-svr Startup Guide

User Manual. cmt-svr Startup Guide User Manual cmt-svr Startup Guide Table of Contents Chapter 1 Overview... 1 1.1 Specification... 1 1.2 Dimensions... 2 1.3 Connector pin designations... 3 1.4 USB host port and SD card slot... 3 1.5 Ethernet

More information

Ultra Low Power Microcontroller - Design Criteria - June 2017

Ultra Low Power Microcontroller - Design Criteria - June 2017 Ultra Low Power Microcontroller - Design Criteria - June 2017 Agenda 1. Low power technology features 2. Intelligent Clock Generator 3. Short wake-up times 4. Intelligent memory access 5. Use case scenario

More information

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction. AVR XMEGA TM Product Introduction 32-bit AVR UC3 AVR Flash Microcontrollers The highest performance AVR in the world 8/16-bit AVR XMEGA Peripheral Performance 8-bit megaavr The world s most successful

More information

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang, Network Embedded Systems Sensor Networks Fall 2013 Hardware Marcus Chang, mchang@cs.jhu.edu 1 Embedded Systems Designed to do one or a few dedicated and/or specific functions Embedded as part of a complete

More information

New STM32WB Series MCU with built-in Bluetooth 5 and IEEE

New STM32WB Series MCU with built-in Bluetooth 5 and IEEE New STM32WB Series MCU with built-in Bluetooth 5 and IEEE 802.15.4 Make the Choice of STM32WB Series The 7 keys points to make the difference 2 Open 2.4 GHz radio Multi-protocol Dual-core / Full control

More information

XMEGA Series Of AVR Processor. Presented by: Manisha Biyani ( ) Shashank Bolia (

XMEGA Series Of AVR Processor. Presented by: Manisha Biyani ( ) Shashank Bolia ( XMEGA Series Of AVR Processor Presented by: Manisha Biyani (200601217) Shashank Bolia (200601200 Existing Microcontrollers Problems with 8/16 bit microcontrollers: Old and inefficient architecture. Most

More information

Kinetis K70 System-On-Module (SOM) Baseboard Hardware Architecture

Kinetis K70 System-On-Module (SOM) Baseboard Hardware Architecture Kinetis K70 System-On-Module (SOM) Baseboard Version 1.0 Table of Contents 1. OVERVIEW...3 2. REFERENCES...3 3. HARDWARE PLATFORM...3 3.1. OVERVIEW...3 3.2. FUNCTIONAL BLOCK DIAGRAM...4 3.3. SOM CONNECTORS...4

More information

MICROPROCESSOR BASED SYSTEM DESIGN

MICROPROCESSOR BASED SYSTEM DESIGN MICROPROCESSOR BASED SYSTEM DESIGN Lecture 5 Xmega 128 B1: Architecture MUHAMMAD AMIR YOUSAF VON NEUMAN ARCHITECTURE CPU Memory Execution unit ALU Registers Both data and instructions at the same system

More information

BLE121LR Bluetooth Smart Long Range Module 5/12/2014 1

BLE121LR Bluetooth Smart Long Range Module 5/12/2014 1 BLE121LR Bluetooth Smart Long Range Module 5/12/2014 1 Table of Contents Key Features Benefits BLE121LR Overview Bluetooth Smart Software Certifications Development Tools Use Cases 5/12/2014 2 Key Features

More information

AVR Microcontrollers Architecture

AVR Microcontrollers Architecture ก ก There are two fundamental architectures to access memory 1. Von Neumann Architecture 2. Harvard Architecture 2 1 Harvard Architecture The term originated from the Harvard Mark 1 relay-based computer,

More information

ARDUINO INDUSTRIAL 1 01 Code: A000126

ARDUINO INDUSTRIAL 1 01 Code: A000126 ARDUINO INDUSTRIAL 1 01 Code: A000126 The Industrial 101 is a small form-factor YUN designed for product integration. OVERVIEW: Arduino Industrial 101 is an Evaluation board for Arduino 101 LGA module.

More information

ARDUINO LEONARDO ETH Code: A000022

ARDUINO LEONARDO ETH Code: A000022 ARDUINO LEONARDO ETH Code: A000022 All the fun of a Leonardo, plus an Ethernet port to extend your project to the IoT world. You can control sensors and actuators via the internet as a client or server.

More information

FRDM-KE02Z User s Manual

FRDM-KE02Z User s Manual Freescale Semiconductor Document Number: FRDMKE02ZUM User s Manual Rev. 0, 07/2013 FRDM-KE02Z User s Manual 1 Overview The Freescale Freedom Development Platform is an evaluation and development tool ideal

More information

Remote Keyless Entry In a Body Controller Unit Application

Remote Keyless Entry In a Body Controller Unit Application 38 Petr Cholasta Remote Keyless Entry In a Body Controller Unit Application Many of us know this situation. When we leave the car, with a single click of a remote control we lock and secure it until we

More information

User Manual For CP-JR ARM7 USB-LPC2148 / EXP

User Manual For CP-JR ARM7 USB-LPC2148 / EXP CP-JR ARM7 USB-LPC2148 / EXP 38 CR-JR ARM7 USB-LPC2148 which is a Board Microcontroller ARM7TDMI-S Core uses Microcontroller 16/32-Bit 64 Pin as Low Power type to be a permanent MCU on board and uses MCU

More information

STM32F429 Overview. Steve Miller STMicroelectronics, MMS Applications Team October 26 th 2015

STM32F429 Overview. Steve Miller STMicroelectronics, MMS Applications Team October 26 th 2015 STM32F429 Overview Steve Miller STMicroelectronics, MMS Applications Team October 26 th 2015 Today - STM32 portfolio positioning 2 More than 30 product lines High-performance 398 CoreMark 120 MHz 150 DMIPS

More information

Release Notes for ADuCM302x EZ-KIT Lite Board Support Package 1.0.2

Release Notes for ADuCM302x EZ-KIT Lite Board Support Package 1.0.2 Release Notes for ADuCM302x EZ-KIT Lite Board Support Package 1.0.2 2016 Analog Devices, Inc. http://www.analog.com processor.tools.support@analog.com Contents 1 ADuCM302x EZ-KIT Lite Board Support Package

More information

Hands on Experience with AVR32

Hands on Experience with AVR32 Hands on Experience with AVR32 By: Mazhar Hussain mazhar.hussain @miun.se Muhammad Amir Yousaf 1 Tutorial Overview Introduction to AT32UC3A0512 (µ-controller) µ-controller Sensors Display Peripherals AVR

More information

STM32L4R9I-EVAL. Evaluation board with STM32L4R9AI MCU. Features

STM32L4R9I-EVAL. Evaluation board with STM32L4R9AI MCU. Features Evaluation board with STM32L4R9AI MCU Data brief Features STM32L4R9AII6 microcontroller with 2-Mbytes of Flash memory and 640-Kbytes of RAM in a UFBGA169 package 1.2 390x390 pixel MIPI DSI round LCD 4.3

More information

Advanced Embedded Systems

Advanced Embedded Systems Advanced Embedded Systems Practical & Professional Training on Advanced Embedded System Course Objectives : 1. To provide professional and industrial standard training which will help the students to get

More information

Freescale Semiconductor Inc. Microcontroller Solutions Group. FRDM-KL46Z User s Manual FRDM-KL46Z-UM Rev. 1.0

Freescale Semiconductor Inc. Microcontroller Solutions Group. FRDM-KL46Z User s Manual FRDM-KL46Z-UM Rev. 1.0 Freescale Semiconductor Inc. Microcontroller Solutions Group FRDM-KL46Z User s Manual FRDM-KL46Z-UM Rev. 1.0 Table of Contents 1 FRDM-KL46Z Overview... 3 2 References documents... 3 3 Getting started...

More information

Machine TV Interface. mtv-100. Memory Processor. I/O Port RTC. Power. Specification. Certificate Software

Machine TV Interface. mtv-100. Memory Processor. I/O Port RTC. Power. Specification. Certificate Software Machine TV Interface Features HD 720p High Resolution HDMI Output One Gigabit Ethernet Port Compact Design and DIN-rail Mountable Built-in 256MB Flash Memory SD Card Slot for Extension of Storage One USB

More information

Let s first take a look at power consumption and its relationship to voltage and frequency. The equation for power consumption of the MCU as it

Let s first take a look at power consumption and its relationship to voltage and frequency. The equation for power consumption of the MCU as it 1 The C8051F91x/0x product family is designed to dramatically increase battery lifetime which is the number one requirement for most battery powered applications. The C8051F91x has the industry s lowest

More information

Xynergy It really makes the difference!

Xynergy It really makes the difference! Xynergy It really makes the difference! STM32F217 meets XILINX Spartan-6 Why Xynergy? Very easy: There is a clear Synergy achieved by combining the last generation of the most popular ARM Cortex-M3 implementation

More information

ARDUINO UNO REV3 Code: A000066

ARDUINO UNO REV3 Code: A000066 ARDUINO UNO REV3 Code: A000066 The UNO is the best board to get started with electronics and coding. If this is your first experience tinkering with the platform, the UNO is the most robust board you can

More information

ARDUINO YÚN Code: A000008

ARDUINO YÚN Code: A000008 ARDUINO YÚN Code: A000008 Arduino YÚN is the perfect board to use when designing connected devices and, more in general, Internet of Things projects. It combines the power of Linux with the ease of use

More information

JetBox 9300/9310 User Manual. Hardware

JetBox 9300/9310 User Manual. Hardware JetBox 9300/9310 User Manual Hardware www.korenix.com 0.0.6 Copyright Notice Copyright 2008 Korenix Technology Co., Ltd. All rights reserved. Reproduction without permission is prohibited. Information

More information

ARM Cortex core microcontrollers 12 th Energy efficient operation

ARM Cortex core microcontrollers 12 th Energy efficient operation ARM Cortex core microcontrollers 12 th Energy efficient operation Balázs Scherer Budapest University of Technology and Economics Department of Measurement and Information Systems BME-MIT 2017 The importance

More information

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar Clock and Fuses Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar Reference WHY YOU NEED A CLOCK SOURCE - COLIN O FLYNN avrfreaks.net http://en.wikibooks.org/wiki/atmel_avr

More information

STM32L4+ MCU series Excellence in ultra-low-power with more performance

STM32L4+ MCU series Excellence in ultra-low-power with more performance STM32L4+ MCU series Excellence in ultra-low-power with more performance Key messages of STM32 L4+ series 2 + More performance and still ULP leader ST has stretched the STM32L4 architecture to reach 150

More information

Hello, and welcome to this presentation of the STM32 Low Power Universal Asynchronous Receiver/Transmitter interface. It covers the main features of

Hello, and welcome to this presentation of the STM32 Low Power Universal Asynchronous Receiver/Transmitter interface. It covers the main features of Hello, and welcome to this presentation of the STM32 Low Power Universal Asynchronous Receiver/Transmitter interface. It covers the main features of this interface, which is widely used for serial communications.

More information