Jump to content

attila

Technical Forum Moderator
  • Posts

    6,956
  • Joined

  • Last visited

Posts posted by attila

  1. Do you want to generate 100MHz rectangular signal, with 5ns low and 5ns high ?
    The AD3 system frequency is adjustable up to 125MHz. With this it could generate pulse up to 62.5MHz
    As you can see in the earlier screenshots the rise/fall time are ~20ns so a 20 MHz square wave would be more like a sine wave than a square wave.
    (The red square wave in the second screenshot was the digital loopback capture of AWG/DAC data, but the analog output is always slower, attenuated...)

    See 5,10,20,25MHz square waves

    image.png

    image.png

    image.png

    image.png

    image.png

    image.png

     

     

     

  2. Hi @QTang

    Each DIO can generate custom pattern up to device buffer size (up 32ki) even at different rates.
    The Play mode with DigitalDiscovery reads samples (1,2,3,4,8,16 bit) from deep DDR-RAM (up to 256MiB), so these are output at the same rate for the given number of DIOs. This can be used for finite or infinite run (with pattern repeat).

  3. Hi @attila,

    I wanted to reach out for some help with the waveforms SDK. Any help would be much much appreciated!

    I have two ADP3450s and all 8 analog input channels on them are being used to record signal measurements. I want the two ADP3450s to trigger and start recording simultaneously with manual input from my laptop. My problem is I'm unable to decipher the meanings of the different functions like FDwfDeviceTriggerSet, FDwfAnalogInTriggerSourceSet etc. How do I implement this in python?

    What I want to do is use one of the ADP3450s to receive the trigsrcPC signal and then use one of its trigger pins (connected to the second device) to send that trigger signal to the other ADP3450 such that both can start recording simultaneously. I'm unsure of how to set up the trigsrcPC correctly on the first device, how to set up the trigger pin as an output for sending the signal to the second device, how to correctly configure the signal to be sent between the devices, and then how to correctly receive that transmitted signal as the trigger on the second device.

    Thank you so much in advance!

  4. Hi @eradarhughes

    It could be a powering issue, the USB supply voltage drops and the device gets reset.
    Try using powered hub or 5VDC auxiliary power for the AD3.

    By the way, you can set a parameter to continue running on close, so the device will continue to generate the output after device close and app exit.
    ...
    dwf.FDwfParamSet(DwfParamOnClose, 0) # 0 = rundwf.FDwfDeviceOpen
    dwf.FDwfDeviceOpen... 
    ...
    dwf.FDwfDigitalOutConfigure...
    dwf.FDwfDeviceCloseAll()
    exit

  5. Hi @fleanme

    Yes, it is possible.
    The device implements logic analyzer and pattern generator. The protocols (UART,SPI,I2C...) use generator device resource to send and analyzer to receive data, so one protocol/setup can be used at a time. The SPI signals can be assigned to any DIO. When switching between the used IOs make sure not to cause glitch on the output with: pull-up from device or external, or configure the DIO properly using digital/static-io functions.
    The Digital Discovery beside 16 DIOs also has 24 DIN lines which can be used only for logic analyzer, high speed capture, deep memory and DIO voltage adjustment.
    If you need analog signals you may also consider the Analog Discovery 3 which has 16 DIOs, 2 oscilloscope, 2 AWG, +/- supplies, but less memory and fixed 3.3V DIOs

    image.png

    image.png

    image.png

  6. Hi @constantina

    https://www.google.com/search?q=inductor+resonant+frequency
    A coil is not an ideal inductor. It can be modeled with series resistance and parallel capacitance, or with additional components if you want to be more precise. As the frequency increases, the impedance of the inductor increases and the impedance of the capacitor decreases. The crossing point is the self resonant frequency. The inductance should be measured at lower frequencies, before this point. Like here 1mH with 1k reference around 100kHz, between 20k and 200kHz. If you want to measure it at lower frequency use lower reference resistor value.

    image.png

    image.png

×
×
  • Create New...