Java Device I/O library that is portable across Single Board Computers and microcontrollers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos / Pico. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
Using NanoPi Duo, Armbian and JDK 17 I run:
MmapGpioPerfTest shows 2.5 MHz, but on oscilloscope it's actually 556 KHz. Same results with GpioPerfTest.