Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 22625

Re: Interfacing ARM and AD8403(Digital Potentiometer)

$
0
0

Hi, Bhaageerathi.

 

According to your previous posts, you were able to write to the part.

for RDAC1, data  01=520  (SPI->DR=0x0001)

     data  02=568                  (SPI->DR=0x0002)

     data  03=610                   (SPI->DR=0x0003)

for RDAC2, data  01=529      (SPI->DR=0x0101)

     data  02=549                   (SPI->DR=0x0102)

     data  03=598                      (SPI->DR=0x0103)

 

for RDAC3, data  01=520    (SPI->DR=0x0201)

     data  02=563                 (SPI->DR=0x0202)

     data  03=611                (SPI->DR=0x0203)

 

for RDAC4, data  01=501   (SPI->DR=0x0301)

     data  02=543                   (SPI->DR=0x0302)

     data  01=593                   (SPI->DR=0x0303)

On your new way of writing to the part, I notice that you separated the address and the data. What exactly is the difference between the two methods and what are you trying to achieve?

 

Regards,

Mark


Viewing all articles
Browse latest Browse all 22625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>