i.MX287 and AD5235 digital potentiometer

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX287 and AD5235 digital potentiometer

1,117 次查看
danbocko
Contributor I

Hi,

Trying to use the i.MX287 SSP in the SPI mode and program the AD5235 digital potentiometer.
The AD5235 requires a 24-bit data-word (3 bytes).  I have not been able to configure the 287 to send out 3 bytes while Chip Select is under SSP control. I tried using a GPIO line as the Chip Select, but the results were inconsistent probably due to timing issues. The timing diagram is an example of the SPI data that the AD5235 is expecting. (GPIO implementation)

SPI1.PNG

Any suggestions are appreciated.

Thanks

Dan

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

 

 

0 项奖励
回复
1 回复

1,110 次查看
jamesbone
NXP TechSupport
NXP TechSupport

You can try with a linux driver based on SPIDEV,  like the one mention in the AD web page

 

https://wiki.analog.com/resources/tools-software/linux-drivers/misc/dpot

 

 

0 项奖励
回复