Muhammad Ali Mazidi, Shujen Chen, Sarmad Naimi, Sepehr Naimi : Freescale ARM Cortex -M Embedded Programming Joseph Yiu : The Definitive Guide to -M0 a
|
|
- Bryce Payne
- 5 years ago
- Views:
Transcription
1 ARM Cortex - p KEIL MDK 5 Hobbielektronika csoport 2016/2017 1
2 Muhammad Ali Mazidi, Shujen Chen, Sarmad Naimi, Sepehr Naimi : Freescale ARM Cortex -M Embedded Programming Joseph Yiu : The Definitive Guide to -M0 and Cortex -M0+ Processors (2nd Ed.) ARM University Program: Course / Lab Material for Teaching Embedded Systems/MCUs (for the FRDM -KL25Z board ) Trevor Martin: The the Cortex -M Processor Family Freescale : MKL25Z128VLK4 MCU datasheet Freescale : KL25 Sub -Family Reference Manual Freescale : FRDM -KL25Z User Manual Freescale : KLQRUG - Kinetis L Peripheral Module Quick Reference User 's Guide Freescale : AN Power Management for Kinetis MCUs Hobbielektronika csoport 2016/2017 2
3 LPTMR PIT Periodikus MCG WIC Wake -up Interrupt Controller Hobbielektronika csoport 2016/2017 3
4 16 bit es N 16) VLLS0 ) LPTMR 0 _CSR regis z ter : LPTMR 0 _PSR regis z ter : LPTMR 0 _CNR regis z ter : LPTRM 0 _CMR Hobbielektronika csoport 2016/2017 4
5 SIM_SCGC5 Az LPTMR - -be SIM_SCGC5 CMSIS SIM_SCGC5 = SIM_SCGC5_LPTMR_MASK; a hol a SIM_SCGC5_LPTMR_MASK - # define SIM_SCGC5_LPTMR_MASK 0x1u Hobbielektronika csoport 2016/2017 5
6 TCF: Timer Compare Flag 1 -be TIE : Timer Interrupt Enable (0: letiltva, 1: TCF == 1 ) TPS: Timer Pin Select 00: CMP0 kimenet, 01: LPTMR0_ALT1 (PTA19/Alt6), 10: LPTMR0_ALT2 (PTC5/Alt3), ) ) TPP: Timer Pin Polarity (0: 1: TFC: Timer Free Runner 0: 1: TMS: Timer Mode Select 0: 1: TEN: Timer Enable 0: tilt, 1: Hobbielektronika csoport 2016/2017 6
7 PRESCALE: : 2 PRESCALE+1 : 2 PRESCALE PBYP: 0 : 1 : PCS: 00: MCGIRCLK, 01: LPO 1 khz, 10: ERCLK32K, 11: OSCERCLK) KL25 Sub -Family Reference Manual Hobbielektronika csoport 2016/2017 7
8 Az LPTMR0 A CNR LPTMR0. pszeudo LPTMR - >CNR = 0; adat = LPTMR - >CNR ; Ha az LPTMR0 LPTMR0_CNR az LPTMR0_CMR LPTMR0_CSR[TCF] -be Ha LPTMR0_CSR[TFC] = 0, TCF LPTMR0_CNR Hobbielektronika csoport 2016/2017 8
9 LPTMR - rel LPTMR0 Az LPTMR0 az 1 khz -es LPO. PTB19 # include <MKL25Z4.H> # define bit(x) (1<<x) void delayms (uint16_t n); int main ( void ) { SIM - >SCGC5 = SIM_SCGC5_PORTB_MASK; // A GPIOB port } PORTB - PTB - >PDDR = bit(19); // PTB19 legyen kimenet! while (1) { } delayms (1000); // 1000 ms PTB - void delayms (uint16_t n) { // 1 if (n > 0) { LPTMR0 - LPTMR0 - LPTMR0 - >PSR = LPTMR_PSR_PBYP_MASK; // LPTMR0 - >CMR = n; LPTMR0 - while (!(LPTMR0 - >CSR & LPTMR_CSR_TCF_MASK)); // TCF - re LPTMR0 - >CSR = LPTMR_CSR_TCF_MASK; // } } Hobbielektronika csoport 2016/2017 9
10 Az ARM Cortex -M0+ sleep ) deep sleep with WIC ) eep sleep with SRPG support using WIC ) NVIC modul kezeli a WIC modul Hobbielektronika csoport 2016/
11 Kinetis L e Hobbielektronika csoport 2016/
12 Kinetis 1. Run 2. Very Low Power Run (VLPR) max. 4/1 MHz ) 3. Wait A CPU alszik, az NVIC, 4. Very Low Power Wait (VLPW) a CPU alszik, NVIC 5. Stop, NVIC letiltva, WIC letiltva 6. Very Low Power Stop (VLPS), NVIC letiltva, WIC letiltva, SRAM 7. Low Leakage Stop (LLS), NVIC letiltva, LLWU, SRAM 8. Very Low Leakage Stop3 (VLLS3), NVIC letiltva, LLWU, SRAM 9. Very Low Leakage Stop 1 (VLLS1), NVIC letiltva, LLWU, a letiltva, SRAM lekapcsolva, modul letiltva. 10. Very Low Leakage Stop 0 (VLLS0), NVIC letiltva, LLWU, a SRAM A KLQRUG Hobbielektronika csoport 2016/
13 Hobbielektronika csoport 2016/
14 Hobbielektronika csoport 2016/
15 - Hobbielektronika csoport 2016/
16 (Joseph Yiu : The Definitive Guide to -M0 and Cortex -M0+ Processors 19.7 alfejezet) Hobbielektronika csoport 2016/
17 Hobbielektronika csoport 2016/
18 Hobbielektronika csoport 2016/
19 CLOCK_SETUP = 0 MCG CLOCK_SETUP = 2 CLOCK_SETUP = 3 RESET mindig az FEI BLPE Ehhez a FEI FBE BLPE CLOCK_SETUP = 1 SystemInit () Hobbielektronika csoport 2016/
20 LPTMR - rel -t most Very Low -Power Run ( VLPR ) VLPS Low -Power Timer ( LPTMR ) modul -t. A VLPR a CLOCK_SETUP -ra a projekt system _MKL25Z4.h # define CLOCK_SETUP 3 a SytemInit () system _MKL25Z4.c A VLPR SMC - > PMCTRL[RUNM] bitcsoportot 010 -be kell. A VLPS SCB ->SCR SMC -> PMCTRL WFI LPTMR modul VLPS NVIC, hanem a WIC Hobbielektronika csoport 2016/
21 # include <MKL25Z4.H> # define bit(x) (1<<x) Program12_2 A PTB18 LED -et villogtatjuk, k void LPTMR0_ IRQHandler ( void ) { LPTMR0 - >CSR = LPTMR_CSR_TCF_MASK; // A TCF } int main ( void ) { int c; SIM - SIM - >SCGC5 = SIM_SCGC5_PORTB_MASK; // A GPIOB port PORTB - >PCR[18] = PORT_PCR_MUX(1); // PTB18 PTB - >PSOR = bit(18); // kikapcsoljuk a piros LED - et PTB - >PDDR = bit(18); // PTB18 legyen kimenet! wait _ ms (2000); // 2000 ms // --- Az SMC - >PMROT regiszter Reset // SMC - >PMPROT = SMC_PMPROT_AVLP_MASK; // VLPR/VLPS SMC_PMCTRL &= ~SMC_PMCTRL_RUNM_MASK; SMC - >PMCTRL = SMC_PMCTRL_RUNM(2); // Very - Low - Power - Run while ((SMC - >PMSTAT & 0x7F)!=0x04); // VLPR wakeup _ setms ms enable _ irq while (1) { PTB - >PCOR = bit(18); // bekapcsoljuk a piros LED - et wait _ ms (100); // 100 ms PTB - >PSOR = bit(18); // kikapcsoljuk a piros LED - et deepsleep VLPS } } Hobbielektronika csoport 2016/
22 Program12_2 void wakeup _ setms (uint16_t delay ) { LPTMR0 - LPTMR0 - LPTMR0 - >PSR = LPTMR_PSR_PBYP_MASK; // LPTMR0 - >CMR = delay ; LPTMR0 - LPTMR0 - NVIC_ EnableIRQ (LPTMR0_ IRQn ); // LPTMR0 } void deepsleep ( void int dummy ; SCB - >SCR = SCB_SCR_SLEEPDEEP_ Msk deepsleep SMC_PMCTRL &= ~SMC_PMCTRL_STOPM_MASK; SMC - >PMCTRL = SMC_PMCTRL_STOPM(2); // Very - Low - Power dummy = SMC - dummy ++; // kiadjuk a WFI parancsot! } void wait _ ms (int n) { int i; SysTick - >CTRL = 0; // SysTick SysTick - >LOAD = ms SysTick - SysTick - interrupt for (i = 0; i < n; i++) { while (( SysTick - >CTRL & 0x10000) == 0); // A COUNT } SysTick - >CTRL = 0; // SysTick } Hobbielektronika csoport 2016/
23 PIT - Periodic Interrupt Timer Az MKL25Z128VLK4 Hobbielektronika csoport 2016/
24 PIT Interrupt Periodic Interrupt Timer TVL PIT interrupt PIT interrupt PIT interrupt PIT interrupt 1000-et a keletkezik, a keletkezik, a keletkezik, a keletkezik, a a TSV-be! at rel, - TSV-be! at at PIT (TSV) PIT_LDVALn 32 -bit (32 -bit) LDVAL Fix MCG Interrupt (TVL) PIT_CVALn Hobbielektronika csoport 2016/
25 PIT regiszterek LTMR64H LTMR64L PIT_MCR MDIS a PIT FRZ Hobbielektronika csoport 2016/
26 : PIT : PIT ->MCR : PIT ->CHANNEL[n].LDVAL, stb. PIT_LDVALn PIT_CVALn PIT_TCTRLn CHN: o : (PIT ->CHANNEL[n].LDVAL ) : (PIT ->CHANNEL[n].CVAL ) : (PIT ->CHANNEL[n].TCTRL ) 0: o 1: timer n n -1 TIE: TEN: PIT_TFLG o o o o 0: 1: 0: 1: n : TIF: o 1: Hobbielektronika csoport 2016/
27 A PIT modul e SIM - >SCGC6 = SIM_SCGC6_PIT_MASK;, PIT0 PIT - >MCR &= ~PIT_MCR_MDIS_MASK; PIT - >MCR = PIT_MCR_FRZ_MASK; // 0: fut, 1: befagyaszt PIT - >CHANNEL[0].LDVAL = PIT_LDVAL_TSV( ); PIT - >CHANNEL[0].TCTRL &= PIT_TCTRL_CHN_MASK; PIT_LDVAL_TSV () Az n. TCTRL[CHN] - az n. az n -1. Hobbielektronika csoport 2016/
28 T LDV AL = -1 kell, mivel (ahol f count a buszfrekvencia) 0 -ig LDV AL regis z ter : ms - LDV AL = ms * 24 MHz - 1 = Hz LDV = (1/91 Hz)*24 MHz - 1 = round ( ) = Hobbielektronika csoport 2016/
29 Ebben a programban a d elayms () csordul alul. - meg: a CPU frekvencia = 48 MHz, a buszfrekvencia = 24 MHz. LED -et Hobbielektronika csoport 2016/
30 # include <MKL25Z4.h > # define bit(x) (1<<x) void delayms (uint32_t n) { uint32_t timeout ; timeout = PIT - >CHANNEL[1].CVAL - while (PIT - >CHANNEL[1].CVAL > timeout } uint32_t bus _ frequency ( void ) { return ( SystemCoreClock /((( SIM - >CLKDIV1 & SIM_CLKDIV1_OUTDIV4_MASK )>>SIM_CLKDIV1_OUTDIV4_SHIFT ) + 1)); } int main ( void ) { // PIT_MCR = 0; // PIT - >CHANNEL[1].LDVAL = 0xFFFFFFFF; PIT - PIT - // PIT - >CHANNEL[0].LDVAL = ( bus _ frequency () + 500)/1000-1; PIT - // SIM - PORTD - PTD - >PDDR = bit(1); // PTD1 kimenet legyen } Program12_3 while (1) { delayms (1000); // 1000 ms PTD - } Hobbielektronika csoport 2016/
MICROPROCESSORS TECHNOLOGY II
AGH University of Science and Technology IEiT Department of Electronics MICROPROCESSORS TECHNOLOGY II Exceptions and Interrupts Paweł Russek http://www.fpga.agh.edu.pl/upt2 15 Nov 2016 1 INTRODUCTION 1.1
More informationKL03 Product Brief Supports all KL03 devices
Freescale Semiconductor Document Number:KL03PB Product Brief Rev 3, 07/2014 KL03 Product Brief Supports all KL03 devices 1 KL03 sub-family introduction The device is highly-integrated, market leading ultra
More informationAGH University of Science and Technology Cracow Department of Electronics
AGH University of Science and Technology Cracow Department of Electronics Microcontroller Lab Tutorial 1 Microcontrollers programming in C Author: Paweł Russek http://www.fpga.agh.edu.pl/ml ver. 3.10.16
More informationDuring this session you will learn about:
October 2013 During this session you will learn about: Kinetis L series portfolio overview Migrating between Kinetis K and L series Low power philosophy Reducing the area under the energy curve The four
More informationKLx7 Product Brief Supports all KLx7 devices
Freescale Semiconductor Document Number:KLX7PB Product Brief Rev 0, 08/2014 KLx7 Product Brief Supports all KLx7 devices 1 KLx7 family introduction The device is highly-integrated, market leading ultra
More informationMicrocomputer Interfacing Lab 3 Interrupts in ARM ANGUS GALLOWAY
Microcomputer Interfacing Lab 3 Interrupts in ARM ANGUS GALLOWAY The Goal: Convert a KSDK project with interrupts into ARM assembly FOR THE ARMASM ASSEMBLER USED BY KEIL Why learn ARM? ARM doesn t build
More informationFRDM-KL03Z User s Guide
Freescale Semiconductor User s Guide Document Number: FRDMKL03ZUG Rev. 0, 7/2014 FRDM-KL03Z User s Guide 1 Overview The Freescale Freedom development platform is an evaluation and development tool ideal
More informationKL04/KL05 Product Brief Supports all KL04 and KL05 devices
Freescale Semiconductor Document Number:KL0xPB Product Brief Rev. 2.1, 10/2012 KL04/KL05 Product Brief Supports all KL04 and KL05 devices 1 Kinetis L Series The Kinetis L series is the most scalable portfolio
More informationEnergy-Efficient Solutions: Kinetis L Series MCUs
Energy-Efficient Solutions: Kinetis L Series MCUs The world s most energy-efficient entry-level MCUs redefine low power standards ABSTRACT The Kinetis MCU portfolio offers exceptional low-power performance
More informationAGH University of Science and Technology Cracow Department of Electronics
AGH University of Science and Technology Cracow Department of Electronics Microcontrollers Lab Tutorial 2 GPIO programming Author: Paweł Russek http://www.fpga.agh.edu.pl/upt2 ver. 26.10.16 1/12 1. Objectives
More informationKinetis L Peripheral Module Quick Reference
Freescale Semiconductor Users Guide KLQRUG Rev. 0, 09/2012 Kinetis L Peripheral Module Quick Reference A Compilation of Demonstration Software for Kinetis L Series Modules This collection of code examples,
More informationKinetis KV4x to KV1x Migration Guide
Freescale Semiconductor, Inc. User s Guide Document Number: KV4XTKV1XMUG Rev. 0, 03/2015 Kinetis KV4x to KV1x Migration Guide by: Philip Drake 1 Purpose and overview This user s guide describes the details
More informationCreate Low-Power Applications with MQX and MQX Lite RTOS
Create Low-Power Applications with MQX and MQX Lite RTOS FTF-SDS-F0462 Shaozhong Liang Field Application Engineer M A Y. 2 0 1 4 TM External Use Hands-on Workshop: Everything You Want to Know About Entering
More informationPower Management for S32K14x
NXP Semiconductors Document Number: AN5425 Application Note Rev 0, 03/2017 Power Management for S32K14x by: NXP Semiconductors 1 Introduction The power consumption of devices and the implications around
More informationECE254 Lab3 Tutorial. Introduction to MCB1700 Hardware Programming. Irene Huang
ECE254 Lab3 Tutorial Introduction to MCB1700 Hardware Programming Irene Huang Lab3 Requirements : API Dynamic Memory Management: void * os_mem_alloc (int size, unsigned char flag) Flag takes two values:
More informationK22F Family Product Brief Supports 120/100MHz devices with 128KB to 512KB Embedded Flash
Freescale Semiconductor Document Number:K22FPB Product Brief Rev 5, 03/2014 K22F Family Product Brief Supports 120/100MHz devices with 128KB to 512KB Embedded Flash 1 K22F Family Introduction The K22F
More informationMask Set Errata for Mask 3N86B
Freescale Semiconductor KINETIS_50MHZ_3N86B Mask Set Errata Rev 08 AUG 2013 Mask Set Errata for Mask 3N86B Introduction This report applies to mask 3N86B for these products: KINETIS_50MHZ Errata ID Errata
More informationUser 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 informationKinetis KL1x General-Purpose Ultra-Low- Power MCUs Up to 256 KB Flash and 32 KB SRAM
Freescale Semiconductor, Inc. Product Brief Document Number: KL1XPB Rev. 1, 04/2015 Kinetis KL1x General-Purpose Ultra-Low- Power MCUs Up to 256 KB Flash and 32 KB SRAM 1. Kinetis L family introduction
More informationSafety Class B with PMSM Sensorless Drive
NXP Semiconductors Document Number: AN5321 Application Note Rev. 0, 08/2016 Safety Class B with PMSM Sensorless Drive 1. Introduction Safety is an obligatory part of many applications. It is controlled
More informationKinetis Peripheral Module Quick Reference A Compilation of Demonstration Software for Kinetis Modules
Freescale Semiconductor Users Guide KQRUG Rev. 0, 11/2010 Kinetis Peripheral Module Quick Reference A Compilation of Demonstration Software for Kinetis Modules This collection of code examples, useful
More informationUsing DMA for Pulse Counting on S32K
Freescale Semiconductor, Inc. Document Number: AN5258 Application Note Rev. 0, 02/2016 Using DMA for Pulse Counting on S32K 1. Introduction This application note describes pulse counting on the S32K product
More informationExperiment 3. Interrupts. Hazem Selmi, Ahmad Khayyat
Experiment 3 Interrupts Hazem Selmi, Ahmad Khayyat Version 162, 24 February 2017 Table of Contents 1. Objectives........................................................................................
More informationUser 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 informationFreescale Healthcare Applications
Freescale Healthcare Applications APF-HCR-T0460 David Chen MCU FAE APR.2014 TM External Use Agenda Portable Healthcare Applications Development Tools and Reference Designs for Available Specifically for
More informationKL14/KL15 Product Brief Supports all KL14 and KL15 devices
Freescale Semiconductor Document Number:KL15PB Product Brief Rev. 2, 6/2012 KL14/KL15 Product Brief Supports all KL14 and KL15 devices 1 Kinetis L Series Te Kinetis L series is te most scalable portfolio
More information2011 Pearson Higher Education, Mazidi, Naimi, and Naimi Pearson Higher Education, 2011 Pearson Higher Education,
Objectives Students should be able to: The AVR microcontroller and embedded systems using assembly and c Introduction to AVR Chapter 1 Compare and contrast microprocessors and microcontrollers Describe
More informationFRDM-KL26Z User s Guide
Freescale Semiconductor User s Guide Doc Number: FRDMKL26ZUG Rev. 0, 10/2013 FRDM-KL26Z User s Guide by Freescale Semiconductor, Inc. 1 Overview The Freescale Freedom development platform is a set of software
More informationKS22/KS20 Microcontroller 120 MHz ARM Cortex -M4, with up to 256 KB Flash
KS22P100M120SF0 Data Sheet: Technical Data Rev. 3, 04/2016 KS22/KS20 Microcontroller 120 MHz ARM Cortex -M4, with up to 256 KB Flash The KS2x product family is built on the ARM Cortex -M4 processor with
More informationFRDM-KL82Z User s Guide
Freescale Semiconductor, Inc. User s Guide Rev. 0, 01/2016 Document Number: FRDMKL82ZUG FRDM-KL82Z User s Guide 1. Introduction The Freescale Freedom development platform is a set of software and hardware
More informationKinetis KL2x Ultra-Low-Power MCUs with USB
NXP Semiconductors Product Brief Rev. 1, 04/2016 Document Number: KL2XPB Kinetis KL2x Ultra-Low-Power MCUs with USB Up to 512 KB of flash and 128 KB of SRAM 1. Kinetis L Family Introduction The Kinetis
More informationHow to Implement USB Suspend/Resume Feature with MCUXpresso SDK USB Stack
NXP Semiconductors Document Number: AN5385 Application Note Rev. 0, How to Implement USB Suspend/Resume Feature with MCUXpresso SDK USB Stack 1. Introduction This application note contains the USB suspend/resume
More informationTWR-KL28Z User s Guide
NXP Semiconductors Document Number: TWRKL28ZUG User's Guide Rev. 0, 06/2016 TWR-KL28Z User s Guide 1. Introduction The Tower development platform is a set of software and hardware tools for evaluation
More informationFreescale 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 informationMask Set Errata for Mask 2N36B
Freescale Semiconductor KINETIS72MHZ_2N36B Mask Set Errata Rev 08 AUG 2013 Mask Set Errata for Mask 2N36B Introduction This report applies to mask 2N36B for these products: KINETIS72MHZ Errata ID Errata
More informationAN4515 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 informationEmulating I2C Bus Master by using FlexIO
Freescale Semiconductor, Inc. Document Number: AN5133 Application Notes Rev. 0, 06/2015 Emulating I2C Bus Master by using FlexIO 1. Introduction This application note lists the steps to use the FlexIO
More informationZephyr OS Configuration via Device Tree
Zephyr OS Configuration via Device Tree Andy Gross - Linaro IoT Zephyr is a trademark of the Linux Foundation. *Other names and brands may be claimed as the property of others. Configuration in Zephyr
More informationProduct Brief Supports all SKEA64 devices
Freescale Semiconductor Document Number:SKEA64PB Product Brief Rev 1.1, 02/2014 Product Brief Supports all SKEA64 devices 1 Kinetis EA series Kinetis EA series provide the highly scalable portfolio of
More informationProduct Brief Supports all SKEA8 devices
Freescale Semiconductor Document Number:SKEA8PB Product Brief Rev 1.1, 02/2014 Product Brief Supports all SKEA8 devices 1 Kinetis EA series Kinetis EA series provide the highly scalable portfolio of ARM
More informationDenis Cabrol. Kinetis Global Marketing Manager
Denis Cabrol Kinetis Global Marketing Manager June 2012 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, ColdFire+, C-Ware, the Energy Efficient Solutions logo, Kinetis, mobilegt,
More informationFRDM-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 informationMQX RTOS Release Notes for Kinetis SDK v1.2.0 for KL33Z64 for FRDM-KL43Z Freescale Freedom Development Platform
Freescale Semiconductor Document Number: MQXKSDK120KL33RN Release Notes Rev. 0, 4/2015 MQX RTOS Release Notes for Kinetis SDK v1.2.0 for KL33Z64 for FRDM-KL43Z Freescale Freedom Development Platform 1
More informationKE02 Sub-Family Product Brief Supports all KE02 devices with 40 MHz core
Freescale Semiconductor Document Number:KE02M40PB Product Brief Rev 2, 3/2014 KE02 Sub-Family Product Brief Supports all KE02 devices with 40 MHz core 1 Kinetis E series Kinetis E series provide the highly
More informationKinetis KM3x Metrology MCUs based on ARM Cortex -M0+ Core
Freescale Semiconductor, Inc. Document Number: KM3XPB Product Brief Rev. 0, 06/2015 Kinetis KM3x Metrology MCUs based on ARM Cortex -M0+ Core Up to 256 KB Flash and 32 KB SRAM 1. Kinetis M family Kinetis
More informationInterrupts and Low Power Features
ARM University Program 1 Copyright ARM Ltd 2013 Interrupts and Low Power Features Module Syllabus Interrupts What are interrupts? Why use interrupts? Interrupts Entering an Exception Handler Exiting an
More informationTWR-KV58F220M Tower Module User's Guide
Freescale Semiconductor, Inc. Document Number: TWRKV58F220MUG User's Guide Rev. 0, 10/2015 TWR-KV58F220M Tower Module User's Guide 1. Introduction The TWR-KV58F220M microcontroller module is designed to
More informationTWR-KL43Z48M Quick Start Guide
TWR-KL43Z48M Quick Start Guide Development Kit for Kinetis KL43/33/27/17 MCU Families Tower System Quick Start Guide Get to Know the TWR-KL43Z48M Touch-sLCD TWRPI KL43 SWD Debugger Header Reset Button
More informationKV30F and KV31F Family Product Brief Supports 120/100MHz devices with 64 KB to 512 KB Embedded Flash
Freescale Semiconductor Document Number:KV30FKV31FPB Product Brief Rev 1, 3/2014 KV30F and KV31F Family Product Brief Supports 120/100MHz devices with 64 KB to 512 KB Embedded Flash 1 KV30F/KV31F Family
More informationKinetis MK24FN1M to MK24FN256 Migration Guide
Freescale Semiconductor, Inc. Application Note Document Number: AN5013 Rev. 1, 10/2014 Kinetis MK24FN1M to MK24FN256 Migration Guide 1 Purpose and overview This document describes the details of migrating
More informationUsing the Asynchronous DMA features of the Kinetis L Series
Freescale Semiconductor Document Number:AN4631 Application Note Rev. 0, 12/2012 Using the Asynchronous DMA features of the Kinetis L Series by: Chris Brown 1 Introduction The power consumption of devices
More informationKinetis Bootloader to Update Multiple Devices in a Field Bus Network
Freescale Semiconductor, Inc. Document Number: AN5204 Application Note Rev. 0, 01/2016 Kinetis Bootloader to Update Multiple Devices in a Field Bus Network 1. Introduction This application note describes
More informationKinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide
Freescale Semiconductor, Inc. KSDKKL03UG User s Guide Rev. 1.0.0, 09/2014 Kinetis SDK Freescale Freedom FRDM-KL03Z Platform User s Guide 1 Introduction This document describes the hardware and software
More informationDesign and Implementation Interrupt Mechanism
Design and Implementation Interrupt Mechanism 1 Module Overview Study processor interruption; Design and implement of an interrupt mechanism which responds to interrupts from timer and UART; Program interrupt
More informationMQX RTOS Release Notes for Kinetis SDK FRDM- KV10Z Freescale Freedom Development Platform
Freescale Semiconductor Document Number: MQXKSDK120KV10RN Release Notes Rev. 0, MQX RTOS Release Notes for Kinetis SDK 1.2.0 FRDM- KV10Z Freescale Freedom Development Platform 1 Overview These are the
More informationBinary Representations, and the Teensy 3.5
Binary Representations, and the Teensy 3.5 Data Types short, int, long: size depends on the particular microprocessor In order to be clear about sizes, gcc (our compiler) provides a set of types, including:
More informationDesigning, developing, debugging ARM Cortex-A and Cortex-M heterogeneous multi-processor systems
Designing, developing, debugging ARM and heterogeneous multi-processor systems Kinjal Dave Senior Product Manager, ARM ARM Tech Symposia India December 7 th 2016 Topics Introduction System design Software
More informationProduct Brief Supports all SKEA128 devices
Freescale Semiconductor Document Number:SKEA128PB Product Brief Rev 1.1, 02/2014 Product Brief Supports all SKEA128 devices 1 Kinetis EA series Kinetis EA series provide the highly scalable portfolio of
More informationSTM32F100RB processor GPIO notes rev 2
STM32F100RB processor GPIO notes rev 2 ST Microelectronics company ARM based processors are considered microcontrollers because in addition to the CPU and memory they include timer functions and extensive
More informationSTM32F4 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 informationThree-Phase Power Meter Solution
Three-Phase Power Meter Solution FTF-SEG-F0475 Hui Ding Field Application Engineer M A Y. 2 0 1 4 TM External Use Session Objectives Understand electricity meter block diagram and major functionalities.
More informationTWR-KL25Z Tower Module
NXP Semiconductors Document Number: TWR-KL25Z-UM User's Guide Rev. 1.1, 09/2016 TWR-KL25Z Tower Module 1. TWR-KL25Z The TWR-KL25Z microcontroller module works either in standalone mode or as part of the
More informationARM Cortex core microcontrollers 3. Cortex-M0, M4, M7
ARM Cortex core microcontrollers 3. Cortex-M0, M4, M7 Scherer Balázs Budapest University of Technology and Economics Department of Measurement and Information Systems BME-MIT 2018 Trends of 32-bit microcontrollers
More informationThe ARM Cortex-M0 Processor Architecture Part-1
The ARM Cortex-M0 Processor Architecture Part-1 1 Module Syllabus ARM Architectures and Processors What is ARM Architecture ARM Processors Families ARM Cortex-M Series Family Cortex-M0 Processor ARM Processor
More informationECE254 Lab3 Tutorial. Introduction to Keil LPC1768 Hardware and Programmers Model. Irene Huang
ECE254 Lab3 Tutorial Introduction to Keil LPC1768 Hardware and Programmers Model Irene Huang Lab3 Part A Requirements (1) A function to obtain the task information OS_RESULT os_tsk_get(os_tid task_id,
More informationKinetis KE1xF512 MCUs
NXP Semiconductors Document Number: KE1XF512PB Product Brief Rev. 1.1, 08/2016 Kinetis KE1xF512 MCUs Robust 5V MCUs with ADCs, FlexTimers, CAN and expanding memory integration in Kinetis E-series. Now
More informationChapter 15 ARM Architecture, Programming and Development Tools
Chapter 15 ARM Architecture, Programming and Development Tools Lesson 07 ARM Cortex CPU and Microcontrollers 2 Microcontroller CORTEX M3 Core 32-bit RALU, single cycle MUL, 2-12 divide, ETM interface,
More informationM2351 TrustZone Program Development
Application Note for 32-bit NuMicro Family AN0019 M2351 TrustZone Program Development Document Information Abstract Introduce TrustZone programing including how to partition security attribution and how
More informationELEC 3040/3050 Lab Manual Lab 2 Revised 8/20/14. LAB 2: Developing and Debugging C Programs in MDK-ARM for the STM32L100RC Microcontroller
LAB 2: Developing and Debugging C Programs in MDK-ARM for the STM32L100RC Microcontroller The objective of this laboratory session is to become more familiar with the process for creating, executing and
More informationARM Cortex core microcontrollers
ARM Cortex core microcontrollers 2 nd Cortex-M3 core Balázs Scherer Budapest University of Technology and Economics Department of Measurement and Information Systems BME-MIT 2016 The Cortex-M3 core BME-MIT
More informationMC68HC908GR8A MC68HC908GR4A Data Sheet
MC68HC908GR8A MC68HC908GRA Data Sheet M68HC08 Microcontrollers MC68HC908GR8A Rev. 5 0/2007 freescale.com MC68HC908GR8A MC68HC908GRA Data Sheet To provide the most up-to-date information, the revision
More informationELEC 3040/3050 Lab 6. Time-based interrupts (Digital stopwatch design)
ELEC 3040/3050 Lab 6 Time-based interrupts (Digital stopwatch design) Reference: STM32L100 Reference Manual, Chap. 18, General-Purpose Timers (TIM9/TIM10/TIM11) 1 Timer usage in computer systems Periodically
More informationQuick Start Guide for FRDM-KL46Z Rev 1
www.freescale.com/frdm-kl46z These documents are available as part of the Quick Start Package: Name Type Description Quick Start Guide PDF This document OpenSDA Applications Folder OpenSDA Applications
More informationMask Set Errata for Mask 1N36B
Freescale Semiconductor KINETIS72MHZ_1N36B Mask Set Errata Rev 08 AUG 2013 Mask Set Errata for Mask 1N36B Introduction This report applies to mask 1N36B for these products: KINETIS72MHZ Errata ID Errata
More informationFRDM-KEA QUICK START GUIDE (QSG) FRDM-KEAZ128 FRDM-KEAZ64 FRDM-KEAZN32 Ultra-Reliable MCUs for Industrial and Automotive Applications
FRDM-KEA QUICK START GUIDE (QSG) FRDM-KEAZ128 FRDM-KEAZ64 FRDM-KEAZN32 Ultra-Reliable MCUs for Industrial and Automotive Applications www.nxp.com/frdm-kea Contents Quick Start Package Overview Get to know
More informationGetting 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 informationTWR-KE18F User's Guide
NXP Semiconductors Document Number: TWRKE18FUG User's Guide Rev. 0, 09/2016 TWR-KE18F User's Guide 1. Introduction The NXP Tower development platform is a set of software and hardware tools for evaluation
More informationQuick Start Guide (QSG) for - FRDM-KEAZ128 - FRDM-KEAZ64 - FRDM-KEAZN32
Quick Start Guide (QSG) for - FRDM-KEAZ128 - FRDM-KEAZ64 - FRDM-KEAZN32 Ultra-Reliable MCUs for Industrial and Automotive www.freescale.com/frdm-kea External Use 0 Contents: Quick Start Package Get to
More informationHands-On Workshop: ARM mbed : From Rapid Prototyping to Production
Hands-On Workshop: ARM mbed : From Rapid Prototyping to Production FTF-SDS-F0107 Michael Norman, Martin Kojtal A P R. 2 0 1 4 TM External Use Agenda What is mbed? mbed Hardware mbed Software mbed Tools
More informationFreedom Board for Kinetis K22F Hardware (FRDM-K22F)
Freescale Semiconductor, Inc. User s Guide Document Number: FRDMK22FUG Rev. 0, 07/2014 Freedom Board for Kinetis K22F Hardware (FRDM-K22F) User s Guide 1 Introduction The Freescale Freedom development
More informationSTM32SnippetsL0. 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 informationDesigning with ARM -based Microcontrollers
Speakers: Designing with ARM -based Microcontrollers Danny Basler Microcontroller Product Marketer, Freescale Semiconductor Lotta Frimanson Product manager for IAR Embedded Workbench and the IAR RTOS partner
More informationAvr Microcontroller And Embedded Systems Using Assembly And C 1st Edition
Avr Microcontroller And Embedded Systems Using Assembly And C 1st Edition We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or by storing
More informationAvr Microcontroller And Embedded Systems Using Assembly And C
Avr Microcontroller And Embedded Systems Using Assembly And C We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or by storing it on your computer,
More informationHVP-KV10Z32 User s Guide
Freescale Semiconductor, Inc. User s Guide Document Number: HVPKV10Z32UG Rev. 0, 12/2014 HVP-KV10Z32 User s Guide by: Ivan Lovas 1 High voltage controller card HVP-KV10Z32 This document supports the HVP-MC3PH
More informationQuick Start Guide for mbed enabling Freescale FRDM-KL25z Freedom board
Quick Start Guide for mbed enabling Freescale FRDM-KL25z Freedom board FRDM-KL25Z Freedom board is a low-cost evaluation and development platform to demonstrate the capability of the Kinetis-L family of
More informationLoad Position-Independent Code (PIC) on a Kinetis Platform Using the IAR EWARM Compiler
Freescale Semiconductor, Inc. Document Number: AN5163 Application Note Load Position-Independent Code (PIC) on a Kinetis Platform Using the IAR EWARM Compiler 1. Introduction This document provides guidance
More informationRealtek 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 informationELC4438: Embedded System Design ARM Cortex-M Architecture II
ELC4438: Embedded System Design ARM Cortex-M Architecture II Liang Dong Electrical and Computer Engineering Baylor University Memory system The memory systems in microcontrollers often contain two or more
More informationHands-On Workshop: ARM mbed
Hands-On Workshop: ARM mbed FTF-DES-F1302 Sam Grove - ARM Michael Norman Freescale J U N. 2 0 1 5 External Use Agenda What is mbed mbed Hardware mbed Software mbed Tools mbed Support and Community Hands-On
More informationLab 4 Interrupt-driven operations
Lab 4 Interrupt-driven operations Interrupt handling in Cortex-M CPUs Nested Vectored Interrupt Controller (NVIC) Externally-triggered interrupts via GPIO pins Software setup for interrupt-driven applications
More informationFreedom FRDM-KV31F Development Platform User s Guide
Freescale Semiconductor, Inc. Document Number: FRDMKV31FUG User's Guide 0, 02/2016 Freedom FRDM-KV31F Development Platform User s Guide 1. Introduction The Freedom development platform is a set of software
More informationEE 354 Fall 2015 Lecture 1 Architecture and Introduction
EE 354 Fall 2015 Lecture 1 Architecture and Introduction Note: Much of these notes are taken from the book: The definitive Guide to ARM Cortex M3 and Cortex M4 Processors by Joseph Yiu, third edition,
More informationKinetis EA Ultra-Reliable Microcontrollers. Automotive and Industrial Applications
Kinetis EA Ultra-Reliable Microcontrollers Automotive and Industrial Applications Agenda Introducing Kinetis EA Proposition Value Features Overview Application Examples Enablement Useful Links 1 Kinetis
More informationEmulating Dual SPI Using FlexIO
Freescale Semiconductor, Inc. Document Number: AN5242 Application Note Rev. 0, 01/2016 Emulating Dual SPI Using FlexIO 1. Introduction This application note discusses one example of how to use FlexIO module
More informationMC68HC908GR16 Data Sheet
MC68HC908GR16 Data Sheet M68HC08 Microcontrollers MC68HC908GR16 Rev. 5.0 0/2007 freescale.com MC68HC908GR16 Data Sheet To provide the most up-to-date information, the revision of our documents on the
More informationFRDM-KE04Z User s Guide User Guide
Freescale Semiconductor Document Number: FRDMKE04ZUM User's Guide Rev 0, 02/2014 FRDM-KE04Z User s Guide User Guide by: Wang Peng 1 Overview The Freescale Freedom development platform is an ideal evaluation
More informationDeveloping a Generic Hard Fault handler for ARM Cortex-M3/Cortex-M4
Developing a Generic Hard Fault handler for ARM Cortex-M3/Cortex-M4 Niall Cooling Feabhas Limited www.feabhas.com Place company logo here. Recommend a white transparent GIF logo which cannot be larger
More informationQuick Start Guide. TWR-VF65GS10 For Vybrid Controller Solutions Based on ARM Cortex -A5 and Cortex-M4 Processors with the DS-5 Toolchain TOWER SYSTEM
TWR-VF65GS10 For Vybrid Controller Solutions Based on ARM Cortex -A5 and Cortex-M4 Processors with the DS-5 Toolchain TOWER SYSTEM Get to Know the TWR-VF65GS10 Dual Quad SPI K20 JTAG Header UART Selection
More informationAVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director
AVR XMEGA TM A New Reference for 8/16-bit Microcontrollers Ingar Fredriksen AVR Product Marketing Director Kristian Saether AVR Product Marketing Manager Atmel AVR Success Through Innovation First Flash
More information