I'm trying for my project to build up an acquisition system with the Digilent Eclypse z7 board, togheter with the ZMOD ADC1410-105.
I'm currently going through the customization of the baremetal example. What I have to do is to sample a 100s voltage transient.
In particular I would like to sample the first 1ms with the minimum sampling period (10ns), then I'd like to reduce it for the next decades (let's say 100 samples each decade).
At this point I have some questions:
Is there any way I can use to allocate a memory buffer longer than the maximum ADC buffer length?
Currently I'm using malloc(), since the ZMOD libraries have a sort of protection on memory related functions, but I'm not able to store more than 400us of sampled datas
Is it safe to modify the ZMOD libraries?
Is there any way I can change the sampling frequency from the software? Currently the idea is to store a 200us buffer and mediate it in order to obtain the point desidered for the decade. (not yet implemented on the code since the first part of the program is not working)
Here is the code I'm using and the code I'm refering to:
TRANSFER_LEN = 0x2710
main.cpp
Memory function with size protection:
ZMOD protected function I can not use
Sorry for the long question, and sorry for eventual silly mistakes, it's the first time I'm going through these processes and I'm not fully concentrated on this task.
Question
Riccardo
Hello everyone
I'm trying for my project to build up an acquisition system with the Digilent Eclypse z7 board, togheter with the ZMOD ADC1410-105.
I'm currently going through the customization of the baremetal example. What I have to do is to sample a 100s voltage transient.
In particular I would like to sample the first 1ms with the minimum sampling period (10ns), then I'd like to reduce it for the next decades (let's say 100 samples each decade).
At this point I have some questions:
Here is the code I'm using and the code I'm refering to:
TRANSFER_LEN = 0x2710
main.cpp
Memory function with size protection:
ZMOD protected function I can not use
Sorry for the long question, and sorry for eventual silly mistakes, it's the first time I'm going through these processes and I'm not fully concentrated on this task.
Thank you for help.
Riccardo
Link to comment
Share on other sites
18 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now