Hi Titus,
I tried the spidev_test application by shorting the MOSI and MISO pins. In this case I receive the first byte as garbage.
Data sent:
01 02 03 04 05 06
07 08 0A 0B 0C 0D
0E 0F 10 11 12 13
14 15 16 17 18 19
1A 1B 1C 1D 1E 1F
20 21 22 23 24 25
26 27
Data received:
00 01 02 03 04 05
06 07 08 0A 0B 0C
0D 0E 0F 10 11 12
13 14 15 16 17 18
19 1A 1B 1C 1D 1E
1F 20 21 22 23 24
25 26
PS: Please refer to the changes in the the file "davinci_spi.c" in my first post.