On Sat, Mar 13, 2021 at 12:56 PM Lars-Peter Clausen <lars@xxxxxxxxxx> wrote: > On 3/12/21 5:54 PM, Michel Arruat wrote: ... > > So far we are using our framework named ZIO which was developed more than 10 > > years ago, when IIO was not mature enough to handle high speed constraints, > > large DMA transfer(>256MB) and zero copy. > > Out of curiosity https://ohwr.org/project/zio > > I did have a few discussions with Frederico and Alessandro back in the day > (maybe 6-7 years now) about what can be done to combine IIO and ZIO. > Unfortunately we couldn't quite get agreement on whether it is better to have > one or two frameworks. > > One thing where IIO and ZIO differ is that IIO is more around streaming data, > while ZIO is around packetized data. In ZIO when you capture data you get a > header with metadata. > > But having support for packetized data with metadata in addition to streaming > data is something we wanted to have for IIO for a while now. Just nobody has > implemented it yet. > > I know that there are a few people that use IIO with packetized data, but it is > sort of in a hacky way where the userspace application uses the streaming > interface but captures exactly the number of bytes that are in a packet. This > sort of works, but having proper packetized data support would be nice. I'm wondering if there could be some industrial standard for that, like the MIPI standard for tracing data. -- With Best Regards, Andy Shevchenko