Well, toggling python using gpiod is around 6.5KHz for one pin and about 
half that for two.  Which is what you expect since it's looped.


On Monday, August 10, 2020 at 2:37:36 PM UTC-4 Dennis Bieber wrote:

> On Mon, 10 Aug 2020 09:58:36 -0700 (PDT), in
> gmane.comp.hardware.beagleboard.user "Mark A. Yoder"
> <[email protected]> wrote:
>
> >I've been looking through *gpioset.c*, but it's rather involved so I 
> >haven't figured it out yet.
> >
> >Could the python *libgpiod* be rewritten to use just on call to set the 
> >pins so there isn't a delay?
> >
>
> For the most part, the Python library is just a wrapper of the C
> library.
>
> The Python gpiod_LineBulk_set_values invokes gpiod_line_set_value_bulk
> which, at line 848 of
> https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/lib/core.c
> operates using a loop.
>
>
> -- 
> Dennis L Bieber
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/e5d43f18-0e3f-4a72-91f1-85dad7917b08n%40googlegroups.com.

Reply via email to