-
Posts
223 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Everything posted by Cristian.Fatu
-
The fact the the project runs in Baremetal is great. It means that you have the proper hardware platform on one hand, and the proper Zmodlib code (which is identical on baremetal and platform) on another hand. So focus on providing the same hardware platform, build the project for linux (be sure you are defining LINUX_APP in your project) and it should work. Good luck.
-
ADC-DAC Loopback Using ZMOD AWG-1411 and ZMOD ADC-1410
Cristian.Fatu replied to Zufaruu's question in Embedded Linux
In order to answer the concern from your initial post, I will tell you some words about the trigger. ZmodADC, regarded as a data acquisition device, can be configured (through ZMODADC1410 Class functions) to start the acquisition immediately or to start the acquisition only when a specific condition is met. This condition is called trigger condition, and may be defined by setting the trigger level, trigger mode, trigger edge and window position. You can read more details about these on https://digilent.com/reference/zmod/scope/zmodadc1410libraryuserguide. The function ZMODADC1410::acquireTriggeredPolling starts by setting the trigger (call to ZMODADC1410::setTrigger), prepares the buffer length, starts the acquisition and then waits until a buffer of acquired data is available by polling the buffer full bit. In this moment acquired data is in the buffer, so the only thing left is to perform the DMA transfer of the acquired data. Below is a explanation of the trigger parameters, taken from the above mentioned user guide.- 3 replies
-
- eclypse z7
- zmod adc
-
(and 1 more)
Tagged with:
-
zmodlib development on Eclypse Z7 without SDK
Cristian.Fatu replied to bpwilliams's question in Embedded Linux
This is great news ! Congratulations, you did it faster than I was expecting. Also, thank you for sharing all the needed knowledge, this is brings great value to this community. -
Generates signal from both channels using ZMOD DAC1411
Cristian.Fatu replied to Zufaruu's question in Embedded Linux
You are always welcome, I am glad to hear that things work. Good luck, and write us when you have questions. -
zmodlib development on Eclypse Z7 without SDK
Cristian.Fatu replied to bpwilliams's question in Embedded Linux
Most probably you will encounter issues due to the Xilinx internal libraries which you aren't linking and Xilinx SDK does. Anyway is a good opportunity for you to learn a lot and enjoy at least stages success. Good luck, and I wish you to enjoy the final success. -
zmodlib development on Eclypse Z7 without SDK
Cristian.Fatu replied to bpwilliams's question in Embedded Linux
I am very glad that you managed to do it. Good luck, and write us if you have more questions. -
Generates signal from both channels using ZMOD DAC1411
Cristian.Fatu replied to Zufaruu's question in Embedded Linux
Hello, In order to use both (or one) channels you have to: 1. Call allocChannelsBuffer to allocate the buffer, according to the desired size bufSize. It allocates a buffer of 32 bits values (for both channels). 2. Populate the buffer: For each sample (0 to bufSize -1), place in buffer a 32 bits value obtained like this: for each desired channels (two or one) call arrangeChannelData or arrangeSignedChannelData, providing a 16 bits value corresponding to that channel. From these 16 bits, only 14 bits will be used. 3. Call setData function to transfer the buffer to the DAC internal IP buffer 4. Call start function to start the DAC generation process. For more details see https://digilent.com/reference/zmod/awg/zmoddac1411libraryuserguide -
zmodlib development on Eclypse Z7 without SDK
Cristian.Fatu replied to bpwilliams's question in Embedded Linux
We only supported the build through the Xilinx tools. Still, I am guessing that you should be able to build using native gcc compiler, having a proper makefile or build command. This might be a difficult task if you are a beginner. Taking a look on the screen caption you sent, it seems that the source files (.c) from zmodlib/Zmod/linux/reg, zmodlib/Zmod/linux/flash/, zmodlib/Zmod/linux/dma are never compiled. They are not mentioned in your command line, you only add .o files. -
zmodlib development on Eclypse Z7 without SDK
Cristian.Fatu replied to bpwilliams's question in Embedded Linux
Hello, What branch have you used after cloning the repository on github ? Please tell us the location you used for cloning the Zmod libraries. Also, be sure that you are cloning the submodules, as zmodlib is a submodule on git. Also, be sure you are defining LINUX_APP in your project. As Ionel mentioned, the fnInitZmod is declared in zmodlib\zmod\reg.h and defined in zmodlib/zmod/linux/reg/reg.c. Please check that the mentioned files are visible under selected branch. For more details please read https://digilent.com/reference/zmod/zmodbaselibraryuserguide -
Hello, There is 1 year warranty for manufacturing defects (see Limited Warranty section of https://digilent.com/shop/shipping-returns/). Best Regards, Cristian Fatu
-
Struggle to tune the scope probes that come with Analog Discovery 2
Cristian.Fatu replied to tomko's question in Test and Measurement
You are welcome. Glad to see that this is finally solved. Best Regards, Cristian -
Struggle to tune the scope probes that come with Analog Discovery 2
Cristian.Fatu replied to tomko's question in Test and Measurement
A new pair of probes were sent to you on 2/20. -
Struggle to tune the scope probes that come with Analog Discovery 2
Cristian.Fatu replied to tomko's question in Test and Measurement
You are welcome. It is good that things are settled now. -
Struggle to tune the scope probes that come with Analog Discovery 2
Cristian.Fatu replied to tomko's question in Test and Measurement
I have requested replacement for your probes. I was informed that replacement probes were send to you. Tell me if you are not receiving them. -
Struggle to tune the scope probes that come with Analog Discovery 2
Cristian.Fatu replied to tomko's question in Test and Measurement
Hello, When contacting Digikey you can inform them that Digilent approves this replacement. Best Regards, Cristian Fatu -
Hello, Yes, we provide support for this product. Unfortunatelly we do not provide repair service, we only replace the boards according to Limited Warranty conditions for manufacturing defects. If you want to have a deeper investigation of your problem, please write a mail to Digilent Support <support.digilent@ni.com> providing the following delivery information: 1. Date of Purchase: 2. Seller: 3. Purchase Order/ Web order Number: Thank you, Cristian Fatu
-
Hello, You are right about the problems in the Zomod IP. Although not fully released, I am sending you the location of the new Zmod IP, where these problems are solved: https://github.com/Digilent/vivado-library/tree/feature/lowlevel_zmod_ips_v2/ip/Zmods Please be aware that this is a beta version. Good luck.
-
The output format is 2's complement. We apologize, there is a mistake in our comment. Regarding the generated value, please verify the coupling. You shouldn't have AC coupling selected. On the other hand I inform you that we are preparing a release of a new version of ZmodIP. Thank you very much for your output.
-
Hello, Plese be patient, we are taking a look on this and we will write you soon. Thank you, Cristian
-
From your description we suspect that something is broken between J20 and SW8. A simple suggestion is to remove the fuse (F5) and replace it with part 0603SFF500F/32-2. If this is not possible you may try to short it.
-
I have sent you on your e-mail the link to the repair utility and the instructions. Since this application should only be used just in emergency situations like this one, we prefer to keep in some kind of "shadow" and we don't want to have it posted on the forum. We provide it when requested.