Tue May 15, 2012 11:45 am
I believe the MSP430 launchpad can only support relatively low baud rates for serial input (using the timer interrupt to sample the data input one bit at a time), anywhere from 2,400 up to 9,600 depending on the MSP430 clock speed used. It might be a little faster to use a pair of GPIO pins on the PI connected to port inputs on the MSP430, one for data and one for clock and have an interrupt to collect a data bit each time the clock line rises (or falls). A bit more code involved through and I don't know how quickly the PI can bit twiddle it's GPIO lines as presumably there is context switching and device driver code involved. A more sophisticated answer would be an I2C type bus. Connecting GPIO pins assumes of course that both devices are going to be powered from the same power supply to avoid any risk of damage.