==== MSP-EXP430G2 Launchpad ==== {{:boards:msp430.jpg?200}} \\ \\ {{boards:msp430g2.jpg?200}} \\ \\ {{boards:msplpmode.jpg?200}} The MSP-EXP430G2 Launchpad from TI is an inexpensive development board that comes with two processors, a 32K crystal, two headers sockets, a usb lead and two stickers. The latest boards come with the MSP430G2553 and the MSP430G2452 processors but the first revision came with the MSP430G2231 and MSP430G2211. === Linux === $ lsusb Bus 001 Device 030: ID 0451:f432 Texas Instruments, Inc. eZ430 Development Tool === Pinout === USB TP3 GND VBUS TP1 J3 = SW UART VCC 3V3 GND P1.0 (LED1) A0 P2.6 XIN P1.1 (UART) A1 TXD P2.7 XOUT P1.2 (UART) A2 RXD TEST P1.3 (S2) A3 (S1) RST P1.4 A4 SDA MISO A7 P1.7 P1.5 A5 SCK SCL MOSI A6 (LED2) P1.6 P2.0 CS P2.5 P2.1 P2.4 P2.2 P2.3 P1.3 P1.0 P1.6 RESET GND S2 LED1 LED2 S1 GND RED GREEN VCC === Launchpad demo === {{:boards:msp430lp.jpg?200}} First install the [[tools:msp430gcc|development]] and [[tools:mspdebug|programming/debugging]] tools. Demo hg clone http://hg.kewl.org/pub/msp430-launchpad/ cd msp430-launchpad make make program The board will flash the LEDs until the button is pressed to enter probe mode. Probe mode sends the binary encoded value of the chip temperature over the communications port. Communication can be tested with picocom picocom -b 2400 /dev/ttyACM0 Or, linux-serial-test -s -R raw -t -p /dev/ttyACM0 It should be noticed that the TI demo was written for devices without a hardware UART and the DIP switches needs to be in the SW UART position to operate. === Crystal === {{:boards:microxtal.jpg?100}} {{:boards:xtal.png?150}} {{:boards:32k.jpg?150}} When attaching the 32768 Hz crystal, R28 and R29 can be removed to disable header access to XIN and XOUT. The through holes can be used to attach a generic [[https://wiki.kewl.org/downloads/Ta-1082.pdf|crystal]] which is easier to solder than the SMD crystal. === Schematics === {{:boards:LaunchPadSheet1.png?200|Debugging and programming}} {{:boards:LaunchPadSheet2.png?200|USB interface}} {{:boards:LaunchPadSheet3.png?200|MSP430 value line device}} === Resources === [[http://www.ti.com/ww/en/launchpad/launchpads-msp430-msp-exp430g2.html|Product page]] [[https://www.ti.com/lit/ug/slau318g/slau318g.pdf|User manual]] [[https://www.ti.com/product/MSP430G2452|MSP430G2452 product page]] [[https://www.ti.com/product/MSP430G2553|MSP430G2553 product page]] [[https://www.ti.com/lit/pdf/slau144|MSP430F2xx, MSP430G2xx Family User's Guide]] [[https://www.ti.com/lit/ug/slau646f/slau646f.pdf|MSP430-GCC user's guide]] [[https://www.argenox.com/library/msp430/|Tutorial]]