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

Re: AD9222 SPI Configuration

$
0
0

Dear Mr. Blanchard,

 

I sincerely apologize for the lateness of this reply.

 

Register 0x04 = 0x0F and Register 0x05 = 0x0F specify that all eight channels are enabled for actions from subsequent local SPI instructions. The output test modes are invoked using Register 0x0D. The various available output test modes are listed in Table 16 of the datasheet, in the description line for Register 0x0D.

 

For example, if you wanted to put the AD9222 into the test mode that outputs a checkerboard on all channels, you would do the following:

Register 0x04 = 0x0F (Channels E - H activated for next action, this is default so this is not needed unless the value was changed from the default)

Register 0x05 = 0x0F (Channels A - D activated for next action, this is default so this is not needed unless the value was changed from the default)

Register 0x0D = 0x04 (selects output test mode with Checkerboard pattern, for channels previously activated for register instructions, in this case all eight channels)

Register 0xFF = 0x01 (transfer bit invokes previous SPI instructions. I'm not sure this is needed in this case, but it does not hurt to do this.)

 

Please let me know if you have any questions regarding this. If the above makes sense, please give it a try and let me know if this works.

 

Again, I'm very sorry about the late reply.

 

Please take care,

 

Doug


Viewing all articles
Browse latest Browse all 24339

Trending Articles



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