Hi,
I am trying to establish SPI comm between two launch pads with 430G2553. Connected as master-slave by 3+Rst wires and powered slave from master by Vcc-Gnd, in IAR environment. Only master is in debug mode.
Used the example program example msp430g2xx3_uscia0_spi_09.c, and 10.c (D.Dang), which has two parts Master, Slave in the two uCs.
The example seems strange as it sends first character from the main program and all others from inside the ISR. This creates an infinite loop...!?? It works as the data is serial numbers and no limits, it goes on until you stop it.
However, I tried to send a Char array, 6 to 8 char, from Master to slave, but no second char sent from inside the ISR. Not even the first Char gets through...! It does not work. All received Cars are stored in local master's flash after being read.. Received nothing.
Next I tried the first char from the main and remaining from inside the ISR with increasing array index i++. It works and goes into infinite loop. My local flash fills up quickly.
Question: Is there a good simple example which demos an array transfer from Master to slave / vice versa....?
Thanks
IR