Jump to content

Dante

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by Dante

  1. Hi All, 

    In Analog discovery 2 wavegen is it possible to force the waveform to be displayed for a specific number of periods? I would like to set it to one period so that when I export it one cycle is exported. 

     

    For instance this is 50Khz sine wave displaying one cycle,
    image.thumb.png.0567eb6133d4e39fec657d75bbcd778e.png
     
    And this is 100Khz displaying 2 cycles. Can I force it to make it display 1 cycle only? 
    image.thumb.png.62a3460ab078a195c1913afb811df544.png

    Best,
    Dante. 

  2. I am currently using the Digilent Arty A7-100T development board. I would like to use the onboard flash (S25FL128SAG) to store user data. From the schematic I can see the CLK pin of the flash is connected to the configuration clock of the FPGA (CCLK_0) and it is not addressable through the constraint file. 
     

    • Is it possible to control or access the CCLK_0 pin after the FPGA configuration phase for SPI communication?
    • If direct control of CCLK_0 is not feasible, what alternative methods can I use to communicate with the SPI flash?
    • Has anyone dealt with a similar situation and can offer insights or share their approach?

     

    Best,
    Dante. 

  3. Thank you for your effort please let me know if you find a working solution. 
    One possible problem can be that the Protocol.SPI.Write() function doesn't behave exactly as SPI write through the protocol instrument. I have tested with another Display module with SPI interface and I get different results when using the function through the script instrument vs executing a master write through the protocol instrument. 

  4. Thank you JColvin, 

    After running the initialization sequence you provided(I have the power_off sequence commented out for this test), I still get 2.8V at VCC pin of DISP1(Referring to the digilent schematic PmodOLED.sch). Shouldn't I get more than 7Volts at this node if the initialization is working correctly? 

  5. Thanks for you response JColvin, 
    I have been looking at those libraries as reference as well as Digilent Pmod OLED reference manual and the datasheet of ssd1306. 
    Currently I am using the script tool in waveforms to initialize the display but haven't had any success.
    I am not sure if I am connecting the Power pins correctly and would appreciate it if you can give me some feedback: 

    VCC -> Positive supply pin of AD2 (3.3Volts)
    GND -> Ground pin of AD2
    VBAT/RESET/DC/VDCC -> Digital IO pins 

    When I run the attached script the voltage at VCC pin of display does not reach 7volts which makes me think something is wrong with my initialization/how I'm supplying power to the module.

    oled_Init.js

  6. Hi all, I am developing a test setup with Analog Discovery 2. I am trying to interface PmodOled with Analog Discovery2 to provide some visual indications for the tests. Are there any libraries/examples that you can provide? I have been trying with Waveforms Scripts as well as python using Waveforms SDK but I haven't had any success. 

  7. Hello, 

    I am trying to export Wavegen Channel1 data to a .csv file through the script. 
    For my example I have a square wave as shown below:


    image.thumb.png.5d04531599c096ed0e4b709a8189ff95.png

    When I export this data manually it works as expected but I run this script :
    Wavegen1.Channel1.Export("C:/acquisition.csv")

    I get a .csv file with no data information as shown below:
    image.png.186b3413ec8f3daecc769039ffc2cebc.png

     

    What do I need to change in my script so that the data is exported as well?

    Thank you.

     

     

×
×
  • Create New...