Search found 3 matches

by raider
2024-04-20 8:47
Forum: Luckfox Pico-RV1103/RV1106
Topic: Luckfox fast GPIO
Replies: 4
Views: 3561

Re: Luckfox fast GPIO


I hope this information is helpful for your exploration of high-speed level conversion with GPIO.


Thank you very much! I tested performance of GPIO from inside kernel (and thus not userspace).

Using in-kernel linux GPIO API gpiod_set_value (e.g. GPIO consumer interface). It gives about 4 ...
by raider
2024-04-12 15:18
Forum: Luckfox Pico-RV1103/RV1106
Topic: Luckfox fast GPIO
Replies: 4
Views: 3561

Re: Luckfox fast GPIO

Dear @Crocodile, thank you very much for your detailed answer!

I wrote a kernel module and got to use Libgpio and also directly gpio_chip->set(...) function. My problem is that a call to such methods for setting GPIO pin takes about 500 nanoseconds. But by the way I have to write a protocol that ...
by raider
2024-04-08 21:50
Forum: Luckfox Pico-RV1103/RV1106
Topic: Luckfox fast GPIO
Replies: 4
Views: 3561

Luckfox fast GPIO

I tryed wiki GPIO using sysfs https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-GPIO and it is absolutely slow. For example, I need to maintain high signal for 700ns, but calling write/fwrite is about 20000ns. So I failed to implement the desired GPIO protocol.

Question 1. Is there a documented ...