-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffered acquisition of slow ADC #12
Comments
yep this would be awesome if we could get this feature working on the FPGA. For me it would be important that the frequency is an exact multiple of 125MHz/decimation of the fast ADC. Then one could upload a LUT and the values would be updated periodically. |
Where would you need a LUT with the ADC? Or do you mean a FIFO/ringbuffer? |
A ring buffer needs to be feed by values. We would need a thread on the CPU for that. Better is that you upload the pattern that should be cyclically applied. |
This is the same concept. (just for the fast DAC) |
Well, this is true for the slow DAC but not for the slow ADC/XADC. |
Ahh, I see, sorry for confusing things. Proposal:
Does this sound good? For both we would have to relate the sampling rate to the fast components. |
As far as I can see it this is now a thing, right? |
Yes Slow DAC and FastDAC are now synchronous. SlowDac is buffered with a register |
Wait, I thought we are talking about the slow ADC here. But this seems to be not completely implemented yet, since here it is commented out. |
Ah sorry. ADC I have not changed yet |
Yes, this issue is still open. In Principle we should be able to implement this but we really need to use something like the BRAM and buffer the values there. My feeling is that it should be possible to reach a sampling of about 25kHz with the slow ADCs. What would happen is the the control thread (previously named slow DAC thread) would then not only be responsible for feeding the slow DAC buffer but also the slow ADC buffer. Implementation wise this all seems not to be so complicated. Just like our new PDM but reversed. Both the PDM and the XADC should either use the BRAM or direct memory. In this post: |
Until now, the synchronous acquisition of the slow ADC values is not possible since they are neither buffered nor timestamped. In order to use them properly, this is an important feature. This thread is for discussing possible solutions.
The text was updated successfully, but these errors were encountered: