Jump to content

Quello

Members
  • Posts

    7
  • Joined

  • Last visited

Quello's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. I found a different workaround. Creating a baremetal application with the ADC AXI adapter and using the zoos library to initialize the ADC. Later I issued a memory read operation from the coefficient registers of the adapter using xsct. Quite a bit more complicated than using the decutil command, but it worked. Thanks for the help though! It would still be great to know why the command is failing to find the i2c device, and how to fix it though. Markus
  2. Hi @artvvb Yes I am booting from a SD using the image provided in the v0.3 release. I.e, I am using decutil version 1.5 Have also tried all the other available image versions Markus
  3. Hi. According to the documentation of Zmod ADC 1410 Low Level Controller IP in order to get the calibration coefficients i am supposed to run "decutil enum" in the terminal on the Eclypse after booting it with the image provided at https://github.com/Digilent/Eclypse-Z7/releases. However, for some reason I am unable to run this command. I get an error saying: ERROR: failed to open file descriptor for I2C device I have tried googling to find more information about this error, but without luck. The --verbose flag also didn't give anything different. If anyone has any idea how to fix this, that would be great! Thanks
  4. I understand. I will think about the best course to take. I am definitely more familiar with SW development than HW development, but learning a new skill never hurts. Your feedback has definitely been helpful. Thank you. I might reach out again if I feel stuck. Again, thanks.
  5. A lot of new considerations here. Thanks, this was very useful. I am currently taking a week off from work. Hopefully I will have some time to think about all of this With regards to what you said about doing a project just using HDL. This sounds like an really interesting direction, however I imagine that, in my case, hoping for anything approaching a finished project sounds somewhat optimistic. Maybe you disagree. The question I really don’t know the answer to is - how long time does it take to learn designing in HDL? I understand that such a question only has one correct answer - it depends. But getting an estimate would be very valuable. Anyways, thanks for taking the time. Really appreciate it.
  6. Hi Zygot. Thanks for the reply, you bring up a lot of important stuff. Let me try to unpack what you say, and try to answer your questions. Could you explain what you meant when you wrote “there are no SYZYGY ADC pods that I know of that support a 100 MHz analog bandwidth of interest”? As far as I’ve understood the diligent ADC can run at 100MHz, giving me a max frequency of 50Hz on the captured signal, right? I don’t remember the exact frequency band of the signal, but you are right. A frequency of over 50MHz cannot be captured correctly. I guess I should have specified a frequency band of 1 to 50 MHz. Was this the point you were making? And also, if I understand you correctly, you are implying that capturing higher frequencies without changing the ADC. I tried reading up a little bit on SYZYGY, and I am guessing that in this case it is integrated on the ADC board (https://www.mouser.com/new/digilent/digilent-zmod-adc1410) ? Anyways, 50MHz is probably good enough, at least as a start. Now let me answer some of your questions. A PD lasts a few microseconds, actually I am unsure what the best way to know how long to measure is - but that’s an digression. I have tried implementing Ethernet in a bare metal project indeed. A gave up after a couple days of interpreting the PHY data sheet, as the xemacps library doesn’t seem to support the Realtek PHY on the board. Some other things that caught my attention. A Baudrate of 921600? I had no idea it was even possible to have such a high baud - that’s sounds great! UART is something I am quite comfortable with at least, compared to Ethernet. Will also look into OTG USB. What do you think is easiest to implement, Ethernet or USB? Also, I would love to hear if you think it is possible to use an OS(Linux or RTOS) and still process the data quick enough( we really don’t want to miss any PDs). Markus
  7. Hi! This summer I will be working as an summer intern. I study cybernetics and robotics. I know C/C++, python, a bit basic electrical engineering, a bit digital design and embedded software development(i have worked quite a bit with AVR chips) , and I am also familiar with ROS(Robot Operating System). I am obviously far from an expert in any of these areas, but I would say I have a solid foundation in them. Anyways, enough about myself. I am writing to this forum because I seek advice. The task handed to me is quite open, and the whole project is really in the start phase. Let my briefly explain what it is I am working on. The goal of the project (not to be completed by the end of my internship) is to develop a prototype sensor for measuring PD(partial discharge in high voltage cables). I do not think I need to spend more time explaining the details about the measuring technique or the physical phenomenon as it is irrelevant for my task. What you need to know is that I will me measuring voltages in the range ca. -1,1 V. The bandwidth that I am interested in is between 1 and 100 MHz. Therefore we need a quick ADVC. It has also been discussed to used an mixer together with a slower ADC, but in the end the choice fell on the Eclypse Z7 because of its fast ADCs( Digilent ADC1410). My task is therefore to somehow use this board for detection of abovementioned PDs and sending information to a host PC (the information could be peak voltage detected, frequency, count of PDs so far, just the fact that the voltage crossed the threshold value, or a combination of these). I have discussed extensively with several employees here about potential solutions, but the more input the better, therefore I would love to hear your opinion on this. Options we have discussed include: 1. coding bare bone, maybe as a start just send a message if a voltage above some threshold value in the abovementioned range have been detected (I implemented a start of this but stopped when I realized how slow UART is - looked at using the Ethernet but that was no fun) 2. Using RTOS with for example LwIP for ethernet communication, sockets. Also this probably makes life a bit easier( I have no experience with RTOS, but I have used ROS - which I naively imagine being somewhat similar) 3. Using Linux(petalinux). This probably makes interfacing with the board the easiest, but I am unsure if it is even possible to manage so much data from Linux, and even if I don't know how(embedded Linux is something I have no experience at all, but I do have experience with both Linux and embedded software). It has also been mentioned that it should be possible to run Linux on one of the arm cores on the Zynq chip and running barebone on the other. This could make it possible to have the best from both worlds - the speed of running barebone and the ease of use that comes with using an OS. 4. Creating an IP block that somehow filters out the voltage measurements that probably belongs to a PD. This idea is pretty open and I haven't spent much time fleshing out how this would work. I would love to learn some FPGA, DPS and VHDL, but this seems like a little ambitious for a summer job(after all its just about 6 weeks). So far, apart from thinking hard, researching and drinking coffee, I have created an vivado project with ZMOD ADC controllers, LP and HP filters. I have written a standalone application that verified that it was all set up correctly. I used a signal generator and printed the output from the filtering over UART and plotted in python. I would love to learn during this summer, but I also would love to have something somewhat finished to show to. It is obviously not expected from me to finish the sensor this summer. As I mentioned I am also a bit time constrained in what I can archive. Based on my experience and available tools what would you guys recommend me spending my time on. Sorry for such a long question. I hope it doesn't scare to many people away. Thanks in advance. -Markus
×
×
  • Create New...