Goals. Grading Rubrics (Total = 20 points) Pre-lab assignment

Size: px
Start display at page:

Download "Goals. Grading Rubrics (Total = 20 points) Pre-lab assignment"

Transcription

1 Lab : Interfacing Push-button and LED Instructor: Prof. Yifeng Zhu Spring Goals. Get familiar with the Keil uvision software development environment. Create a C project for STML discovery kit and program the kit. Learn basics of GPIO input and output configuration. Perform simple digital I/O input (interfacing push button) and output (interfacing LED). Understand polling I/O (busy waiting) and its inefficiency Grading Rubrics (Total = points). Pre-lab assignment ( points). Documentation and Maintainability ( points). Functionality and Correctness ( points). Lab Demonstration ( points). Something cool ( points) NOTE: Do NOT connect the discovery kit into your PC or laptop before installing the software. Windows might associate the kit with an incorrect USB device driver. Pre-lab assignment. Windows operation system is required. Our development software, Keil uvision, can only run in Windows. If your computer runs Linux or Mac OS, you can install virtual machines.. Download free Keil uvision (MDK-Lite Edition) and install it. It is free but limits your data and code to KB, which is not an issue for all homework and lab assignments in this course.. Follow the tutorial of setting up Gitlab sever. Set up your public and private keys. Read Textbook Chapter. to review bitwise operations.. Read Textbook Chapter GPIO. Lab assignment Following Book Chapter and implement a C program that toggles both Blue and Green LED when the user button is pressed. Do something cool. The following gives a few examples but you are not limited to this. Creative ideas are always encouraged. o Using an oscilloscope to show the voltage output of LED and the voltage signal of the pin connected to the pushbutton. Find out the latency between the button pressed and LED lighting up. o Using the software logic analyzer provided in MDK-KEIL to analyze the digital input and output signals. o Using an oscilloscope to show the GPIO output signal difference when the GPIO have different output speeds. Using GPIO a LED to send out SOS in Morse code ( ) if the user button is pressed. DOT, DOT, DOT, DASH, DASH, DASH, DOT, DOT, DOT. DOT is on for ¼ second and DASH is on for ½ second, with ¼ second between these light-ons.

2 LEDs on the Board There are two LEDs on the STML discovery board, which are connected to the GPIO Port B Pin (PB) and the GPIO Port E Pin (PE) pin of the STML processor, respectively. To light up a LED, software must at least perform the following three operations:. Enable the clock of the corresponding GPIO port. (By default, the clock to all peripherals, including GPIO ports, are turned off in order to improve the energy efficiency.). Set the mode of the corresponding GPIO pin must be set as output, (By default, the mode of all GPIO pin is analog). Set the output value of the corresponding GPIO pin to. (When the output value is, the voltage on the GPIO pin is V. When the output value is, the voltage is V.) The joystick (MT-A) has five keys, including up, down, left, right, and select. Each key has an output pin and all of them are connected to a common pin, as shown below. The joystick is connected to the GPIO pins PA, PA, PA, PA, and PA. A capacitor and a resister are added for each GPIO pin to perform hardware debouncing. Note: At ambient temperature, the GPIOs (general purpose input/outputs) can sink or source up to ± ma.

3 PIN Connections STMLVGT microcontroller featuring Mbyte of Flash memory, and Kbytes of RAM in LQFP package (with pins). The onboard peripherals are connected as follow. Peripheral Peripheral s Peripheral s Pin Peripheral Interface Interface Pin Center PA VLCD PC Left PA COM PA Joystick Right PA COM PA (MT-A) Up PA COM PA Down PA COM PB User LEDs LD Red PB SEG PA LD Green PE SEG PC SAI_MCK PE SEG PB CSL SAI_FS PE SEG PB Audio DAC SAI_SCK PE SEG PB Stereo SAI_SD PE SEG PD IC address IC_SCL PB SEG PD x IC_SDA PB SEG PD Audio_RST PE SEG PD MPDT Audio_DIN PE LCD SEG PC MEMS MIC Audio_CLK PE SEG PA LSMC ecompass LGD Gyro ST-Link V Quad SPI Flash Memory MAG_CS PC SEG PB MAG_INT PC SEG PB MAG_DRDY PC SEG PC MEMS_SCK PD ( SPI_SCK) SEG PC MEMS_MOSI PD ( SPI_MOSI) SEG PD XL_CS PE SEG PD XL_INT PE SEG PD MEMS_SCK PD ( SPI_SCK) SEG PD MEMS_MOSI PD ( SPI_MOSI) SEG PB MEMS_MISO PD ( SPI_MISO) SEG PB GYRO_CS PD SEG PB GYRO_INT PD SEG PC GYRO_INT PB SEG PA USART_TX PD OTG_FS_PowerSwitchOn PC USART_RX PD OTG_FS_OverCurrent PC SWDIO PA OTG_FS_VBUS PC USB OTG SWCLK PA OTG_FS_ID PC SWO PB OTG_FS_DM PA V_REG_ON PB OTG_FS_DP PA QSPI_CLK PE(QUADSPI_CLK) OSC_IN PC QSPI_CS PE(QUADSPI_NCS) OSC_OUT PC Clock QSPI_D PE(QUADSPI_BK_IO) OSC_IN PH QSPI_D PE(QUADSPI_BK_IO) OSC_OUT PH QSPI_D PE(QUADSPI_BK_IO) QSPI_D PE(QUADSPI_BK_IO)

