hi all
we have a custom board based on OMAP 3530, which has been tested with
booting linux,android operating systems, the design is based on beagleboard rev c development board.
we have brought out SPI3 pins on the board and the muxing of that has been done in the u-boot as below
MUX_VAL(CP(ETK_D3_ES2), (IEN | PTU | EN | M1)) /*MCSPI3_CLK*/\
MUX_VAL(CP(ETK_D0_ES2), (IEN | PTD | EN | M1)) /*MCSPI3_SIMO*/\
MUX_VAL(CP(ETK_D1_ES2), (IEN | PTD | DIS | M1)) /*MCSPI3_SOMI*/\
MUX_VAL(CP(ETK_D2_ES2), (IEN | PTD | EN | M1)) /*MCSPI3_CS0*/\
MUX_VAL(CP(ETK_D7_ES2), (IEN | PTD | EN | M1)) /*MCSPI3_CS1*/\
by running a linux after integrationg spi related codes we got three devices
spidev3.0 spidev3.1 and spidev4.0in the /dev directory.. and tested this with spidev_test.c by shorting SIMO and SOMI
but could not get the desired output . all pins are showing voltage 0.
the output is as below
root@beagleboard:~/spi_codes# ./spidev3.1
spi mode: 0
bits per word: 8
max speed: 500000 Hz (500 KHz)
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
00 00
kindly help us to tackle this issue
thank u