Pics of the boosterpack all built out-
Used hot glue to secure the LCD.
Wasn't too bad. The pads used for the transistor's resistors and the switch-debounce resistors are close enough for 0603 but large enough for 1206... barely (need some flux to make the solder reflow up around the pads) but it works. Probably ideal for 0805.
Managed to take a 1x3 right-angle PTH header and bend it into a right-angle SMD header and use that for the SPI MOSI. Very nice having it that way (good call @mbeals !). I opted to forego the backlight-ON header (mainly cause I couldn't repeat the PTH-rightangle to SMD-rightangle trick again without destroying a 1x2 header set) but no biggie, P2.5 still does the trick.
I like having P2.3-P2.5 used for this since P2.0-P2.2 is used by default for my Nordic boosterpack and probably others. Should stack up cleanly.
Verifying it works in USCI mode with a G2553 and the test_terminal.c from the terminal/ subdir of my msp1202 library -- https://github.com/spirilis/msp1202
I did find that the contrast is a bit heavier on this one, though that has nothing to do with the board and everything to do with the LCD. Every one's gonna be different I guess. I manually added a call to ste2007_contrast(8); to lower the contrast (default is 16, range is 0-31)
Code for that:
WDTCTL = WDTPW | WDTHOLD;
DCOCTL = CALDCO_16MHZ;
BCSCTL1 = CALBC1_16MHZ;
BCSCTL2 = DIVS_1; // SMCLK = DCO/2 (8MHz)
//__delay_cycles(8000); // Short delay to let the LCD wake up -- turns out this isn't necessary
// Chip select
P2DIR |= BIT0;
P2OUT |= BIT0; // Drive it high to disable LCD
P2DIR |= BIT5;
P2OUT |= BIT5; // Turn on backlight
msp1202_puts("Hi there my\n");
msp1202_puts("name is Eric.\n");
void test_chipselect(uint8_t onoff)
P2OUT = (P2OUT & ~BIT0) | (onoff & 0x01);