AnsweredAssumed Answered

problems with spidev chipselect in 2011R1

Question asked by pez3 on Dec 8, 2011
Latest reply on Dec 9, 2011 by Aaronwu

hello...

 

after a uclinux-dist switch from 2010R1 to 2011R1 i encountered some problems with spi chipselect.

 

i have two digital potentiometers hanging on the spi (CS1 and CS6) of my cm-bf527.

 

before switching dist cs is beeing managed perfectly (CS1 is LOW if CS2 is high and counterwise).

 

IMAG0006.jpg

 

but in 2011R1 there are always both CS lines low... and i don't know how to tell the spidev driver to do it right

 

IMAG0005.jpg

 

the spidev section of my boardfile looks like this:

 

#if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE)
    {
        .modalias = "spidev",
        .max_speed_hz = 3125000,     /* max spi clock (SCK) speed in HZ */
        .bus_num = 0,
        .chip_select = 1,
        .controller_data = &spidev_chip_info,
    },
        {
        .modalias = "spidev",
        .max_speed_hz = 3125000,     /* max spi clock (SCK) speed in HZ */
        .bus_num = 0,
        .chip_select = 6,
        .controller_data = &spidev_chip_info,
    },
#endif

 

 

can anybody help me with solving my problem?

thank you for your help

 

greets peter

Outcomes