AnsweredAssumed Answered

Digital SPI Potentiometer Linux Driver Problem

Question asked by on Oct 2, 2013
Latest reply on Oct 9, 2013 by larsc


I am working with OMAPL-138 Linux version 2.6.37 and I am using the AD5235 digital trimmer.

I can olny drive one trimmer rdac0, rdac1 insteda doesn,t work. If I write in rdac0 it writes also in rdac1. I think that the driver doesn't work well.

Someone else had the same problem?


I modified the board file in this way:


static struct spi_board_info bfin_spi_board_info[] __initdata = {

#if defined(CONFIG_AD525X_DPOT) || defined(CONFIG_AD525X_DPOT_MODULE)


.modalias = "ad_dpot",

.platform_data = "ad5235",

.max_speed_hz = 2000000,     /* max spi clock (SCK) speed in HZ */

.bus_num = 1,

.chip_select = 3,




Thank you very much.