4 Clock Configuration There are two major types of clocks: system clock and peripheral clock. System Clock In order to meet the requirement of performance and energy-efficiency for different applications, the processor core can be driven by four different clock sources, including, HSI (high-speed internal) oscillator clock, HSE (high-speed external) oscillator clock, PLL clock, and MSI (multispeed internal) oscillator clock. A faster clock provides better performance but usually consumes more power, which is not appropriate for battery-powered systems. Peripheral Clock All peripherals require to be clocked to function. However, clocks of all peripherals are turned off by default in order to reduce power consumption. The following figure shows the clock tree of STMLVGT, the processor used in the STML Discovery kit. The clock sources in the domain of Advanced High-performance Bus (AHB), low-speed Advanced Peripheral Bus (APB) and high-speed Advanced Peripheral Bus (APB) can be switched on or off independently when it is not used. Software can select various clock sources and scaling factors to achieve desired clock speed, depending on the application s needs. The software provided in this lab uses the MHz HSI as the input to the PLL clock. Appropriate scaling factors have been selected to achieve the maximum allowed clock speed ( MHz). See the function void System_Clock_Init() for details. void System_Clock_Init(void){... // Enable the Internal High Speed oscillator (HSI) RCC->CR = RCC_CR_HSION; while((rcc->cr & RCC_CR_HSIRDY) == ); RCC->CR &= ~RCC_CR_PLLON; while((rcc->cr & RCC_CR_PLLRDY) == RCC_CR_PLLRDY); // Select clock source to PLL RCC->PLLCFGR &= ~RCC_PLLCFGR_PLLSRC; RCC->PLLCFGR = RCC_PLLCFGR_PLLSRC_HSI; // = No clock, = MSI, = HSI, = HSE // Make PLL as MHz // f(vco clock) = f(pll clock input) * (PLLN / PLLM) = MHz * / = MHz // f(pll_r) = f(vco clock) / PLLR = MHz/ = MHz RCC->PLLCFGR = (RCC->PLLCFGR & ~RCC_PLLCFGR_PLLN) U << ; RCC->PLLCFGR = (RCC->PLLCFGR & ~RCC_PLLCFGR_PLLM) U << ; RCC->PLLCFGR &= ~RCC_PLLCFGR_PLLR; // : PLLR =, : PLLR =, : PLLR =, : PLLR = RCC->PLLCFGR = RCC_PLLCFGR_PLLREN; // Enable Main PLL PLLCLK output RCC->CR = RCC_CR_PLLON; while((rcc->cr & RCC_CR_PLLRDY) == ); // Select PLL selected as system clock RCC->CFGR &= ~RCC_CFGR_SW; RCC->CFGR = RCC_CFGR_SW_PLL; // : MSI, :HSI, : HSE, : PLL // Wait until System Clock has been selected while ((RCC->CFGR & RCC_CFGR_SWS)!= RCC_CFGR_SWS_PLL);

5 Connected to. KHz external crystal oscillator MCOSEL[:] in RCC_CFGR MCOPRE[:] in RCC_CFGR Not populated on the kit HPRE[:] in RCC_CFGR Should be /, MHz MHz SW[:] in RCC_CFGR PPRE[:] in RCC_CFGR MSIRANGE[:] in RCC_CR: : khz : MHz (reset value) : khz : MHz : khz : MHz : khz : MHz : M Hz : MHz : MHz : MHz RCC_PLLCFGR MHz PLLN = MHz PLLSRC[:] in RCC_PLLCFGR PLLM = MHz PLLR = MHz PPRE[:] in RCC_CFGR RCC_PLLSAICFGR MHz PLLSAIN = MHz PLLSAIP =. MHz CLKSEL[:] in RCC_CCIPR RCC_PLLSAICFGR. MHz ADCSEL[:] in RCC_CCIPR SAISEL[:] in RCC_CCIPR SAISEL[:] in RCC_CCIPR Figure modified from STMLxx Datasheet SAI = Serial Audio Interface

6 Each of the GPIO pins can be configured by software as output (push-pull or open-drain), as input (with or without pull-up or pull-down) or as peripheral alternate function. In this lab, we will configure PB and PE as push-pull output. Each general-purpose I/O port x (x = A, B, C,, H) has four -bit configuration registers o GPIOx_MODER (mode register) o GPIOx_OTYPER (output type register) o GPIOx_OSPEEDR (output speed register) o GPIOx_PUPDR (pull-up/pull-down register) two -bit data registers o GPIOx_IDR (input data register) o GPIOx_ODR (output data register) a -bit set/reset register (GPIOx_BSRR). a -bit locking register (GPIOx_LCKR) two -bit alternate function selection registers o GPIOx_AFRH (alternative function high register) o GPIOx_AFRL (alternative function low register)

7 MODE : Input : General purpose output mode : Alternate function mode : Analog mode (Default) OSPEED : Very low speed : Low speed : High speed : Very high speed The data present on the I/O pin are sampled into IDR every AHB clock cycle. PUPDIR : No pull-up, pull-down (Default) : Pull-up : Pull-down : Reserved BSRR allows to set and reset each individual bit in ODR. (atomic bitwise handling) IDR High, if Input > a high threshold Output = Low, if Input < a lower threshold Unchanged, otherwise BSRR ODR Write to BSRR(i): set ODR(i) Write to BSRR(i+SIZE): reset ODR(i) Write to BSRR has no effect on ODR Open drain: A output activates N-MOS whereas a output leaves the port in Hi-Z (P-MOS is never activated) Push-pull: A output register activates N-MOS whereas a output activates P-MOS OTYPE : Output push-pull (Default) : Output open-drain Code Comments and Documentation Program comments are used to improve code readability, and to assist in debugging and maintenance. A general principal is Structure and document your program the way you wish other programmers would (McCann, ). The book titled The Elements of Programming Style by Brian Kernighan and P. J. Plauger gives good advices for beginners.. Format your code well. Make sure it's easy to read and understand. Comment where needed but don't comment obvious things it makes the code harder to read. If editing someone else's code, format consistently with the original author.. Every program you write that you intend to keep around for more than a couple of hours ought to have documentation in it. Don't talk yourself into putting off the documentation. A program that is perfectly clear today is clear only because you just wrote it. Put it away for a few months, and it will most likely take you a while to figure out what it does and how it does it. If it takes you a while to figure it out, how long would it take someone else to figure it out?

8 . Write Clearly - don't be too clever - don't sacrifice clarity for efficiency.. Don t over comment. Use comments only when necessary.. Format a program to help the reader understand it. Always Beautify Code.. Say what you mean, simply and directly.. Don't patch bad code - rewrite it.. Make sure comments and code agree.. Don't just echo code in comments - make every comment meaningful.. Don't comment bad code - rewite it.. The single most important factor in style is consistency. The eye is drawn to something that "doesn't fit," and these should be reserved for things that are actually different.

9 Comparison between STML (used by book) and STML (used in our lab) The book was based on STML board but we are using STML board this semester. They are slightly different. The following table compares the RCC clock setting and GPIO. STML STML Core MHz MHz with FPU and DSP MSI khz, khz, khz, khz,. MHz,. MHz (default value),. MHz khz, khz, khz, khz, MHz, MHz, MHz (default value), MHz, MHz, MHz, MHz and MHz LSI khz khz RC RCC_AHBENR RCC RCC_AHBLPENR (LP = Low Power) RCC_APBENR RCC_APBLPENR (LP = Low Power) RCC_AHBENR (AHB) RCC_AHBENR (AHB) RCC_AHBENR (AHB) RCC_AHBSMENR (AHB) RCC_AHBSMENR (AHB) RCC_AHBSMENR (AHB) (SM = Sleep Mode) RCC_APBENR RCC_APBENR RCC_APBSMENR RCC_APBSMENR (SM = Sleep Mode) RCC_APBENR RCC_APBENR RCC_APBLPENR (LP = Low Power) RCC_APBSMENR (SM = Sleep Mode) GPIO Default mode is Digital Input Default mode is Analog Alternative functions are different. Alternative functions are different. AF SYSTEM AF TIM AF TIM/TIM/TIM AF TIM/TIM/TIM AF IC/IC AF SPI/SPI AF SPI AF USART/ USART/ USART AF UART/UART AF AF USB AF LCD AF FSMC AF AF RI AF EVENTOUT AF SYSTEM AF TIM/TIM/TIM/TIM/LPTIM AF TIM/TIM/TIM/TIM/TIM AF TIM AF IC/IC/IC AF SPI/SPI AF SPI/DFSDM AF USART/USART/ USART AF UART/UART/LPUART AF CAN/TSC AF OTG_FS/QUADSPI AF LCD AF SDMMC/COMP/COMP/FMC/SWPMI AF SAI/SAI AF TIM/TIM/TIM/TIM/LPTIM AF EVENTOUT Add a new register GPIO_ASCR (Analog Switch Control ) : Disconnect analog switch to the ADC input

10 : Connect analog switch to the ADC input typedef struct { IO uint_t MODER; IO uint_t OTYPER; IO uint_t OSPEEDR; IO uint_t PUPDR; IO uint_t IDR; IO uint_t ODR; IO uint_t BSRR; IO uint_t LCKR; IO uint_t AFR[]; IO uint_t BRR; IO uint_t ASCR; } GPIO_TypeDef; For example, to use PA. as analog input: GPIOA->ASCR = U<<;

11 Lab : Pre-Lab Assignment ( points) Spring Student Name: TA: Time & Date:. Enable the clock of GPIO Port A (for joy stick ), Port B (for Red LED) and Port E (for Green LED) AHBENR RNGEN AESEN ADCEN OTGFSEN GPIOPHEN GPIOPGEN GPIOPFEN GPIOPEEN GPIOPDEN GPIOPCEN GPIOPBEN GPIOPAEN Note: Why do we need the mask? When we toggle, set, or reset specific bits of a word ( bytes), we have to keep the other bits of the word unchanged. For example, we want to set bit of the variable aword, the following code is incorrect because it resets all the other bits in this word. aword = ; The correct approach is: aword = ; Typically we use mask to facilitate the operations of toggling, setting or resetting a group of bits in a variable. = x; aword = ; // Set bit and bit aword &= ~; // Reset bit and bit aword ^= ; // Toggle bit and bit

12 . Pin Initialization for Red LED (PB ) a. Configure PB as Output GPIO Mode: Input (), Output (), Alternative Function (), Analog (, default) MODER MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] GPIOB Mode MASK = x (in HEX) GPIOB Mode = x (in HEX) b. Configure PB Output Type as Push-Pull Push-Pull (, reset), Open-Drain () OTYPER OT OT OT OT OT OT OT OT OT OT OT OT OT OT OT OT Reserved GPIOB Output Type MASK = x (in HEX) GPIOB Output Type = x (in HEX) c. Configure PB Output Type as No Pull-up No Pull-down NO PUPD (, reset), Pullup (), Pulldown (), Reserved () PUPDR PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] GPIOB Pull-up Pull-down MASK = x (in HEX) GPIOB Pull-up Pull-down = x (in HEX)

