This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

what's the diff spi1 and spi3

Other Parts Discussed in Thread: DM3730, ADS7846

Hi

 I'm using dm3730 beagleboard xm rowboat android2.3.4-dsp.

when i use spidev to test my spi,i found the differnce of spi1 and spi3

spi1 could recive the correct datas but spi3  recive zero.

in uboot

/*MCSPI3 */\
    MUX_VAL(CP(ETK_D0_ES2),        (IDIS  | PTD | DIS | M1)) /*MCSPI3_SIMO*/\
    MUX_VAL(CP(ETK_D1_ES2),        (IEN  | PTD | DIS | M1)) /*MCSPI3_SOMI*/\
    MUX_VAL(CP(ETK_D2_ES2),        (IDIS  | PTD | DIS | M1)) /*MCSPI3_CS0*/\
    MUX_VAL(CP(ETK_D3_ES2),        (IEN  | PTD | DIS | M1)) /*MCSPI3_CLK*/\
    MUX_VAL(CP(ETK_D7_ES2),        (IDIS  | PTD | DIS | M1)) /*MCSPI3_CS1*/\
    /*MCSPI1*/\
    MUX_VAL(CP(MCSPI1_CLK),        (IEN  | PTD | DIS | M0)) /*McSPI1_CLK*/\
    MUX_VAL(CP(MCSPI1_SIMO),    (IDIS  | PTD | DIS | M0)) /*McSPI1_SIMO  */\
    MUX_VAL(CP(MCSPI1_SOMI),    (IEN  | PTD | DIS | M0)) /*McSPI1_SOMI  */\
    MUX_VAL(CP(MCSPI1_CS0),        (IDIS  | PTD | DIS  | M0)) /*McSPI1_CS0*/\

in kernel

static struct spi_board_info spidev3_board_info[] = {
    [0] = {
        .modalias        = "spidev",
        .mode           = SPI_MODE_3,
        .bus_num        = 3,
        .chip_select        = 0,
        .max_speed_hz        = 1500000,
        //.controller_data    = &ads7846_mcspi_config,
        .irq            = -1,
        //.platform_data        = &ads7846_config,
    },
};

static struct spi_board_info spidev1_board_info[] = {
    [0] = {
        .modalias        = "spidev",
        .mode           = SPI_MODE_3,
        .bus_num        = 1,
        .chip_select        = 0,
        .max_speed_hz        = 1500000,
        //.controller_data    = &ads7846_mcspi_config,
        .irq            = -1,
        //.platform_data        = &ads7846_config,
    },
};

what are the differences of spi1 and spi3 in rowboat android 2.3.4? and how can i resolve the problem?