Hi,
I am sending a counter value from one msp430 to another on a breadboard connected to two 7 segment LED's. The counter is an incremental counter. The hex value gets displayed on the 7 segment.
When I send data sometimes I get the right results and sometimes the nibbles get swapped or sometimes the increment increases by 2. What seems to be the problem.
The master spi code: http://code.google.com/p/msp430g2-dev/source/browse/master_spi.c
The slave spi code : http://code.google.com/p/msp430g2-dev/source/browse/breadboard_led.c
Appreciate if someone can review and point out mistakes in the code.
Thanks.