13 . Pin Initialization for Green LED (PE ) a. Configure PE as Output GPIO Mode: Input (), Output (), Alternative Function (), Analog (, default) MODER MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] GPIOE Mode MASK = x (in HEX) GPIOE Mode = x (in HEX) b. Configure PE Output Type as Push-Pull Push-Pull (, reset), Open-Drain () OTYPER OT OT OT OT OT OT OT OT OT OT OT OT OT OT OT OT Reserved GPIOE Output Type MASK = x (in HEX) GPIOE Output Type = x (in HEX) c. Configure PE Output Type as No Pull-up No Pull-down NO PUPD (, reset), Pullup (), Pulldown (), Reserved () PUPDR PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] GPIOE Pull-up Pull-down MASK = x (in HEX) GPIOE Pull-up Pull-down = x (in HEX)

14 . Pin Initialization for Joy Stick a. Configure PA (Center), PA (Left), PA (Right), PA (Up), and PA (Down) as Input GPIO Mode: Input (), Output (), Alternative Function (), Analog (, default) MODER MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] MODER[:] GPIOA Mode MASK = x (in HEX) GPIOA Mode = x (in HEX) b. Configure PA (Center), PA (Left), PA (Right), PA (Up), and PA (Down) as Pulldown NO PUPD (, reset), Pullup (), Pulldown (), Reserved () PUPDR PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] PUPDR[:] GPIOE Pull-up Pull-down MASK = x (in HEX) GPIOE Pull-up Pull-down = x (in HEX)

