ytai / ioio

Software, firmware and hardware of the IOIO - I/O for Android
Apache License 2.0
747 stars 355 forks source link

BUG: SPI3 respone data byte 0 #62

Open FMode opened 11 years ago

FMode commented 11 years ago

I have a curious bug in App-IOIO0400: In SPI respones in data byte 0 (the first byte send to Android) Bit5 is copied to Bit4. This only happens in SPI module 3(!)

I can not debug - no pickit3 available. I can only tell that the problem exists in "void SPITasks()" after line "ByteQueuePeekMax(q, msg.args.spi_data.size + 1, &data1, &size1, &data2, &size2);" Because I copied first byte to second byte and compiled firmware.