Gateway using Odroid-N2 via 40pin->SPI
-
Hello,
I've made necessary changes to MySensors 2.4.0-alpha in order to work on Odroid-N2 SBC running Ubuntu 21.04 with 5.13.0 kernel
Library would have worked if every reference to pin number was at least uint16_t (not uint8_t, like it is). That's because Odroid-N2 have >2^8 pin numbering, and GPIO ranges in 460-490 decimal.I've made my fork@github and pushed odroid-n2 required changes version.
Using polling (non-IRQ) mysgw drains 1.0% cpu time.
Still waiting for interrupt issues to resolve with HK team - hopefully soon.Github repo @ https://github.com/Gobol/MySensors
-
Hello,
i plan to replace RPI 3B and use odroid n2 also via 40 pin SPI bus. Is your library working? Thanks for your work.@Norton yep, it works in polling mode (~1% of cpu).
-
Solved - it was problem with armbian. i changed it to hardkernel´s ubuntu and now it working.
Thanks. -
My repo depends on hardkernel's linux kernel, esp. 4.9.277. It won't work with kernels >4.9 for Odroid N2, because the developers left GPIO subsystem down (no IRQs, no /dev/gpiomem), and it only works partially...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login