Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
university:courses:electronics:electronics-lab-14 [23 Sep 2019 10:12] – AD5626 bipolar output operation Pop Andreeauniversity:courses:electronics:electronics-lab-14 [25 Jun 2020 22:07] (current) – external edit 127.0.0.1
Line 56: Line 56:
 Change the digital pattern. Try the Random pattern and open the FFT window on the scope. You can also load custom patterns by making a plain text csv file with a column of numbers ranging from 0 to 255 (for the 8 bit wide bus). Load your custom pattern and see what happens. Change the digital pattern. Try the Random pattern and open the FFT window on the scope. You can also load custom patterns by making a plain text csv file with a column of numbers ranging from 0 to 255 (for the 8 bit wide bus). Load your custom pattern and see what happens.
  
-Here are some pre-made waveform files you can try: Sine, Triangle, Gaussian pulse etc. [[ https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/analogdevicesinc/education_tools/tree/master/m2k/import_waveforms/waveforms_pg | waveforms_pg]]+Here are some pre-made waveform files you can try: Sine, Triangle, Gaussian pulse etc. [[downgit>education_tools/tree/master/m2k/import_waveforms/waveforms_pg | waveforms_pg]]
 =====AD5626 12-bit nanoDAC===== =====AD5626 12-bit nanoDAC=====
  
Line 92: Line 92:
 <WRAP centeralign > Figure 8. Connections for Unipolar operation AD5626</WRAP> <WRAP centeralign > Figure 8. Connections for Unipolar operation AD5626</WRAP>
  
-{{ :university:courses:electronics:ad5626_bb_bb.png?900 |}}+{{ :university:courses:electronics:ad5626_bb_bb.png?6900 |}}
 <WRAP centeralign > Figure 9. AD5626 breadboard connections</WRAP> <WRAP centeralign > Figure 9. AD5626 breadboard connections</WRAP>
  
Line 98: Line 98:
 ====Procedure==== ====Procedure====
 Open Scopy and enable the positive power supply to 5V. in Pattern generator you should configure the DAC input signals according to the timing diagram of AD5626 presented in datasheet. Open Scopy and enable the positive power supply to 5V. in Pattern generator you should configure the DAC input signals according to the timing diagram of AD5626 presented in datasheet.
-Start by configuring SPI signals. Create a group channel with DIO0, DIO1 and DIO2. If the connections were done as in figure 8 then DIO0 is the clock signal, DIO2 the data signal and DIO0 the /CS signal. +Start by configuring SPI signals. Create a group channel with DIO0, DIO1 and DIO2. If the connections were done as in figure 8 then DIO1 is the clock signal, DIO2 the data signal and DIO0 the /CS signal
 +Pay attention that the digital channels are in the right order when grouped as SPI (see figure 11)
 It is specified in datasheet that the clock width for both high and low states should be at least 30 ns. From this you can compute the clock period and therefore maximum frequency.  It is specified in datasheet that the clock width for both high and low states should be at least 30 ns. From this you can compute the clock period and therefore maximum frequency. 
 Set the clock frequency to 1Mhz. Set CLK Polarity and CLK Phase to 1.  Set the clock frequency to 1Mhz. Set CLK Polarity and CLK Phase to 1. 
Line 161: Line 162:
  
 ====Procedure==== ====Procedure====
-You can configure the DAC for unipolar output operation as described above. For the voltage reference use the channel 1 of the Signal generator  set for constant 2,5V .+You can configure the DAC for unipolar output operation as described above. For the voltage reference use the channel 1 of the Signal generator  set for constant 2.5V .
 On the second channel of the oscilloscope visualize the voltage at the output of the opamp. On the second channel of the oscilloscope visualize the voltage at the output of the opamp.
 You can visualize both the voltages for unipolar operation and bipolar operation at the same time on the oscilloscope. You can visualize both the voltages for unipolar operation and bipolar operation at the same time on the oscilloscope.
Line 189: Line 190:
 <WRAP round download> <WRAP round download>
 **Resources:** **Resources:**
-  * Fritzing files: [[ https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/analogdevicesinc/education_tools/tree/master/m2k/fritzing/dac_bb | dac_bb]] +  * Fritzing files: [[downgit>education_tools/tree/master/m2k/fritzing/dac_bb | dac_bb]] 
-  * LTspice files: [[ https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/analogdevicesinc/education_tools/tree/master/m2k/ltspice/dac_ltspice | dac_ltspice]]+  * LTspice files: [[downgit>education_tools/tree/master/m2k/ltspice/dac_ltspice | dac_ltspice]]
 </WRAP> </WRAP>
  
university/courses/electronics/electronics-lab-14.1569226377.txt.gz · Last modified: 23 Sep 2019 10:12 by Pop Andreea