This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
university:courses:electronics:electronics-lab-14 [20 Sep 2019 16:06] Pop Andreea AD5626 |
university:courses:electronics:electronics-lab-14 [20 Sep 2019 16:12] Pop Andreea |
||
---|---|---|---|
Line 73: | Line 73: | ||
the loaded value can be transferred to the DAC register by strobing the LDAC pin. | the loaded value can be transferred to the DAC register by strobing the LDAC pin. | ||
===== Unipolar output operation===== | ===== Unipolar output operation===== | ||
- | This mode of operation is the basic mode for AD5626. | + | This mode of operation is the basic mode for AD5626. You can verify the god functionality AD5626 according to the unipolar code table of the digital to analog convertor. |
+ | |||
+ | {{ :university:courses:electronics:unipolar_code_table.png?400 |}} | ||
+ | <WRAP centeralign > Figure 7. Unipolar code table of AD5626</WRAP> | ||
===Hardware setup=== | ===Hardware setup=== | ||
- | Connect the pins of AD5626 as shown in figure 7. | + | Connect the pins of AD5626 as shown in figure 8. |
{{ :university:courses:electronics:connections_ad5626.png?600 |}} | {{ :university:courses:electronics:connections_ad5626.png?600 |}} | ||
- | <WRAP centeralign > Figure 7. Connections for Unipolar operation AD5626</WRAP> | + | <WRAP centeralign > Figure 8. Connections for Unipolar operation AD5626</WRAP> |
- | {{ :university:courses:electronics:ad5626_bb_bb.png?600 |}} | + | {{ :university:courses:electronics:ad5626_bb_bb.png?900 |}} |
- | <WRAP centeralign > Figure 8. AD5626 breadboard connections</WRAP> | + | <WRAP centeralign > Figure 9. AD5626 breadboard connections</WRAP> |
Line 93: | Line 96: | ||
The signals of the SPI group channel should resemble the timing diagram of the AD5626 digital to analog converter. | The signals of the SPI group channel should resemble the timing diagram of the AD5626 digital to analog converter. | ||
- | {{ :university:courses:electronics:timing_diagram.png?700 |}} | + | {{ :university:courses:electronics:timing_diagram.png?900 |}} |
- | <WRAP centeralign > Figure 9. AD5626 SPI timing diagram</WRAP> | + | <WRAP centeralign > Figure 10. AD5626 SPI timing diagram</WRAP> |
Now you should configure /LDAC and /CLR signals. | Now you should configure /LDAC and /CLR signals. | ||
Line 105: | Line 108: | ||
{{ :university:courses:electronics:07ff.png?900 |}} | {{ :university:courses:electronics:07ff.png?900 |}} | ||
- | <WRAP centeralign > Figure 10. Pattern generator signals setup</WRAP> | + | <WRAP centeralign > Figure 11. Pattern generator signals setup</WRAP> |
The last step is to open oscilloscope and connect channel 1 to the output of AD5626. Enable channel 1 measurements and enter a value in the "Data" area of SPI. | The last step is to open oscilloscope and connect channel 1 to the output of AD5626. Enable channel 1 measurements and enter a value in the "Data" area of SPI. | ||
- | In figure 11 you can see the output voltage if the data sent through SPI is 7FF. | + | In figure 12 you can see the output voltage if the data sent through SPI is 7FF. |
{{ :university:courses:electronics:vout_ad5626.png?900 |}} | {{ :university:courses:electronics:vout_ad5626.png?900 |}} | ||
- | <WRAP centeralign > Figure 10. AD5626 output voltage for 7FF input.</WRAP> | + | <WRAP centeralign > Figure 12. AD5626 output voltage for 7FF input.</WRAP> |
=====Questions:===== | =====Questions:===== |