Eric Peterson

spi data transmission

Discussion created by Eric Peterson on May 8, 2006
Latest reply on May 9, 2006 by bigmac
when i transmit an array of data through the spi the value of the first entry of the array shows up on the receiver for all the array entries. When i use break points the data is transmitted fine, and does what i mentioned earlier when the code is ran at speed. Ive tried delays but it doesnt work. Does anyone know if i have to clear the data register before i use it each time or if there is a trick that i am missing like reading from the register twice. Thanks