StudentAmsterdam

Members
  • Content Count

    17
  • Joined

  • Last visited

About StudentAmsterdam

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. StudentAmsterdam

    Least PL logic intensive data gathering

    @D@n First off thanks for the assistance again. I am just missing the part how to do this, I can see how you set an output of a led using the PS and the AXI GPIO, but if i want to send 16bits of data by using the AXI gpio. Do i need to constraint the AXI gpio to different outputs and just read them out 1 by 1 or something? Or how does a 32bit width output work :S
  2. StudentAmsterdam

    Least PL logic intensive data gathering

    So maybe when starting this I was a tad optimistic.. I managed reading out the Xadc on the PS-side and tweaking my PL-side delta sigma converter some more. However i'm struggling with getting the measured Xadc value over to a vector to use in my PL-side. I tried a bunch of different approaches like: Youtube Tutorial, Jeff Johnson, AXI DMA, Microzed chronicles AXI DMA. And several others, but for some reason I can't get any of them to work. Even by using a simple block diagram and using the PS DRAM example codes to check writing to the DRAM isn't giving any results. For the past weeks I have been reading up on all the latest AXI datasheets but without succes. Can someone point me in the right direction? To repeat myself, my goal is to send a 16 bit value over from the PS side to the PL side. thanks in advance EDIT: edit: I was trying to learn more about using the GPIO pins, and came across the following video: https://www.youtube.com/watch?v=JPVTVNtJ7R4Which is basically exactly the same as interfacing LEDs or buttons through ps side.Is it possible to just make add a 16 bit wide axi gpio block to the design and interface it through xpar axi gpio 0 device through the PS block???
  3. StudentAmsterdam

    XADC PS side, zybo zynq

    Cool, I keep you posted. Thanks a lot. EDIT: Managed to get it to work by updating vivado to the latest version and modifying the source code from the forum thread @jpeyron suggested. Thanks a lot
  4. StudentAmsterdam

    XADC PS side, zybo zynq

    hey @jpeyron, I also did not follow the block program directly. Did you get the Lab3 program to work? Then I might just have made a stupid mistake somewhere and will carefully go through each step again. Otherwise i will try your other suggested option and link to forum thread. Thanks in advance
  5. StudentAmsterdam

    XADC PS side, zybo zynq

    Dear All, For the first time im trying to get the XMOD working with the PS side and print the values in a terminal. I tried a bunch of tutorials like the microzed chronicles.. I ended up using the tutorial posted as attachment, as attechments I also included my sourcecode and block design. I tried debugging by making several prints and I know the code works untll at least the "Test2" printf. During the build, no errors or anything appear. So i'm a bit confused into finding out where it all goed wrong. xadc.pdf design_1.pdf lab3.pdf
  6. StudentAmsterdam

    Least PL logic intensive data gathering

    Yes I am aware of the limitations and max ratings of the Xadc and the IO pins. Thanks all for the help, I think I am still gonna try to receive data from the XADC by using the ARM, and send this data to the FPGA. It might not be the best or cleanest way, but I think it has a lot of educational value in both interfacing between the ARM and FPGA and learning how to use the XADC. Its a toy project after all. I have read that it is possible for the ARM to communicate with the Xadc through the internal Jtag connection, Maybe store this value in the BRAM and read it with the FPGA. Doesnt sound like least intenstive data gathering anymore but hopefully a lot of learning experiences.
  7. StudentAmsterdam

    Least PL logic intensive data gathering

    I want to use the ARM so I can later on add arithmetic functions like noise and complex calculations to the waveform, that is why i want the ARM to output the bitstream to the fpga. Because as far as my knowledge goes, The ARM is a better choice for doing calculations with cos() and other complex functions.
  8. StudentAmsterdam

    Least PL logic intensive data gathering

    If understood correctly, I would be able to use the XADC connected to the CPU to read out the analog value. Then use the BRAM to interface the value between the CPU and FPGA side? Is this correct?
  9. StudentAmsterdam

    Least PL logic intensive data gathering

    Dear D@n, Your approach is a drastic overhaul of the entire system, I would like to keep my current Delta Sigma Modulator design. To elaborate some more, the waveform is now produced by a DDS in which I can change the frequency by setting a 24-bit register controlling the frequency. I have attached two pictures of testing the Delta Sigma Modulator design. All I like to do is being able to change this 24-bit value by using a 20 turns accuracy potentiometer. Nevertheless is the FM signal a very interesting project, which I will definitely use for one of my other ongoing projects
  10. StudentAmsterdam

    Basys3 PMod voltage output

    The problem is most likely that the regular output pins can't deliver a high enough current to power the Arduino. "Copied from Basys2 post" First, the max output current varies depending on how the FPGA is configured. It can be configured to support a max of 16 mA output current. I am pretty sure the same thing applies to the Basys3 as it does to most microcontrollers. You should consider using the FPGA only to switch a power supply rail on and off. There is plenty of posts on the internet how to do this, including this for example. Good luck PS: note that these I/O pins have a 200 ohm resistor in series. This will reduce the voltage on these I/O pins as you increase the current.
  11. StudentAmsterdam

    Least PL logic intensive data gathering

    Dear all, I hated the fact the Zybo Zynq does not have a proper D/A converter on its own. So I programmed a VHDL 1-bit delta sigma modulator according to this Link. The delta sigma modulator is working as a charm, but I want to be able to set the frequency of the waveforms i am generating. I want to set the frequency of the waveform by using an 1-10V input signal. I am okay with C and VHDL but I have never used the block designs or Zynq IP & GPIO Blocks.. The PMOD connector connected to the fpga is already in use so I guess my options are. Use a external microcontroller with ADC and use SPI to the PS part of the zybo zynq. Use the XADC connect it to the PS and of course use a voltage divider or something Microcontroller and just bit bang the values directly to the PL side Are there any suggestions on the easiest way of doing this ? ps: Is it possible to do something similar to interrupts in VHDL
  12. StudentAmsterdam

    Using Open CV with Zybo board

    Dear @Alejandro Wolf did you ever get to finish the cleanup or translation of the tutorial ? Else im going to try using google translate to get it to work would love to have openCV running on zybo
  13. StudentAmsterdam

    Amplifying NCO signals Zedboard

    Dear All, I have a Zedboard question. Im trying to generate a sine by using the Zynqbook NCO IP. Everything seems to be working but the amplitude of the sine is too low. Im generating a sign with the NCO and I then send it to the Line Out port which is hooked up to an oscilloscope. Ive already tried increasing the audio mixer and output volume of the Line out ports and mixers but this doesnt seem to change a lot. Anyone has any idea how to amplify or generate a sine wave? Thanks in advance
  14. StudentAmsterdam

    Zybo ZYNQ Beginners help

    I keep getting the same message also when I try this: https://www.youtube.com/watch?v=MRbMq_Mh7dk Does anyone know what causes the message or how to fix it
  15. StudentAmsterdam

    Zybo ZYNQ Beginners help

    Well first off I feel so stupid that I didn't look at that tutorial better, ive read it several times but the how to add the board section didnt quite get through i guess. The tutorial seemed to be going perfect until the very end. all my screens exactly match the tutorial But when im writing the .elf file to the hardware i get this error message at 36% MMU section translation fault at com.xilinx.sdk.targetmanager.internal.TM.run_ps7_init(TM.java:1073) at com.xilinx.sdk.debug.core.XilinxAppLaunchConfigurationDelegate.runTargetSetup(XilinxAppLaunchConfigurationDelegate.java:486) at com.xilinx.sdk.debug.core.XilinxAppLaunchConfigurationDelegate.runApplication(XilinxAppLaunchConfigurationDelegate.java:588) at com.xilinx.sdk.debug.core.XilinxAppLaunchConfigurationDelegate.launch(XilinxAppLaunchConfigurationDelegate.java:296) 23:14:59 ERROR : Unexpected error while launching program. java.lang.RuntimeException: Error while running ps7_init method. Cannot Read from target note this only happens if I launch it on hardware (GDB) if I run it on hardware (system debugger) The code does seem to work at least the LEDS and buttons