SlideShare a Scribd company logo
1 of 28
Microcontrollers: The brain of the bot
               MSP430

                      Cristina Urdiales
           Departamento de Tecnología Electrónica
                   Universidad de Málaga




     International Summer Workshop on microbotics 2011
INTRODUCTION

What is a microcontroller?
                                           MICROPROCESSOR




    0



                                            MICROCONTROLLER




           International Summer Workshop on microbotics 2011
INTRODUCTION

What is a microcontroller?

       TRADITIONAL CIRCUIT             MICROCONTROLLER




          International Summer Workshop on microbotics 2011
INTRODUCTION
Types of microcontrollers
          ✔
            GENERAL PURPUSE, LOW COST
          ✔
            ULTRALOW POWER CONSUMPTION
          ✔
            AVERAGE PERFORMANCE
          Ethernet, VGA, LCD, Touch-screen, etc…
          Standard architectures, Limited OS
          ✔
           HIGH PERFORMANCE
          Linux, windows CE, …
          High graphic performance
          As powerful as a few years old PC
          ✔
           DSPs
          ✔
           MIXED ARCHITECTURE
          DSP+Microprocessors
          ✔
           FPGAs
          Free Hardware




              International Summer Workshop on microbotics 2011
INTRODUCTION

Ultra low power consumption: Examples

  Devices of limited weight
          • Device fed with button battery (80 mAH). Average power
            consumption: 8 uA => 1,14 years

  Devices requiring long term operation:
          • Wireless sensor network: required life 8 years. Average power
            consumption 200 uA. => Battery required 15.000 mAH.




           International Summer Workshop on microbotics 2011
INTRODUCTION

Ultra low power consumption: Examples




         International Summer Workshop on microbotics 2011
MSP430 TI




114




      International Summer Workshop on microbotics 2011
MSP430 TI




International Summer Workshop on microbotics 2011
MSP430 TI
MSP430x1xx Features
      •   Ultra Low Power Consumption
                - Feeding range: 1,8 – 3,6 V
                - Several ULPC modes
      •   Core: CPU RISC 16 bits
                - High processing performance
                - Memory optimization
      •   High performance periferals: ADCs, TIMERs, USARTs,
          comparers, battery level indicators, I2C ...

      •   Flexible clock system

      •   JTAG integrated

      •   Low cost
              - Development system around 50€
              - Microcontrollers 1-3€


          International Summer Workshop on microbotics 2011
MSP430 TI
MSP430x1xx Features
➢
 Von Neumann architecture
➢
 Data and Address buses: 16 bits
➢
 Data format .B and .W




             International Summer Workshop on microbotics 2011
MSP430 TI            REGISTERS

MSP430x1xx Features
       MEMORY MAP




         International Summer Workshop on microbotics 2011
MSP430 TI
MSP430x1xx Features
       ADDRESS MODES


              MODE            REP.                DESCRIPTION              EXAMPLE         Valid for


       Register                Rn     Data contained in Rn                MOV R10,R11       OyD

       Indexed                X(Rn)   Data in (Rn+X)                     MOV 2(R5),6(R6)    OYD

                                      Data in (PC+X) (X given by
       Symbolic               ADDR                                       MOV EDE, TONI      OYD
                                      assembler)

       Absolute               &ADDR   Data in address ADDR              MOV &EDE, &TONI     OYD


       Indirect ro Register   @Rn     Rn points to data                 MOV @R10,0(R11)       O

       Indirect and                   Rn points to data and increases
                              @Rn+                                      MOV @R10+,0(R11)      O
       automatic increase             after operation

       Inmediate               #N     Data is N                          MOV #45H,TONI        O




           International Summer Workshop on microbotics 2011
MSP430 TI
MSP430x1xx Features
       ADDRESS MODES




               TONI


               EDE
               MOV




        &EDE




                              TONI




         International Summer Workshop on microbotics 2011
MSP430 TI
MSP430x1xx Features
       ADDRESS MODES




         International Summer Workshop on microbotics 2011
MSP430 TI
MSP430x1xx Assembler
  DIRECTIVES

 -#include “namefile”
 -Eg. <msp430x1xx.h> and <intrinsics.h> (only C/C++)
 -”;”: Comment
 - ORG expr; eg. ORG $5000
 -label EQU expr; eg. PI EQU 3.14
 -DS8 size, DS16 size, DS32 size; eg. DS8 7
 -DB val, DW val, DL val; eg. DB 8
 -PUBLIC simbol, EXTERN simbol; ej. PUBLIC myvar EXTERN myvar
 -END




             International Summer Workshop on microbotics 2011
MSP430 TI
MSP430x1xx Assembler
  INSTRUCTIONS




          International Summer Workshop on microbotics 2011
MSP430 TI
MSP430x1xx Assembler
  INSTRUCTIONS




          International Summer Workshop on microbotics 2011
MSP430 TI
MSP430x1xx Assembler
  INSTRUCTIONS




          International Summer Workshop on microbotics 2011
MSP430 TI
MSP430x1xx Assembler
  INSTRUCTIONS (EMULATED)




          International Summer Workshop on microbotics 2011
MSP430 TI
MSP430x1xx Assembler
  INSTRUCTIONS (EMULATED)




          International Summer Workshop on microbotics 2011
MSP430 TI
MSP430x1xx Clock System




                                                              SIGNALS
       SOURCES




                 International Summer Workshop on microbotics 2011
MSP430 TI
    MSP430x1xx Clock System
    LFXT1
