Re: [sigrok-devel] Sample buffer size limit

2025-10-18 Thread strom.mikael--- via sigrok-devel
> On Sep 22, 2025, at 6:26 PM, ttnp--- via sigrok-devel > wrote: > > Hi Mikael, > > did You find the description in HACKING? > Hi Matthias, yes, but it was of limited help. The problem I face is finding out what is the expected behavior of the driver. Regards, Mike

Re: [sigrok-devel] Sample buffer size limit

2025-09-22 Thread strom.mikael--- via sigrok-devel
> On Sep 22, 2025, at 10:58 PM, Shawn Walker wrote: > > I think (based on my fuzzy memory from my raspberrypi-pico driver), that you > can enforce a max limit by having a SR_CONF_LIMIT_SAMPLES key inside of the > config_list. At least that seems to be what worked for me in > libsigrok/src/ha

Re: [sigrok-devel] Sample buffer size limit

2025-09-22 Thread Shawn Walker
I think (based on my fuzzy memory from my raspberrypi-pico driver), that you can enforce a max limit by having a SR_CONF_LIMIT_SAMPLES key inside of the config_list. At least that seems to be what worked for me in libsigrok/src/hardware/raspberrypi-pico/api.c. What I also remember is that the driv

Re: [sigrok-devel] Sample buffer size limit

2025-09-22 Thread ttnp--- via sigrok-devel
Hi Mikael, did You find the description in HACKING? Matthias On Mon, 2025-09-22 at 05:41 +0800, strom.mikael--- via sigrok-devel wrote: > Hi, > > I’m writing a driver for a logic analyzer I designed. The unit samples 16bit, > up to 128MSp @100MHz and store data in local DDR3 memory. > > I str

[sigrok-devel] Sample buffer size limit

2025-09-21 Thread strom.mikael--- via sigrok-devel
Hi, I’m writing a driver for a logic analyzer I designed. The unit samples 16bit, up to 128MSp @100MHz and store data in local DDR3 memory. I struggle to understand the API. I try to limit the buffer size to 128MSp, preferably using a drop down with discrete buffer sizes I define. I’ve tried