MSP 430 Teaching Materials UBI Chapter 3 Hardware
MSP 430 Teaching Materials UBI Chapter 3 Hardware Development tools Texas Instruments Incorporated University of Beira Interior (PT) Pedro Dinis Gaspar, António Espírito Santo, Bruno Ribeiro, Humberto Santos University of Beira Interior, Electromechanical Engineering Department www. msp 430. ubi. pt >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt
Contents UBI q Hardware development tools: § e. Z 430 -F 2013 MSP 430 USB Stick Development § e. Z 430 -RF 2500 MSP 430 USB Stick Development § MSP 430 FG 4618/F 2013 Experimenter’s board § MSP-EXP 430 F 5438 board § MSP-FET 430 Flash Emulation Tool § Wireless expansion (Chipcon’s RF transceiver chip) § Third party hardware development tools q Quiz >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 2
Starter kit: e. Z 430 -F 2013 (1/3) UBI q MSP 430 USB stick development tool is used to design and run projects on ‘F 2013 hardware; q A project can be implemented as a stand-alone system or integrated into the user’s own system by detaching the removable target board; q The USB port provides sufficient power to operate the MSP 430 without requiring an external power supply. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 3
Starter kit: e. Z 430 -F 2013 (2/3) UBI q All 14 input/output pins on the MSP 430 F 2013 are accessible on the MSP-EZ 430 D target board for easy debugging and interfacing to peripherals; q One of these input/output pins is connected to an LED for visual feedback; q Device features and integrated peripherals: § 16 -MIPS performance; § 16 -bit Sigma Delta ADC; § 16 -bit timer; § Watchdog timer; § Brownout detector; § USI module supporting SPI and I 2 C; § 5 low power modes (0. 5 μA standby). >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 4
Starter kit: e. Z 430 -F 2013 (3/3) UBI q Board features: § Development tool including a USB debugging interface and detachable F 2013 target board; § LED indicator; § Removable USB stick enclosure; § Debugging interface supports development with all MSP 430 F 20 xx devices. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 5
Starter kit: e. Z 430 -RF 2500 (1/3) UBI q USB-based MSP 430 wireless development tool to evaluate the MSP 430 F 2274 microcontroller and CC 2500 2. 4 -GHz wireless transceiver; q e. Z 430 -RF 2500 T target board: an out-of-the box wireless system that may be used with the USB debugging interface, either as a stand-alone system or incorporated into an existing design; q Able to remotely send and receive data from a PC using the MSP 430 Application UART. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 6
Starter kit: e. Z 430 -RF 2500 (2/3) UBI q Device features and integrated peripherals: § 16 -MIPS performance; § 200 -kbps 10 -bit SAR ADC; § Two built-in Op-Amps; § Watchdog timer, 16 -bit Timer_A 3 and Timer_B 3; § USCI module supporting UART/LIN, (2) SPI, I 2 C, or Ir. DA; § 5 low-power modes (700 n. A in standby); § 2. 4 -GHz radio-frequency (RF) transceiver; § Programmable data rate up to 500 kbps; § Low current consumption. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 7
Starter kit: e. Z 430 -RF 2500 (3/3) UBI q Board features: § Highly integrated, ultra-low-power MSP 430 MCU with 16 -MHz performance; § USB debugging and programming interface featuring a driverless installation; § 18 available development input/output pins; § 2 LEDs for visual feedback; § Interruptible push button for user feedback. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 8
Starter kit: Experimenter’s board (1/4) UBI q Features: § MSP 430 F 2013; § MSP 430 FG 4618; § Compatible with TI’s wireless evaluation modules. q Combining 2 MCUs provides nearly every MSP 430 peripherals available. q Needs a MSP-FET 430 for development >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 9
Starter kit: Experimenter’s board (2/4) UBI q Devices features and integrated peripherals; § 12 -bit DAC; § 12 -bit SAR ADC; § 16 -bit Sigma Delta ADC; § Operational Amplifiers; § Direct Memory Access (DMA); § Hardware Multiplier; § LCD Controller; § Communication Interfaces: SPI, UART, I 2 C, Ir. DA. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 10
Starter kit: Experimenter’s board (3/4) UBI q Board features: § Microphone; § Buzzer; § LCD; § Capacitive touch sensing interface; § 2 x push buttons, S 1 and S 2; § 4 Light Emitting Diodes (LEDs); § Prototyping area; § RS 232 communication interface; § 2 x JTAG Programming interfaces; § 3. 5 mm headphone jack. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 11
Starter kit: Experimenter’s board (4/4) UBI q Block diagram: >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 12
Starter kit: MSP-EXP 430 F 5438 (1/9) UBI q MSP-EXP 430 F 5438: § F 5438. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 13
Starter kit: MSP-EXP 430 F 5438 (2/9) UBI q MSP-EXP 430 F 5438: § MSP 430 F 5438. q New features: § Power Management Module (PMM); § Unified Clock System (UCS); § System (SYS) modules; § Expanded memory/peripheral mapping § Peripheral module enhancements. q Enhanced performance § 20 bit address capability; § 32 bit Hardware Multiplier. q This board provides the wide range of F 5438 peripherals. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 14
Starter kit: MSP-EXP 430 F 5438 (3/9) UBI q Device features and integrated peripherals § Device: MSP 430 F 5438: • 256 k. B + 512 k. B flash memory; 16 k. B RAM. § >> Contents Integrated peripherals: • Three 16 -bit timers; • 12 -bit SAR Analogue-to-Digital Converter; • Direct Memory Access (DMA); • Hardware multiplier (supporting 32 -Bit operations); • Universal Serial Communication Interfaces (USCI): Enhanced UART Supporting Auto-Baudrate; Ir. DA Encoder and Decoder; Synchronous SPI; I 2 C™; • Real time clock module with alarm capabilities; • Temperature sensor; • Up to 87 I/O pins. Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 15
Starter kit: MSP-EXP 430 F 5438 (4/9) UBI q The MSP 430 F 5438 supports I 2 C and SPI protocols using the USCI and the USI peripherals; q This protocol is used for inter-processor communication; q The link can be disconnected in hardware allowing these peripherals to be used for other communication purposes. § Programming and Debugging: • Can be programmed using any MSP 430 Flash Emulation Tool (MSP-FET 430 x. IF); § Wireless expansion: • Compatible with TI Wireless CCxxx. XEMK Evaluation Modules, such as the CC 2500 EMK. • Compatible with TI e. Z-RF 2500. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 16
Starter kit: MSP-EXP 430 F 5438 (5/9) UBI q The demo board has various system clock options that support low and high frequencies. q The MSP 430 F 5438 has integrated an Unified Clock System that provides different clock sources: § Three low-frequency sources: • LFXT 1; • Internal Very Low Power/Low Frequency Oscillator (VLO); • Internal Reference Oscillator (REFO). § Internal Digitally Controlled Oscillator (DCO) / Frequency Locked Loop (FLL) for highspeed operation: • FLL reference selectable from LFXT 1, REFO, or XT 2. § ACLK/SMCLK/MCLK can all be driven from any source; § Dedicated MODOSC (internal) used for modules like Flash controller, ADC, among others. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 17
Starter kit: MSP-EXP 430 F 5438 (6/9) UBI q Board features: § 32. 768 k. Hz crystal oscillator; § Digital I/O ports connectors populated; § Microphone: The microphone is enabled/disabled via a port pin connected to the MSP 430 F 5438; § LCD: The integrated Hitachi HD 66753 (168 x 132 -dot Graphics LCD Controller/Driver with Bit-operation Functions). More information on the LCD can be obtained from the manufacturer’s datasheet; § Joystick; >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 18
Starter kit: MSP-EXP 430 F 5438 (7/9) UBI q Board features: § 2 x push buttons, S 1 and S 2: Connected to the interrupt capable MSP 430 F 5438 digital I/O port, P 2; § Two Light Emitting Diodes (LEDs) primarily used for display purposes. Connected to the interrupt capable MSP 430 F 5438 digital I/O port, P 1; § JTAG Programming Interface; § 2 or 3 -axis accelerometer (Analog Devices ADXL 322/330). The 3 -axis accelerometer is not populated. More information on the accelerometer can be obtained from the manufacturer’s datasheet; >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 19
Starter kit: MSP-EXP 430 F 5438 (8/9) UBI q Board features: § 3. 5 mm headphone jack; § Mini USB connector; § Three Radio Frequency (RF) connectors (SPI interface). • RF 1 and RF 2 provide connection to the TI’s wireless evaluation modules header: CCxxx. XEMK boards; • RF 3 provides connection to the e. Z 430 -RF 2500. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 20
Starter kit: MSP-EXP 430 F 5438 (9/9) UBI q MSP-EXP 430 F 5438 demo board jumper and connectors locations: >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 21
MSP-FET 430 Flash Emulation Tool (1/6) UBI q The flash emulation tool (FET) allow the application development on the MSP 430 MCU; q There available two debugging interfaces: § USB port: MSP-FET 430 UIF; § Parallel port: MSP-FET 430 PIF. q MSP-FET 430 UIF flash emulation tool: >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 22
MSP-FET 430 Flash Emulation Tool (2/6) UBI q Are used to program and debug the MSP 430 in-system through the: § 4 -wire JTAG interface: MSP-FET 430 PIF and MSP-FET 430 UIF; § 2 -wire JTAG interface (Spy Bi-Wire): MSP-FET 430 UIF. q These debugging tool interface the previously presented MSP 430 hardware development tools to the included integrated software environment (CCE or IAR) and includes code to start an application. q Both MSP-FET 430 supports development with all MSP 430 flash devices. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 23
MSP-FET 430 Flash Emulation Tool (3/6) UBI q Device features: Feature MSP-FET 430 UIF MSP-FET 430 PIF Supports all MSP 430 flash-based devices (F 1 xx, F 2 xx, F 4 xx, F 5 xx) X X Allows JTAG security fuse blow to protect code X Adjustable target supply voltage 1. 8 and 3. 6 volts at 100 m. A X Fixed 2. 8 -V target supply voltage X 4 -wire JTAG debug protocol X 2 -wire JTAG (Spy-Bi-Wire) debug protocol X Supported by CCE X X Supported by IAR X X >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt X 24
MSP-FET 430 Flash Emulation Tool (4/6) UBI q Hardware Installation: § Use the USB cable (MSP-FET 430 UIF) or the 25 -conductor cable (MSP-FET 430 PIF) to connect the FET interface module to a USB port or to the parallel port of the PC. § The necessary driver for accessing the ports (USB or parallel) is installed automatically during CCE installation. § If the install wizard starts automatically for the MSPFET 430 UIF, it will open the "Found New Hardware Wizard" window. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 25
MSP-FET 430 Flash Emulation Tool (5/6) UBI q Hardware Installation: § Click "Next". The Hardware Wizards try to find the driver in the system. § If does not find it, select "Install from a list or specific location" and follow the prompts and point the wizard to the driver files normally located in C: Program FilesTexas Instruments MSP 430_USB_DRIVERS_v 3 (this is the default location unless another installation directory was specified during CCE installation). § During installation, Windows may show a warning that the driver is not certified by Microsoft. Ignore this warning and click "Continue Anyway". >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 26
MSP-FET 430 Flash Emulation Tool (6/6) UBI q Hardware Installation: § The wizard installs the driver files and it will show a message when it has finished the installation of the software for "MSPFET 430 UIF (TI USB FET) Adapter" (or "MSP 430 Application UART"). >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 27
Wireless expansion (Chipcon’s RF transceiver chip) (1/4) UBI q Experimenter’s boards support the TI’s wireless evaluation modules header: CCxxx. XEMK boards. q The transceiver modules are connected to the USART of the MSP 430 FG 4618 and of the MSP 430 F 5438 configured in SPI mode: • The CC 2420 EMK supports the 802. 15. 4/Zigbee standard; • The CC 1100 EMK may be configured to work at an RF carrier frequency of up to 868 MHz; • The CC 2500 EMK/CC 2420 EMK at an RF carrier frequency of 2. 4 GHz. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 28
Wireless expansion (Chipcon’s RF transceiver chip) (2/4) UBI q CC 1100 EMK Evaluation Module 868 MHz: § The evaluation kit in combination with a CC 1100 development kit; § This evaluation kit includes CC 1100 EM 868 MHz modules and antenna; § The CC 1100 EMs are add-on daughter boards that require a CC 1100 -1150 DK development kit for evaluation and development; § It allows performing RF measurements; § Using Smart. RF® Studio, the radio ICs can be configured with parameters that suit the intended application and easily measure sensitivity, output power and other RF parameters. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 29
Wireless expansion (Chipcon’s RF transceiver chip) (3/4) UBI q CC 2420 EMK Evaluation Module IEEE 802. 15. 4/Zigbee § The CC 2420 is a true single-chip 2. 4 GHz 802. 15. 4 compliant RF transceiver designed for low-power and low-voltage wireless applications; § The CC 2420 EMK evaluation kit in combination with a CC 2420 development kit is a powerful and flexible tool specifically designed to evaluate the RF performance of the CC 2420 and to minimize the time spent on evaluation; § This evaluation kit includes two CC 2420 EM modules and antennas; § The CC 2420 EM are add-on daughter boards that require a CC 2420 DK or CC 2420 DBK development kit for evaluation and development. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 30
Wireless expansion (Chipcon’s RF transceiver chip) (4/4) UBI q CC 2500 EMK Evaluation Module 2. 4 GHz: § The CC 2500 EM evaluation modules are provided with antennas; § These evaluation modules are add-on daughter boards that require a CC 2500 development kit for evaluation and development; § It allows to do range testing (PER testing) and transfer data from one PC to another using the Smart. RF® 04 DK, in order to evaluate how well the Smart. RF® 04 products fit the intended application; § It allows performing RF measurements. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 31
UBI Third party hardware development tools (1/3) q Texas Instrument’s Third-Party Network of several independent companies provides hardware development tools for TI’s line of MSP 430 Ultra-Low Power Microcontroller products; q The hardware tools provided by such companies concern: § Development Boards/Evaluation modules (EVMs); § Production Programming Tools; § Hardware Reference Design; § Designer’s kits; § Adapters/Support Components. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 32
UBI Third party hardware development tools (2/3) q There are several third party MSP 430 hardware development tools; q Its use depends on the specific needs of the user, since different manufacturers provide different starter kits, benefiting the use of several peripherals in detriment of others; q In a first approach, Softbaugh and Olimex provide a large quantity of the most general starter kits, providing feedback user interface, like LCD, LED, buttons and others; q Additionally, Softbaugh provides RF boards (packet radio module for point-to-point and star networks, Zigbee stacks, among others). >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 33
UBI Third party hardware development tools (3/3) q Consult the TI MSP 430 Ultra-Low-Power Microcontrollers (MCU) internet page, on the Third-Party Network to check for changes or updates to the information posted concerning the Third-Party Hardware Tools (Development Boards/EVMs, Production Programming Tools, Hardware Reference Design, Designer’s kits, and Adapters/Support Components). >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 34
Quiz (1/5) UBI q 1. The e. Z 430 -F 2013 USB stick has which type of Analogue-to-Digital Converter: (a) 10 -bit SAR; (b) 16 -bit Sigma/Delta; (c) 12 -bit SAR; (d) Slope. q 2. In addition to the communication interfaces provided by the e. Z 430 -F 2013 USB stick, the e. Z 430 -RF 2500 provides which of the following: (a) UART/LIN, SPI; (b) I 2 C, Ir. DA; (c) UART/LIN, Ir. DA; (d) SPI, I 2 C. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 35
Quiz (2/5) UBI q 3. In addition to the interfaces provided by the e. Z 430 F 2013 USB stick, the e. Z 430 -RF 2500 has the which of the following user interfaces: (a) 2 LED, 1 touch button and 14 development pins; (b) 1 LED, 2 touch buttons, and 21 development pins; (c) 2 LEDs, 2 touch buttons, and 10 development pins; (d) 1 LED, 1 touch button and 7 development pins. q 4. The MSP 430 devices populated in the Experimenter’s board are: (a) MSP 430 FG 4618 and MSP 430 F 2013; (b) MSP 430 FG 4619 and MSP 430 F 2013; (c) MSP 430 FG 4618 and MSP 430 F 2274; (d) MSP 430 FG 4618 and MSP 430 F 2003. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 36
Quiz (3/5) UBI q 5. The FG 4618/F 2013 Experimenter’s board user interfaces are: (a) Microphone, Buzzer, LCD, Capacitive touch sensing, 2 push buttons, 4 LEDs, Prototyping space, headphone jack; (b) Microphone, Buzzer, LCD, Potentiometers, Capacitive touch sensing, 2 push buttons, 4 LEDs, headphone jack; (c) Microphone, LCD, Potentiometers, Capacitive touch sensing, Joystick, 4 LEDs, Prototyping area, headphone jack; (d) Microphone, Buzzer, LCD, pressure sensor, accelerometer, 2 push buttons, 4 LEDs, Prototyping space. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 37
Quiz (4/5) UBI q 6. The MSP-EXP 430 F 5438 demo board has: (a) 3 timers and 2 SAR ADCs; (b) 2 timers and 2 SAR ADCs; (c) 3 timers and 1 SAR ADC; (d) 2 timers and 1 SAR ADC and 1 SD ADC. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 38
Quiz (5/5) UBI q Answers: § 1. (b) 16 -bit Sigma/Delta. § 2. (c) UART/LIN, Ir. DA. § 3. (d) 1 LED, 1 touch button and 7 development pins. § 4. (a) MSP 430 FG 4618 and MSP 430 F 2013. § 5. (a) Microphone, Buzzer, LCD, Capacitive touch sensing, 2 push buttons, 4 LEDs, Prototyping area, headphone jack. § 6. (c) 3 timers and 1 SAR ADC. >> Contents Copyright 2009 Texas Instruments All Rights Reserved www. msp 430. ubi. pt 39
- Slides: 39