•   Low Frecuency: XTS=0 and XTL 32768Hz  Ultra low power comsumption
•   High Frecuency: XTS=1  enhanced processing speed
•   OFF MODE: OSCOFF=1 (LFXT1CLK can't be MCLK or SMCLK)




    XT2 (if available)

•   Equal to LFXT1 in HF mode




                   International Summer Workshop on microbotics 2011
MSP430 TI
    MSP430x1xx Clock System
    LFXT1




    XT2 (if available)

•   Equal to LFXT1 in HF mode




                   International Summer Workshop on microbotics 2011
MSP430 TI
            MSP430x1xx. Módulo de reloj
MSP430x1xx Clock System
      DCO
  •   RC Oscillator  frequency changes with T and V
  •   OFF MODE SCG0=1 (as long as it is not the source for MCLK o
      SMCLK)




 •    Digital Control 
          - Injected current DC  main frequency
           forced by resistor
          - DCOR chooses external or inner resistor
          - Control Rsel0 – Rsel2 => 8 values
          - Bits DCO0-DCO2 => adjust DCOCLK
          - Modulation Bits MOD0 – MOD4  stabilization

            International Summer Workshop on microbotics 2011
MSP430 TI
          MSP430x1xx. Módulo de reloj
MSP430x1xx Clock System
    DCO




          International Summer Workshop on microbotics 2011
MSP430 TI
         MSP430x1xx. Módulo de reloj
MSP430x1xx Power Consumption modes


                                        SCG       SCG        OSCO    CPUO
                   MODE
                                         1         0          FF      FF

              Active                      0         0            0    0
              Low Power 0                 0         0            0    1
              Low Power 1                 0         1            0    1
              Low Power 2                 1         0            0    1
              Low Power 3                 1         1            0    1
              Low Power 4                 1         1            1    1

             •     Bit CPUOFF: (0/1)  MCLK active/stopped
             Bit OSCOFF: (0/1)  LFXT1 active/stopped*
             Bit SCG0:(0/1)  GENERADOR DC active/stopped*
             Bit SCG1:(0/1)  SMCLK active/stopped*
                 *As long as not used for main clock signalsj.




         International Summer Workshop on microbotics 2011
MSP430x1xx InterruptionsMSP430 TI
         MSP430x1xx. Módulo                       de reloj



  1.   (depending on CPU state): Finish current instruction/exit LPC
  2.   Store PC in pile
  3.   Store SR in pile
  4.   Choose highest priority interruption
  5.   Reset interruption flag (if pertaining)
  6.   GIE=CPUOFF=SCG1=V=N=Z=C=0
  7.   Load interruption vector content on PC



                  Recover after RETI




              International Summer Workshop on microbotics 2011
MSP430 TI
          MSP430x1xx. Módulo de reloj
MSP430x1xx Interruptions




          International Summer Workshop on microbotics 2011

More Related Content

What's hot

CodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
CodeWarrior, Linux; OrCad and Hyperlynx; QMS ToolsCodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
CodeWarrior, Linux; OrCad and Hyperlynx; QMS Toolsdjerrybellott
 
BlackHat 2009 - Hacking Zigbee Chips (slides)
BlackHat 2009 - Hacking Zigbee Chips (slides)BlackHat 2009 - Hacking Zigbee Chips (slides)
BlackHat 2009 - Hacking Zigbee Chips (slides)Michael Smith
 
DefCon 2012 - Sub-1 GHz Radio Frequency Security
DefCon 2012 - Sub-1 GHz Radio Frequency SecurityDefCon 2012 - Sub-1 GHz Radio Frequency Security
DefCon 2012 - Sub-1 GHz Radio Frequency SecurityMichael Smith
 
ARM COMPLETE DETAIL PART 4
ARM COMPLETE DETAIL PART 4ARM COMPLETE DETAIL PART 4
ARM COMPLETE DETAIL PART 4NOWAY
 
MPC8313E PowerQUICC II Pro Processor
MPC8313E PowerQUICC II Pro ProcessorMPC8313E PowerQUICC II Pro Processor
MPC8313E PowerQUICC II Pro ProcessorPremier Farnell
 
Atmel microcontrollers-a tmega328-p_datasheet
Atmel microcontrollers-a tmega328-p_datasheetAtmel microcontrollers-a tmega328-p_datasheet
Atmel microcontrollers-a tmega328-p_datasheetAlexTronciu
 
Introduction to Stellaris Family Microcontrollers
Introduction to Stellaris Family MicrocontrollersIntroduction to Stellaris Family Microcontrollers
Introduction to Stellaris Family MicrocontrollersPremier Farnell
 

What's hot (20)

Doc32059
Doc32059Doc32059
Doc32059
 
32059 sistem
32059 sistem32059 sistem
32059 sistem
 
Fx3 s
Fx3 sFx3 s
Fx3 s
 
AVR introduction
AVR introduction AVR introduction
AVR introduction
 
1 Day Arm 2007
1 Day Arm 20071 Day Arm 2007
1 Day Arm 2007
 
Psoc3 text book
Psoc3 text book Psoc3 text book
Psoc3 text book
 
8 bit microcontrollers
8 bit microcontrollers8 bit microcontrollers
8 bit microcontrollers
 
CodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
CodeWarrior, Linux; OrCad and Hyperlynx; QMS ToolsCodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
CodeWarrior, Linux; OrCad and Hyperlynx; QMS Tools
 
BlackHat 2009 - Hacking Zigbee Chips (slides)
BlackHat 2009 - Hacking Zigbee Chips (slides)BlackHat 2009 - Hacking Zigbee Chips (slides)
BlackHat 2009 - Hacking Zigbee Chips (slides)
 
STM32 MCU Family
STM32 MCU FamilySTM32 MCU Family
STM32 MCU Family
 
Atmega8u2 mur
Atmega8u2 murAtmega8u2 mur
Atmega8u2 mur
 
Avr and arm
Avr and armAvr and arm
Avr and arm
 
DefCon 2012 - Sub-1 GHz Radio Frequency Security
DefCon 2012 - Sub-1 GHz Radio Frequency SecurityDefCon 2012 - Sub-1 GHz Radio Frequency Security
DefCon 2012 - Sub-1 GHz Radio Frequency Security
 
Q series brochure_2008-03
Q series brochure_2008-03Q series brochure_2008-03
Q series brochure_2008-03
 
Fx2 n spec
Fx2 n specFx2 n spec
Fx2 n spec
 
ARM COMPLETE DETAIL PART 4
ARM COMPLETE DETAIL PART 4ARM COMPLETE DETAIL PART 4
ARM COMPLETE DETAIL PART 4
 
MPC8313E PowerQUICC II Pro Processor
MPC8313E PowerQUICC II Pro ProcessorMPC8313E PowerQUICC II Pro Processor
MPC8313E PowerQUICC II Pro Processor
 
Atmel microcontrollers-a tmega328-p_datasheet
Atmel microcontrollers-a tmega328-p_datasheetAtmel microcontrollers-a tmega328-p_datasheet
Atmel microcontrollers-a tmega328-p_datasheet
 
A tmega8 l
A tmega8 lA tmega8 l
A tmega8 l
 
Introduction to Stellaris Family Microcontrollers
Introduction to Stellaris Family MicrocontrollersIntroduction to Stellaris Family Microcontrollers
Introduction to Stellaris Family Microcontrollers
 

Viewers also liked

Viewers also liked (16)

Introduccion al msp430
Introduccion al msp430Introduccion al msp430
Introduccion al msp430
 
Tutorial micro MSP430
Tutorial micro MSP430Tutorial micro MSP430
Tutorial micro MSP430
 
Msp strategies in the library
Msp strategies in the libraryMsp strategies in the library
Msp strategies in the library
 
Engineers
EngineersEngineers
Engineers
 
Lecture6
Lecture6Lecture6
Lecture6
 
Microbot
MicrobotMicrobot
Microbot
 
Introducción al microcontrolador MSP430
Introducción al microcontrolador MSP430Introducción al microcontrolador MSP430
Introducción al microcontrolador MSP430
 
Biochip ppt
Biochip pptBiochip ppt
Biochip ppt
 
Introduction to Ti wireless solution: ZigBee
Introduction to Ti wireless solution: ZigBeeIntroduction to Ti wireless solution: ZigBee
Introduction to Ti wireless solution: ZigBee
 
Micro-robotics
Micro-roboticsMicro-robotics
Micro-robotics
 
Micro Robots
Micro RobotsMicro Robots
Micro Robots
 
Ppt
PptPpt
Ppt
 
Introduction to Basic Electronics
Introduction to Basic ElectronicsIntroduction to Basic Electronics
Introduction to Basic Electronics
 
AVR_Course_Day1 basic electronics
AVR_Course_Day1 basic electronicsAVR_Course_Day1 basic electronics
AVR_Course_Day1 basic electronics
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLER
 
NEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATIONNEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATION
 

Similar to Microbots: microcontroller msp430

esp32_datasheet_en.pdf
esp32_datasheet_en.pdfesp32_datasheet_en.pdf
esp32_datasheet_en.pdfNguynTun714731
 
picuc-151108162917-lva1-app6892 (1).pdf
picuc-151108162917-lva1-app6892 (1).pdfpicuc-151108162917-lva1-app6892 (1).pdf
picuc-151108162917-lva1-app6892 (1).pdfARKARAJSAHA1
 
User.manual.lpc11xx.lpc11cxx
User.manual.lpc11xx.lpc11cxxUser.manual.lpc11xx.lpc11cxx
User.manual.lpc11xx.lpc11cxxyateeshk
 
8 interrupt 8051
8 interrupt 80518 interrupt 8051
8 interrupt 8051daniemol
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontrollerthokalpv
 
Bluetooth based home appliances control
Bluetooth based home appliances controlBluetooth based home appliances control
Bluetooth based home appliances controlPROJECTRONICS
 
Live B tech Projects & Industrial Training @Technogroovy
Live B tech Projects & Industrial Training @Technogroovy Live B tech Projects & Industrial Training @Technogroovy
Live B tech Projects & Industrial Training @Technogroovy Technogroovy India
 
8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-train8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-trainJitendra Saroj
 
Course material msp430-for_automatic_control
Course material msp430-for_automatic_controlCourse material msp430-for_automatic_control
Course material msp430-for_automatic_controlBhukya Mangu
 
Original Opto TLP5702 P5702 5702 SOP-6 New TOSHIBA
Original Opto TLP5702 P5702 5702 SOP-6 New TOSHIBAOriginal Opto TLP5702 P5702 5702 SOP-6 New TOSHIBA
Original Opto TLP5702 P5702 5702 SOP-6 New TOSHIBAAUTHELECTRONIC
 
ANALYSIS & DESIGN OF COMBINATIONAL LOGIC
ANALYSIS & DESIGN OF COMBINATIONAL LOGICANALYSIS & DESIGN OF COMBINATIONAL LOGIC
ANALYSIS & DESIGN OF COMBINATIONAL LOGICSupanna Shirguppe
 

Similar to Microbots: microcontroller msp430 (20)

esp32_datasheet_en.pdf
esp32_datasheet_en.pdfesp32_datasheet_en.pdf
esp32_datasheet_en.pdf
 
PIC Microcontrollers
PIC MicrocontrollersPIC Microcontrollers
PIC Microcontrollers
 
picuc-151108162917-lva1-app6892 (1).pdf
picuc-151108162917-lva1-app6892 (1).pdfpicuc-151108162917-lva1-app6892 (1).pdf
picuc-151108162917-lva1-app6892 (1).pdf
 
embedded system bye Sj
embedded system bye Sjembedded system bye Sj
embedded system bye Sj
 
User.manual.lpc11xx.lpc11cxx
User.manual.lpc11xx.lpc11cxxUser.manual.lpc11xx.lpc11cxx
User.manual.lpc11xx.lpc11cxx
 
Iot Workshop NITT 2015
Iot Workshop NITT 2015Iot Workshop NITT 2015
Iot Workshop NITT 2015
 
8 interrupt 8051
8 interrupt 80518 interrupt 8051
8 interrupt 8051
 
Intro to IO-Link
Intro to IO-LinkIntro to IO-Link
Intro to IO-Link
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
Bluetooth based home appliances control
Bluetooth based home appliances controlBluetooth based home appliances control
Bluetooth based home appliances control
 
Live B tech Projects & Industrial Training @Technogroovy
Live B tech Projects & Industrial Training @Technogroovy Live B tech Projects & Industrial Training @Technogroovy
Live B tech Projects & Industrial Training @Technogroovy
 
8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-train8449972 embedded-systems-and-model-of-metro-train
8449972 embedded-systems-and-model-of-metro-train
 
Unit 1
Unit 1Unit 1
Unit 1
 
Course material msp430-for_automatic_control
Course material msp430-for_automatic_controlCourse material msp430-for_automatic_control
Course material msp430-for_automatic_control
 
Original Opto TLP5702 P5702 5702 SOP-6 New TOSHIBA
Original Opto TLP5702 P5702 5702 SOP-6 New TOSHIBAOriginal Opto TLP5702 P5702 5702 SOP-6 New TOSHIBA
Original Opto TLP5702 P5702 5702 SOP-6 New TOSHIBA
 
Wireless Sensor Network
Wireless Sensor NetworkWireless Sensor Network
Wireless Sensor Network
 
Introduction to PIC.pptx
Introduction to PIC.pptxIntroduction to PIC.pptx
Introduction to PIC.pptx
 
ANALYSIS & DESIGN OF COMBINATIONAL LOGIC
ANALYSIS & DESIGN OF COMBINATIONAL LOGICANALYSIS & DESIGN OF COMBINATIONAL LOGIC
ANALYSIS & DESIGN OF COMBINATIONAL LOGIC
 
Pic bluetooth
Pic bluetoothPic bluetooth
Pic bluetooth
 
embedded system
embedded systemembedded system
embedded system
 

More from crisurdiales

Iwann19: A neural network for stance phase detection in smart cane users
Iwann19: A neural network for stance phase detection in smart cane usersIwann19: A neural network for stance phase detection in smart cane users
Iwann19: A neural network for stance phase detection in smart cane userscrisurdiales
 
Aquae Campus 2016: Ghost in the machine
Aquae Campus 2016: Ghost in the machineAquae Campus 2016: Ghost in the machine
Aquae Campus 2016: Ghost in the machinecrisurdiales
 
TedX Malagueta: Robolución (Robolution)
TedX Malagueta: Robolución (Robolution)TedX Malagueta: Robolución (Robolution)
TedX Malagueta: Robolución (Robolution)crisurdiales
 
Ambient Assisted Living (español)
Ambient Assisted Living (español)Ambient Assisted Living (español)
Ambient Assisted Living (español)crisurdiales
 
De viaje con el cuaderno (Travelling with a sketchbook)
De viaje con el cuaderno (Travelling with a sketchbook)De viaje con el cuaderno (Travelling with a sketchbook)
De viaje con el cuaderno (Travelling with a sketchbook)crisurdiales
 
Metrics and Benchmarking for Assisted Wheelchair Navigation
Metrics and Benchmarking for Assisted Wheelchair NavigationMetrics and Benchmarking for Assisted Wheelchair Navigation
Metrics and Benchmarking for Assisted Wheelchair Navigationcrisurdiales
 
Mas de 3000 años de la evolución de la robótica
Mas de 3000 años de la evolución de la robóticaMas de 3000 años de la evolución de la robótica
Mas de 3000 años de la evolución de la robóticacrisurdiales
 
Robots: del autómata al asistente inteligente
Robots: del autómata al asistente inteligenteRobots: del autómata al asistente inteligente
Robots: del autómata al asistente inteligentecrisurdiales
 
Realidades Complemenarias
Realidades ComplemenariasRealidades Complemenarias
Realidades Complemenariascrisurdiales
 
Gadgets del presente y futuro
Gadgets del presente y futuroGadgets del presente y futuro
Gadgets del presente y futurocrisurdiales
 

More from crisurdiales (10)

Iwann19: A neural network for stance phase detection in smart cane users
Iwann19: A neural network for stance phase detection in smart cane usersIwann19: A neural network for stance phase detection in smart cane users
Iwann19: A neural network for stance phase detection in smart cane users
 
Aquae Campus 2016: Ghost in the machine
Aquae Campus 2016: Ghost in the machineAquae Campus 2016: Ghost in the machine
Aquae Campus 2016: Ghost in the machine
 
TedX Malagueta: Robolución (Robolution)
TedX Malagueta: Robolución (Robolution)TedX Malagueta: Robolución (Robolution)
TedX Malagueta: Robolución (Robolution)
 
Ambient Assisted Living (español)
Ambient Assisted Living (español)Ambient Assisted Living (español)
Ambient Assisted Living (español)
 
De viaje con el cuaderno (Travelling with a sketchbook)
De viaje con el cuaderno (Travelling with a sketchbook)De viaje con el cuaderno (Travelling with a sketchbook)
De viaje con el cuaderno (Travelling with a sketchbook)
 
Metrics and Benchmarking for Assisted Wheelchair Navigation
Metrics and Benchmarking for Assisted Wheelchair NavigationMetrics and Benchmarking for Assisted Wheelchair Navigation
Metrics and Benchmarking for Assisted Wheelchair Navigation
 
Mas de 3000 años de la evolución de la robótica
Mas de 3000 años de la evolución de la robóticaMas de 3000 años de la evolución de la robótica
Mas de 3000 años de la evolución de la robótica
 
Robots: del autómata al asistente inteligente
Robots: del autómata al asistente inteligenteRobots: del autómata al asistente inteligente
Robots: del autómata al asistente inteligente
 
Realidades Complemenarias
Realidades ComplemenariasRealidades Complemenarias
Realidades Complemenarias
 
Gadgets del presente y futuro
Gadgets del presente y futuroGadgets del presente y futuro
Gadgets del presente y futuro
 

Recently uploaded

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 

Microbots: microcontroller msp430

  • 1. Microcontrollers: The brain of the bot MSP430 Cristina Urdiales Departamento de Tecnología Electrónica Universidad de Málaga International Summer Workshop on microbotics 2011
  • 2. INTRODUCTION What is a microcontroller? MICROPROCESSOR 0 MICROCONTROLLER International Summer Workshop on microbotics 2011
  • 3. INTRODUCTION What is a microcontroller? TRADITIONAL CIRCUIT MICROCONTROLLER International Summer Workshop on microbotics 2011
  • 4. INTRODUCTION Types of microcontrollers ✔ GENERAL PURPUSE, LOW COST ✔ ULTRALOW POWER CONSUMPTION ✔ AVERAGE PERFORMANCE Ethernet, VGA, LCD, Touch-screen, etc… Standard architectures, Limited OS ✔ HIGH PERFORMANCE Linux, windows CE, … High graphic performance As powerful as a few years old PC ✔ DSPs ✔ MIXED ARCHITECTURE DSP+Microprocessors ✔ FPGAs Free Hardware International Summer Workshop on microbotics 2011
  • 5. INTRODUCTION Ultra low power consumption: Examples Devices of limited weight • Device fed with button battery (80 mAH). Average power consumption: 8 uA => 1,14 years Devices requiring long term operation: • Wireless sensor network: required life 8 years. Average power consumption 200 uA. => Battery required 15.000 mAH. International Summer Workshop on microbotics 2011
  • 6. INTRODUCTION Ultra low power consumption: Examples International Summer Workshop on microbotics 2011
  • 7. MSP430 TI 114 International Summer Workshop on microbotics 2011
  • 8. MSP430 TI International Summer Workshop on microbotics 2011
  • 9. MSP430 TI MSP430x1xx Features • Ultra Low Power Consumption - Feeding range: 1,8 – 3,6 V - Several ULPC modes • Core: CPU RISC 16 bits - High processing performance - Memory optimization • High performance periferals: ADCs, TIMERs, USARTs, comparers, battery level indicators, I2C ... • Flexible clock system • JTAG integrated • Low cost - Development system around 50€ - Microcontrollers 1-3€ International Summer Workshop on microbotics 2011
  • 10. MSP430 TI MSP430x1xx Features ➢ Von Neumann architecture ➢ Data and Address buses: 16 bits ➢ Data format .B and .W International Summer Workshop on microbotics 2011
  • 11. MSP430 TI REGISTERS MSP430x1xx Features MEMORY MAP International Summer Workshop on microbotics 2011
  • 12. MSP430 TI MSP430x1xx Features ADDRESS MODES MODE REP. DESCRIPTION EXAMPLE Valid for Register Rn Data contained in Rn MOV R10,R11 OyD Indexed X(Rn) Data in (Rn+X) MOV 2(R5),6(R6) OYD Data in (PC+X) (X given by Symbolic ADDR MOV EDE, TONI OYD assembler) Absolute &ADDR Data in address ADDR MOV &EDE, &TONI OYD Indirect ro Register @Rn Rn points to data MOV @R10,0(R11) O Indirect and Rn points to data and increases @Rn+ MOV @R10+,0(R11) O automatic increase after operation Inmediate #N Data is N MOV #45H,TONI O International Summer Workshop on microbotics 2011
  • 13. MSP430 TI MSP430x1xx Features ADDRESS MODES TONI EDE MOV &EDE TONI International Summer Workshop on microbotics 2011
  • 14. MSP430 TI MSP430x1xx Features ADDRESS MODES International Summer Workshop on microbotics 2011
  • 15. MSP430 TI MSP430x1xx Assembler DIRECTIVES -#include “namefile” -Eg. <msp430x1xx.h> and <intrinsics.h> (only C/C++) -”;”: Comment - ORG expr; eg. ORG $5000 -label EQU expr; eg. PI EQU 3.14 -DS8 size, DS16 size, DS32 size; eg. DS8 7 -DB val, DW val, DL val; eg. DB 8 -PUBLIC simbol, EXTERN simbol; ej. PUBLIC myvar EXTERN myvar -END International Summer Workshop on microbotics 2011
  • 16. MSP430 TI MSP430x1xx Assembler INSTRUCTIONS International Summer Workshop on microbotics 2011
  • 17. MSP430 TI MSP430x1xx Assembler INSTRUCTIONS International Summer Workshop on microbotics 2011
  • 18. MSP430 TI MSP430x1xx Assembler INSTRUCTIONS International Summer Workshop on microbotics 2011
  • 19. MSP430 TI MSP430x1xx Assembler INSTRUCTIONS (EMULATED) International Summer Workshop on microbotics 2011
  • 20. MSP430 TI MSP430x1xx Assembler INSTRUCTIONS (EMULATED) International Summer Workshop on microbotics 2011
  • 21. MSP430 TI MSP430x1xx Clock System SIGNALS SOURCES International Summer Workshop on microbotics 2011
  • 22. MSP430 TI MSP430x1xx Clock System LFXT1 • Low Frecuency: XTS=0 and XTL 32768Hz  Ultra low power comsumption • High Frecuency: XTS=1  enhanced processing speed • OFF MODE: OSCOFF=1 (LFXT1CLK can't be MCLK or SMCLK) XT2 (if available) • Equal to LFXT1 in HF mode International Summer Workshop on microbotics 2011
  • 23. MSP430 TI MSP430x1xx Clock System LFXT1 XT2 (if available) • Equal to LFXT1 in HF mode International Summer Workshop on microbotics 2011
  • 24. MSP430 TI MSP430x1xx. Módulo de reloj MSP430x1xx Clock System DCO • RC Oscillator  frequency changes with T and V • OFF MODE SCG0=1 (as long as it is not the source for MCLK o SMCLK) • Digital Control  - Injected current DC  main frequency  forced by resistor - DCOR chooses external or inner resistor - Control Rsel0 – Rsel2 => 8 values - Bits DCO0-DCO2 => adjust DCOCLK - Modulation Bits MOD0 – MOD4  stabilization International Summer Workshop on microbotics 2011
  • 25. MSP430 TI MSP430x1xx. Módulo de reloj MSP430x1xx Clock System DCO International Summer Workshop on microbotics 2011
  • 26. MSP430 TI MSP430x1xx. Módulo de reloj MSP430x1xx Power Consumption modes SCG SCG OSCO CPUO MODE 1 0 FF FF Active 0 0 0 0 Low Power 0 0 0 0 1 Low Power 1 0 1 0 1 Low Power 2 1 0 0 1 Low Power 3 1 1 0 1 Low Power 4 1 1 1 1 • Bit CPUOFF: (0/1)  MCLK active/stopped Bit OSCOFF: (0/1)  LFXT1 active/stopped* Bit SCG0:(0/1)  GENERADOR DC active/stopped* Bit SCG1:(0/1)  SMCLK active/stopped* *As long as not used for main clock signalsj. International Summer Workshop on microbotics 2011
  • 27. MSP430x1xx InterruptionsMSP430 TI MSP430x1xx. Módulo de reloj 1. (depending on CPU state): Finish current instruction/exit LPC 2. Store PC in pile 3. Store SR in pile 4. Choose highest priority interruption 5. Reset interruption flag (if pertaining) 6. GIE=CPUOFF=SCG1=V=N=Z=C=0 7. Load interruption vector content on PC Recover after RETI International Summer Workshop on microbotics 2011
  • 28. MSP430 TI MSP430x1xx. Módulo de reloj MSP430x1xx Interruptions International Summer Workshop on microbotics 2011