I am having a Zybo Z7-20 Board and I want to read from the XADC the digitalized voltages as fast as possible in my embedded linux (petalinux 2018.2)-environment.
In my eyes I should read the voltages directly from user space. My problem now, if I read with my application code from /dev/iio:deviceX I only get rubbish or nothing.
I know that it is necessary to add sometimes librarys to read from user space. Is it also in this case possible and if yes which library do I have to add? Or is there a much more simple way?
Btw I already created a driver and it is working, but to slow because opening/closing is taking in my case to much time.
Question
HelplessGuy
Hello everyone,
I am having a Zybo Z7-20 Board and I want to read from the XADC the digitalized voltages as fast as possible in my embedded linux (petalinux 2018.2)-environment.
In my eyes I should read the voltages directly from user space. My problem now, if I read with my application code from /dev/iio:deviceX I only get rubbish or nothing.
I know that it is necessary to add sometimes librarys to read from user space. Is it also in this case possible and if yes which library do I have to add? Or is there a much more simple way?
Btw I already created a driver and it is working, but to slow because opening/closing is taking in my case to much time.
Thanks for every help!
Greetings from the helpless guy
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.