15 Lab : Lab Demo You should be able to correctly answer the following questions to TAs.. Why did we configure the pins that drive the LEDs (PB and PE ) as push-pull instead of open-drain?. What is GPIO speed? What is the default speed? Did you notice any difference of you choose different speeds in this lab assignment?. Show TA that you can toggle a LED in the debug environment by directly changing the value of the Output Data (ODR) of a GPIO port. Lab : Lab Code Submission. Submit and maintain your code in gitlab server. Make sure to comment your codes appropriately. Make sure to complete the Readme.Md file Lab : Post-Lab Assignment ( point). The joy stick on the STML board has a hardware debouncing circuit. The following is one example debouncing circuit. Explain briefly how the hardware debouncing circuit works. Find out a typical solution for software debouncing. Vdd nf Push Button PA Ω KΩ Place your answer to this question in the file Readme.md Submit it to the Gitlab Server. If you have figures/images, you can put your answer in a word document, and put a note in Readme.md. Make sure to perform git add to the word document.

Lab #4: GPIOs in Assembly Language Week of 18 February 2019

Lab #4: GPIOs in Assembly Language Week of 18 February 2019 ECE271: Microcomputer Architecture and Applications University of Maine Lab #4: GPIOs in Assembly Language Week of 18 February 2019 Goals 1. Learn Thumb-2 Assembly Language Pre-lab 1. Complete the pre-lab

More information

ELEC 3040/3050 Lab Manual Lab 2 Revised 8/20/14. LAB 2: Developing and Debugging C Programs in MDK-ARM for the STM32L100RC Microcontroller

ELEC 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 information

Digital Input and Output

Digital Input and Output 1 Digital Input and Output Module Syllabus Digital Input and Output Voltages and Logic Values GPIO Controller Using Pointer to Access GPIO Define Data Structure for Peripherals Digital IO Examples Using

More information

Developing and Debugging C Programs in MDK-ARM for the STM32L100RC Microcontroller

Developing and Debugging C Programs in MDK-ARM for the STM32L100RC Microcontroller Developing and Debugging C Programs in MDK-ARM for the STM32L100RC Microcontroller ELCE 3040/3050 Lab Session 2 (write-up on course web page) Important References (on course web page): Tutorial: C programming

More information

ECE 362 Lab Verification / Evaluation Form Experiment 3

ECE 362 Lab Verification / Evaluation Form Experiment 3 ECE 362 Lab Verification / Evaluation Form Experiment 3 Evaluation: IMPORTANT! You must complete this experiment during your scheduled lab perior. All work for this experiment must be demonstrated and

More information

Hello, and welcome to this presentation of the STM32 general-purpose IO interface. It covers the general-purpose input and output interface and how

Hello, and welcome to this presentation of the STM32 general-purpose IO interface. It covers the general-purpose input and output interface and how Hello, and welcome to this presentation of the STM32 general-purpose IO interface. It covers the general-purpose input and output interface and how it allows connectivity to the environment around the

More information

General Purpose I/O ARM University Program Copyright ARM Ltd

General Purpose I/O ARM University Program Copyright ARM Ltd General Purpose I/O 1 Overview How do we make a program light up LEDs in response to a switch? GPIO Basic Concepts Port Circuitry Control Registers Accessing Hardware Registers in C Clocking and Muxing

More information

Using the Special Function Registers of the Digital I/O interface of STM32

