AnsweredAssumed Answered

error -27 in iio_buffer_refill

Question asked by ENGINEER on Apr 12, 2017
Latest reply on Apr 14, 2017 by ENGINEER

Hi,

     

============buffer size 32 M Samples [30,720,000] ==========5 buffers ========error===========

buffer allocation no issues

iio_buffer_refill 

* Creating non-cyclic 5 IIO buffers with 30.72 MSamples
* Starting IO streaming (press CTRL+C to cancel)
Error refilling buf -27
* Destroying buffers
* Disabling streaming cha

==========buffer size 3.2M samples [3,072,000] ==============200 buffers======== No error========

buffer allocation no issues

............................

* Creating non-cyclic 5 IIO buffers with 30.72 MSamples
* Starting IO streaming (press CTRL+C to cancel)
cyclic dma started 12288000
cyclic dma started 12288000
cyclic dma started 12288000
cyclic dma started 12288000
cyclic dma started 12288000
cyclic dma started 12288000
cyclic dma started 12288000
cyclic dma started 12288000

.............................

 

12288000 bytes = 3,072,000 complex samples = 3,072,000*4

=============================================

 

As stated above, i am getting error -27 in return of iio_refill_buffer, under what circumstances does the API give such error?

 

Thanks

Outcomes