MSP-EXP430G2 LaunchPad

MSP430 development platform

  • Документация
    • On-board emulation for programming & debugging
    • General purpose LEDs and pushbuttons
    • 20-pin, BoosterPack-compliant pins
    • DIP Socket for plugging in various MSP430G2xx microcontroller devices
    • 2 MSP430 microcontroller devices
      • MSP430G2553 – Up to 16MHz, 16kB Flash, 512B RAM, 8ch 10-bit ADC, integrated timers, serial communication module (USCI — I2C, SPI, HW UART), comparator, interruptible GPIO & capacitive sense I/O ports.
      • MSP430G2452 – Up to 16MHz, 8kB Flash, 256B RAM, 8ch 10-bit ADC, integrated timers, serial communication module (USI — I2C, SPI), comparator, interruptible GPIO & capacitive sense I/O ports.
    • 2 LaunchPad stickers
    • Mini-USB cable
    • External 32kHz crystal from Microcrystal (optional)
    • Много примеров.
 
  • MSP430G2553IN20 – 16 MHz, 16kB flash, 512b SRAM, 16 GPIO, 2 таймера 16-bit, UART, SPI, I2C, 8 каналов ADC 10-bit
  • MSP430G2452IN20 – 16 MHz, 8kB flash, 256b SRAM, 16 GPIO, 1 таймер 16-bit, SPI, I2C, 8 каналов ADC 10-bit, (софтварный UART)
static const uint8_t A0 = 0;
static const uint8_t A1 = 1;
static const uint8_t A2 = 2;
static const uint8_t A3 = 3;
static const uint8_t A4 = 4;
static const uint8_t A5 = 5;
static const uint8_t A6 = 6;
static const uint8_t A7 = 7;
static const uint8_t A10 = 10; // special. This is the internal temp sensor

// VCC 1| |20 GND
// (A0) P1.0 2| |19 XIN
// (A1) P1.1 3| |18 XOUT
// (A2) P1.2 4| |17 TEST
// (A3) P1.3 5| |16 RST#
// (A4) P1.4 6| |15 P1.7 (A7) (SCL) (MISO) depends on chip
// (A5) P1.5 7| |14 P1.6 (A6) (SDA) (MOSI)
// PWM P2.0 8| |13 P2.5 PWM
// PWM P2.1 9| |12 P2.4 PWM
// PWM P2.2 10| |11 P2.3 PWM
//

// Pin names based on the silkscreen
//
static const uint8_t P1_0 = 2;
static const uint8_t P1_1 = 3;
static const uint8_t P1_2 = 4;
static const uint8_t P1_3 = 5;
static const uint8_t P1_4 = 6;
static const uint8_t P1_5 = 7;
static const uint8_t P2_0 = 8;
static const uint8_t P2_1 = 9;
static const uint8_t P2_2 = 10;
static const uint8_t P2_3 = 11;
static const uint8_t P2_4 = 12;
static const uint8_t P2_5 = 13;
static const uint8_t P1_6 = 14;
static const uint8_t P1_7 = 15;

static const uint8_t RED_LED = 2;
static const uint8_t GREEN_LED = 14;
static const uint8_t PUSH2 = 5;
static const uint8_t TEMPSENSOR = 10; // depends on chip