Using the Special Function Registers of the Digital I/O interface of STM32 Using the Special Function Registers of the Digital I/O interface of STM32 ARSLAB - Autonomous and Robotic Systems Laboratory Dipartimento di Matematica e Informatica - Università di Catania, Italy santoro@dmi.unict.it

More information

Using the Special Function Registers of the Digital I/O interface of STM32

Using the Special Function Registers of the Digital I/O interface of STM32 Using the Special Function Registers of the Digital I/O interface of STM32 ARSLAB - Autonomous and Robotic Systems Laboratory Dipartimento di Matematica e Informatica - Università di Catania, Italy santoro@dmi.unict.it

More information

Reset and clock control (RCC)

Reset and clock control (RCC) Reset and clock control (RCC) RESET Sources 86 System RESET Resets all registers except some RCC registers, PWR registers and Backup domain Sources Low level on the NRST pin (External Reset) WWDG event

More information

Real Time & Embedded Systems. STM32 GPIO and Timers

Real Time & Embedded Systems. STM32 GPIO and Timers Real Time & Embedded Systems STM GPIO and Timers GPIO Memory Map of Cortex-M. GB xffffffff xe System NVIC, System Timer, SCB, vendor-specific memory GB External Device Such as SD card xa GB External RAM

More information

STM32F100RB processor GPIO notes rev 2

STM32F100RB 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 information

Education of Embedded Systems Programming in C and Assembly Based on ARM s Cortex-M Microprocessors

Education of Embedded Systems Programming in C and Assembly Based on ARM s Cortex-M Microprocessors Education of Embedded Systems Programming in C and Assembly Based on ARM s Cortex-M Microprocessors Yifeng Zhu University of Maine ASEE Annual Conference June 2016 Install Software and Driver Each of you

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

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

AN3427 Application note

AN3427 Application note Application note Migrating a microcontroller application from STM32F1 to STM32F2 series 1 Introduction For designers of STM32 microcontroller applications, it is important to be able to easily replace

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

ECE 271 Microcomputer Architecture and Applications University of Maine

ECE 271 Microcomputer Architecture and Applications University of Maine Goals Lab 7: Timer Input Capture in C Instructor: Prof. Yifeng Zhu Spring 2015 1. Understand the basic concept of input capture function of a timer 2. Handle different events in the interrupt service routine

More information

UM1879 User manual. Discovery kit with STM32L476VG MCU. Introduction

UM1879 User manual. Discovery kit with STM32L476VG MCU. Introduction UM879 User manual Discovery kit with STML7VG MCU Introduction The STML7 discovery kit (L7GDISCOVERY) helps the user to discover the STML ultra-low-power features and to develop and share applications.

More information

ECE 271 Microcomputer Architecture and Applications University of Maine

ECE 271 Microcomputer Architecture and Applications University of Maine ECE Microcomputer Architecture and Applications University of Maine Goals ECE Microcomputer Architecture and Applications Lab : Timer Input Capture in Assembly Instructor: Prof. Yifeng Zhu Spring. Know

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

UM1724 User manual. STM32 Nucleo boards. Introduction

