Our custom board has a Transmit Only SPI device connected to the SPI1 port of the AM3359. I am unable to read the data clocked out of the SPI device from the AM3359. The SPI device is wired to the AM3359 as follows:
SPI1_SCLK -> SCK
SPI1_D0 <- SDO
SPI1_D1 -> CONV (SPI1_D1 configured as GPIO to control conversion bit)
SPI1_CS0 -> EN (SPI1_CS0 configured as GPIO to control device enable bit)
The mux registers are configured as follows:
44e10990: 00000003 00000023 00000007 00000007 ....#...........
SPI1 is configured as single channel master with the channel configured as follows:
SPI sysconfig=0x00000015 addr=0x481a0110
SPI mod control=0x00000003 addr=0x481a0128
SPI config=0x12111789 addr=0x481a012c
SPI status=0x00000047 addr=0x481a0130
SPI control=0x00000001 addr=0x481a0134
SPI receive=0x00000000 addr=0x481a013c
Using a logic analyzer (below) I am able to see data being clocked out of the SPI device but as stated previously am unable to read this data from the channel receive register of the AM3359. I have tried all SPI modes (0..3) with no success. Suggestions on how to resolve this would be appreciated.