cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
665465
Visitor
Visitor
4,613 Views
Registered: ‎07-10-2016

performance issue about reading xadc values via IIO framework

Hello,

      I want to read 10 xadc channel values in linux and I've tried to follow the guide xapp1182 , which shows the method of accessing adc value via axi and IIO framework.  The problem is that the speed of reading file (like in_voltage9_vpvn_raw.)  is too slow if  i want to read it continuously . I have to keep doing things fopen and  fclose every time I want a new value from that file. 

    Is there any advice about how to improve reading performance via IIO framework , or any other method I can try. I am considering  

 xapp1183 ( axi-dma ) . But it doesn't show how add auxillary channels. Cause I need 10 channels operating at the speed about 100khz every channel.
 
Regards...
Tags (4)
0 Kudos
Reply
2 Replies
pvenugo
Moderator
Moderator
4,599 Views
Registered: ‎07-31-2012

Hi,

 

Did you try modifying XADC wizard by adding more aux channels in xapp 1183 design?

 

Regards

Praveen


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply
665465
Visitor
Visitor
4,553 Views
Registered: ‎07-10-2016

Thanks,Praveen

 

      Seems I have to modify axi_xadc_dma driver in xapp1183 cause it configures xadc to "single channel mode" and only VnVp enable channel .What's more some modifications to the xilinx_ip_adapter_v1_00 ip may be needed too ?

 

Regards

Jimmy

0 Kudos
Reply