UM1724 User manual. STM32 Nucleo boards. Introduction UM1724 User manual STM32 Nucleo boards Introduction The STM32 Nucleo board (NUCLEO-F030R8, NUCLEO-F072RB, NUCLEO-F091RC, NUCLEO-F103RB, NUCLEO-F302R8, NUCLEO-F303RE, NUCLEO-F334R8, NUCLEO- F401RE, NUCLEO-F411RE,

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

UM1724 User manual. STM32 Nucleo boards. Introduction

UM1724 User manual. STM32 Nucleo boards. Introduction User manual STM32 Nucleo boards Introduction The STM32 Nucleo board (NUCLEO-F030R8, NUCLEO-F070RB, NUCLEO-F072RB, NUCLEO-F091RC, NUCLEO-F103RB, NUCLEO-F302R8, NUCLEO-F303RE, NUCLEO- F334R8, NUCLEO-F401RE,

More information

UM1724 User manual. STM32 Nucleo-64 boards. Introduction

UM1724 User manual. STM32 Nucleo-64 boards. Introduction User manual STM32 Nucleo-64 boards Introduction The STM32 Nucleo-64 board (NUCLEO-F030R8, NUCLEO-F070RB, NUCLEO-F072RB, NUCLEO-F091RC, NUCLEO-F103RB, NUCLEO-F302R8, NUCLEO-F303RE, NUCLEO-F334R8, NUCLEO-F401RE,

More information

AN3422 Application note

AN3422 Application note Application note Migration of microcontroller applications from STM32F1 to STM32L1 series 1 Introduction For designers of STM32 microcontroller applications, it is important to be able to easily replace

More information

Lab #3: Keypad Scanning in C Week of 11 February 2019

Lab #3: Keypad Scanning in C Week of 11 February 2019 ECE271: Microcomputer Architecture and Applications University of Maine Lab #3: Keypad Scanning in C Week of 11 February 2019 Goals 1. Be familiar with keypad scanning algorithms. 2. Understand software

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

AN4649 Application note

AN4649 Application note Application note Migrating from STM32F1 Series to STM32L4 Series / STM32L4+ Series microntrollers Introduction For designers of the STM32 microcontroller applications, being able to replace easily one

More information

AN4228 Application note

AN4228 Application note Application note Migrating from STM32F1 Series to STM32F3 Series microcontrollers Introduction For the designers of STM32 microcontroller applications, being able to replace easily one microcontroller

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

EE 354 Fall 2018 Timers and timer interrupts

EE 354 Fall 2018 Timers and timer interrupts EE 354 Fall 2018 Timers and timer interrupts The STM32F446RE has 14 timers that are classified as Advanced Control Timers (2), General Purpose (4 are either 16-bit or 32-bit timers and 6 are 16-bit timers),

More information

AN5181. Building a thermometer using the STM8 Nucleo-64 boards. Application note. Introduction

AN5181. Building a thermometer using the STM8 Nucleo-64 boards. Application note. Introduction Application note Building a thermometer using the STM8 Nucleo-64 boards Introduction The NUCLEO-8S208RB (built around the STM8S208RBT6 device) and the NUCLEO-8L152R8 (built around the STM8L152R8T6 device)

More information

ARM Cortex M3 & General Purpose Input/Output (GPIO)

ARM Cortex M3 & General Purpose Input/Output (GPIO) ARM Cortex M3 & General Purpose Input/Output (GPIO) ผศ.ดร.ส ร นทร ก ตต ธรก ล และ อ.สรย ทธ กลมกล อม ภาคว ชาว ศวกรรมคอมพ วเตอร คณะว ศวกรรมศาสตร สถาบ นเทคโนโลย พระจอมเกล าเจ าค ณทหารลาดกระบ ง STM32F10x &

More information

STM32: Peripherals. Alberto Bosio November 29, Univeristé de Montpellier

STM32: Peripherals. Alberto Bosio November 29, Univeristé de Montpellier STM32: Peripherals Alberto Bosio bosio@lirmm.fr Univeristé de Montpellier November 29, 2017 System Architecture 2 System Architecture S0: I-bus: This bus connects the Instruction bus of the Cortex-M4 core

More information

STM32 MICROCONTROLLER

STM32 MICROCONTROLLER STM32 MICROCONTROLLER Lecture 2 Prof. Yasser Mostafa Kadah Harvard and von Neumann Architectures Harvard Architecture a type of computer architecture where the instructions (program code) and data are

More information

ACH1180 Audio Host Processor. Description. Features. ACH1180 Audio Host Processor. Preliminary 1

ACH1180 Audio Host Processor. Description. Features. ACH1180 Audio Host Processor. Preliminary 1 Audio Host Processor ACH1180 Audio Host Processor Features 64-pin lead-free/rohs compliant QFN or WLCSP package ARM Cortex-M4 with floating point processing option Two programmable fractional-n synthesizers

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

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

Embedded C. ECE Rick

Embedded C. ECE Rick Embedded C ECE 362 https://engineering.purdue.edu/ee362/ Rick Reading Assignment Reading assignment: Family Reference Manual, Chapter 17, "General purpose timers (TIM2 and TIM3)", pages 377 443. Textbook,

More information

32L476GDISCOVERY. Discovery kit with STM32L476VG MCU. Features. Description

32L476GDISCOVERY. Discovery kit with STM32L476VG MCU. Features. Description Discovery kit with STM32L476VG MCU Data brief Features STM32L476VGT6 microcontroller featuring 1 Mbyte of Flash memory, 128 Kbytes of RAM in LQFP100 package On-board ST-LINK/V2-1 supporting USB reenumeration

More information

Input/Output Programming

Input/Output Programming Input/Output Programming Chapter 3: Section 3.1, 3.2 Input and output (I/O) programming Communicating with I/O devices Busy-wait I/O Interrupt-driven I/O I/O devices Devices may include digital and non-digital

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

AN4616 Application note

AN4616 Application note Application note Migrating from STM32F401 and STM32F411 lines to STM32L4 Series and STM32L4+ Series microcontrollers Introduction For designers of the STM32 microcontroller applications, being able to

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 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

Hello, and welcome to this presentation of the STM32L4 s full-speed on-the-go (OTG) USB device interface. It covers the features of this IP, which is

Hello, and welcome to this presentation of the STM32L4 s full-speed on-the-go (OTG) USB device interface. It covers the features of this IP, which is Hello, and welcome to this presentation of the STM32L4 s full-speed on-the-go (OTG) USB device interface. It covers the features of this IP, which is widely used to connect either a PC or a USB device

More information

ECE 362 Experiment 3: General Purpose I/O

ECE 362 Experiment 3: General Purpose I/O ECE 362 Experiment 3: General Purpose I/O 1.0 Introduction In this experiment, you will learn how to attach simple input devices (pushbuttons) and simple output devices (LEDs) to an STM32 development board.

More information

AN4809 Application note

AN4809 Application note Application note Migrating between STM32L0 Series and STM32L4 Series / STM32L4+ Series microcontrollers Introduction For the designers of STM32 microcontroller applications, being able to easily replace

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

AN4809 Application note

AN4809 Application note AN4809 Application note Migrating between STM32L0 Series and STM32L4 Series / STM32L4+ Series microcontrollers Introduction For the designers of STM32 microcontroller applications, being able to easily

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

AN4088 Application note

AN4088 Application note Application note Migrating from STM32F1 to STM32F0 Introduction For designers of STM32 microcontroller applications, it is important to be able to easily replace one microcontroller type by another one

More information

Lab 1 Introduction to Microcontroller

Lab 1 Introduction to Microcontroller Lab 1 Introduction to Microcontroller Feb. 2016 1 Objective 1. To be familiar with microcontrollers. 2. Introducing LPC2138 microcontroller. 3. To be familiar with Keil and Proteus software tools. Introduction

More information

STM32F446-ARM Nucleo Board User's Manual D.K. Blandford August, 2017

STM32F446-ARM Nucleo Board User's Manual D.K. Blandford August, 2017 STM32F446-ARM Nucleo Board User's Manual D.K. Blandford August, 2017 Updated November 3, 2017 Table of Contents Contents Section 1 Introduction, features and preliminaries... 1 Features... 1 Section 2

More information

Value-line ARM -based 32-bit MCU with up to 256 KB Flash, timers, ADC, communication interfaces, V operation

Value-line ARM -based 32-bit MCU with up to 256 KB Flash, timers, ADC, communication interfaces, V operation Features STM32F030x4 STM32F030x6 STM32F030x8 STM32F030xC Value-line ARM -based 32-bit MCU with up to 256 KB Flash, timers, ADC, communication interfaces, 2.4-3.6 V operation Datasheet - production data

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

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

STM32F4 Introduction F1/F2/F4 Comparison Features Highlight

STM32F4 Introduction F1/F2/F4 Comparison Features Highlight STM32F4 Introduction F1/F2/F4 Comparison Features Highlight February 20 th 2012 2 Content Product family overview F1/F2/F4 features comparisons Features highlight Boot & Remap feature RTC calibration &

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

ARM Microcontroller Course

ARM Microcontroller Course February 15, 2017 Please dowload the software available on https://www.scintilla.utwente.nl/docs/cursus/ourse2017 Table of ontents 1 Introduction 2 Data types Operators Events 3 The ourse Five Wednesday

More information

ELEC 3040/3050 Lab 5. Matrix Keypad Interface Using Parallel I/O

ELEC 3040/3050 Lab 5. Matrix Keypad Interface Using Parallel I/O ELEC 3040/3050 Lab 5 Matrix Keypad Interface Using Parallel I/O Goals of this lab exercise Control a real device with the microcontroller Coordinate parallel I/O ports to control and access a device Implement

More information

EE 354 Fall 2015 Lecture 1 Architecture and Introduction

EE 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 information

STM32 F4xx Discovery Board Setup Guide

STM32 F4xx Discovery Board Setup Guide STM32 F4xx Discovery Board Setup Guide Audio Weaver November 2016 Copyright Information 2014 DSP Concepts, Inc., ALL RIGHTS RESERVED. This document may not be reproduced in any form without prior, express

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

STM32CubeL4 demonstration firmware for 32L476GDISCOVERY discovery kit

STM32CubeL4 demonstration firmware for 32L476GDISCOVERY discovery kit User manual STM32CubeL4 demonstration firmware for 32L476GDISCOVERY discovery kit Introduction The STMCube TM initiative was originated by STMicroelectronics to ease developers life by reducing development

More information

ELEC 3040/3050 Lab 5. Matrix Keypad Interface Using Parallel I/O

ELEC 3040/3050 Lab 5. Matrix Keypad Interface Using Parallel I/O ELEC 3040/3050 Lab 5 Matrix Keypad Interface Using Parallel I/O Goals of this lab exercise Control a real device with the microcontroller Coordinate parallel I/O ports to control and access a device Implement

More information

Advanced Microcontrollers Grzegorz Budzyń Extras: STM32F4Discovery

Advanced Microcontrollers Grzegorz Budzyń Extras: STM32F4Discovery Advanced Microcontrollers Grzegorz Budzyń Extras: STM32F4Discovery Plan STM32F4Discovery module STM32F407 description STM32F4Discovery STM32F4Discovery Easily availble(farnell), cheap(~15 EUR) and powerful

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

GigaDevice Semiconductor Inc. GD32F103xx ARM Cortex -M3 32-bit MCU

GigaDevice Semiconductor Inc. GD32F103xx ARM Cortex -M3 32-bit MCU GigaDevice Semiconductor Inc. GD3F103xx ARM Cortex -M3 3-bit MCU Datasheet GD3F103xx Datasheet Table of Contents Table of Contents... 1 List of Figures... 3 List of Tables... 4 1. General description...

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

AN5096. Getting started with STM32G0 Series hardware development. Application note. Introduction

AN5096. Getting started with STM32G0 Series hardware development. Application note. Introduction Application note Getting started with STM32G0 Series hardware development Introduction This application note is intended for system designers who require a hardware implementation overview of the development

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

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

STM32L0x Ultra Low Power - LCD - DMA - GPIO - RTC

STM32L0x Ultra Low Power - LCD - DMA - GPIO - RTC STM32L0x Ultra Low Power - LCD - DMA - GPIO - RTC MCD Application Team January-2014 V1.0 Analog Peripherals LCD GLASS CONTROLLER (LCD) Main features 3 High Flexibility Frame Rates Drive up to 320 (8x40)

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

[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

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

Hello, and welcome to this presentation of the STM32L4 System Configuration Controller. Hello, and welcome to this presentation of the STM32L4 System Configuration Controller. 1 Please note that this presentation has been written for STM32L47x/48x devices. The key differences with other devices

More information

32-bit ARM Cortex -M3 FM3 Microcontroller

32-bit ARM Cortex -M3 FM3 Microcontroller 32-bit ARM Cortex -M3 FM3 Microcontroller The MB9AAA0N Series are highly integrated 32-bit microcontrollers that dedicated for embedded controllers with low-power consumption mode and competitive cost.

More information

Embedded Programming with ARM Cortex-M3 Basic Experiments 1

Embedded Programming with ARM Cortex-M3 Basic Experiments 1 Embedded Programming with ARM Cortex-M3 Basic Experiments 1 Alan Xiao, Ph.D Handheld Scientific, Inc. qiwei@handheldsci.com Today s Topics Basics (with the Discovery board): 1. General Input/Output (GPIO)

More information

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad Objectives To be familiar with microcontrollers, PIC18F4550 microcontroller. Tools PIC18F4550 Microcontroller, MPLAB software,

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

Education of Embedded Systems Programming in C and Assembly Based on ARM s Cortex-M Microprocessors

Education of Embedded Systems Programming in C and Assembly Based on ARM s Cortex-M Microprocessors Education of Embedded Systems Programming in C and Assembly Based on ARM s Cortex-M Microprocessors Yifeng Zhu, Libby Professor University of Maine Webinar Series October 2018 Role of Embedded Systems:

More information

AN4831 Application note

AN4831 Application note Application note Migrating from STM32F2x5 line to STM32L4 Series and STM32L4+ Series microcontrollers Introduction For the designers of STM32 microcontroller applications, being able to easily replace

More information

Start a New Project with Keil MDK-ARM Version 5 and ST Micro Nucleo-F446RE

Start a New Project with Keil MDK-ARM Version 5 and ST Micro Nucleo-F446RE Start a New Project with Keil MDK-ARM Version 5 and ST Micro Nucleo-F446RE This tutorial is intended for starting a new project to develop software with ST Micro Nucleo-F446RE board (with STM32F446RE MCU)

More information

STM8L162R8 STM8L162M8

STM8L162R8 STM8L162M8 STM8L162R8 STM8L162M8 8-bit ultralow power MCU, 64 KB Flash, 2 KB data EEPROM, RTC, AES, LCD, timers, USARTs, I2C, SPIs, ADC, DAC, COMPs Features Datasheet production data Operating conditions Operating

More information

AN4152 Application note

AN4152 Application note Application note Clock configuration tool for STM32F302xx/STM32F303xx/STM32F31xxx microcontrollers Introduction This application note presents the clock system configuration tool for the STM32F302xx/STM32F303xx/STM32F31xxx

More information

WAVETEK BLE-WT51822AA/AB. Revision History. Bluetooth low energy Module WT51822AA (256k) /AB (128k) (Bluetooth Low Energy BT4.0) PRODUCT SPECIFICATION

WAVETEK BLE-WT51822AA/AB. Revision History. Bluetooth low energy Module WT51822AA (256k) /AB (128k) (Bluetooth Low Energy BT4.0) PRODUCT SPECIFICATION Bluetooth low energy Module WT51822AA (256k) /AB (128k) (Bluetooth Low Energy BT4.0) PRODUCT SPECIFICATION Part number: BLE WT51822AA/AB Wavetek has developed a module which supports Bluetooth Low Energy

More information

STM32L151xx STM32L152xx

STM32L151xx STM32L152xx STM32L151xx STM32L152xx Ultralow power ARM-based 32-bit MCU with up to 128 KB Flash, RTC, LCD, USB, USART, I2C, SPI, timers, ADC, DAC, comparators Data brief Features Operating conditions Operating power

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

AN4325 Application note

AN4325 Application note Application note Getting started with STM32F030xx and STM32F070xx series hardware development Introduction This application note is intended for system designers who require a hardware implementation overview

More information

CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6 Switches 7 Jumpers 8 MCU Sockets 9 Power Supply 11 On-board USB 2.0 Programmer 12 Oscillator 14 LEDs 15 Reset Circuit 17 Push-buttons

More information

Manual ARM Microcontroller Course E.T.S.V. Scintilla

Manual ARM Microcontroller Course E.T.S.V. Scintilla Manual ARM Microcontroller Course E.T.S.V. Scintilla Cursuscommissie May 8, 2015 1 Contents 1 Introduction 4 1.1 Preliminary Schedule......................... 4 1.2 Acknowledgments...........................

More information

TWR-KM34Z50MV3 Quick Start Guide

TWR-KM34Z50MV3 Quick Start Guide TWR-KM34Z50MV3 Quick Start Guide Development Kit for Kinetis KM34/33/14 MCU Families Tower System Development Board Platform Quick Start Guide Get to Know the TWR-KM34Z50MV3 Board Segment LCD Board Power

More information

STM32 Ecosystem workshop. T.O.M.A.S Team

STM32 Ecosystem workshop. T.O.M.A.S Team STM32 Ecosystem workshop T.O.M.A.S Team 2 Now it is a right time for some slides We will present briefly what is STM32CubeMX and the structure of the Cube library What it is STM32CubeMX? STM32CubeMX application

More information

Detailed Design Review

Detailed Design Review Detailed Design Review Hybrid Audio Dynamics Processor Team Lead: William Sender Jeffrey Auclair Bryan Beatrez Michael Ferry 1 Agenda Problem Definition Problem Statement Customer Requirements Engineering

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

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

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

G80 SoC Datasheet. Where Hardware Meets Software

G80 SoC Datasheet. Where Hardware Meets Software GHI Electronics, LLC 501 E. Whitcomb Ave. Madison Heights, Michigan 48071 Phone: (248) 397-8856 Fax: (248) 397-8890 www.ghielectronics.com G80 SoC Datasheet Where Hardware Meets Software GHI Electronics,

More information