December 27, 2025

Kyu - fix interrupts

Now that I have a clean build of Kyu for the H5 chips, I add the handful of instructions that allow interrupts to work.

And now it responds to characters we type! My guess is that now that we get Rx interrupts from the serial port, things have come alive.

I put printf into the interrupt handlers, first for the timer, then for the serial port, and confirm that both are receiving interrupts as they should (and as they did when running on the H3).

Allwinner H5 versus H3

The H5 is a quad core, 64 bit, Cortex A53 ARM, while the H3 is a quad core, 32 bit, Cortex A7 ARM.

The A53 is at least 20 percent faster at the same clock, which is significant, yet not really a big deal.

What is interesting about the H5 and H3 is that the peripherals in the chip (timers, uart, network, etc.) are identical. The same IO addresses, the same interrupts assignments, and so on. This means that drivers and code that I wrote for the H3 will work without change on the H5.

Given that the H3 has become more or less the flagship port of Kyu (next to the original BBB), it should be a quick and easy path to getting Kyu running nicely on the H5.


Have any comments? Questions? Drop me a line!

Tom's electronics pages / tom@mmto.org