SPDIF HAT for NanoPi Neo

Spdif HAT for NanoPi Neo
Spdif HAT for NanoPi Neo

Last Month, we had the chance to work on several audio projects, based on the tiny NanoPi NEO SBC from FriendlyArm, which features 256/512MB RAM AllWinner H3 Quad core CPU and it is supported in Buldroot and Linux Kernel version 4.14.

For one of the projects that we used to work on , we had to increase the maximum sampling rate of the SPDIF interface of the NanoPi Neo / H3 , to support higher Sampling rates – above 48KHz ( which was the maximum sampling rate in the SPDIF Kernel driver for H3 in Linux Kernel 4.14 ) and to implement AirPlay (via ShairPort-Sync) and DLNA ( via upmpd-cli ) Media Renderer on the NanoPI, using the SPDIF audio interface as audio output, turning the NanoPi NEO into a Hi-Res Network Audio Media Renderer

We have patched the driver to support higher sampling rates of up to 768KHz , 24bits and we have designed a HAT ( NanoHat-SPDIF – Open Source Software and Open Source Hardware addon board for NanoPi NEO / NEO2) in order to prove the concept and to publish the technical solution in our GitHub repository

In addition, we have provided the schematics, buildroot source code and sdcard images for other people to try the solution or if they develop similar Hi-Res Audio Products to ease their work and give them a starting point.

In addition to the above we have provided also an Eagle footprint for NanoPi NEO / NEO 2 hats (in the above GitHub repository) . In case some of you develop a custom addon boards for NanoPi NEO / NEO2 the above should help you and speed up your design.

The NanoPi NEO SPDIF HAT is available for purchase from the links below:

You can read more about the NanoPi NEO / NEO2 Eagle FootPrint, by following the link below:

Stackable Pin Headers and Eagle Library for NanoPi NEO/NEO2

NanoPi NEO / NEO2 Stackable headers with extra spacers

You are developing a custom HAT / Addon board for the NanoPI NEO / NEO2 Series of embedded SBCs?

Hardware Group Ltd offers Stackable Pin Headers with extra spacers, sutable for the NanoPi NEO / NEO2 series of embedded development boards from FriendlyArm. These pin headers will allow you to design Hats for NanoPi NEO / NEO2 for direct panel mount (due to the extra spacers which will lift the HAT above the USB / LAN connectors, thus allowing direct panel mount – > see example)

We found that there are no footprint Eagle Libraries for the NanoPI NEO / NEO2 series of embedded SBCs, which could allow hardware developers to design custom addon boards / HATs for the above SBCs. As a consequence and due to our need to develop a custom addon board for the NanoPI NEO / NEO2, we have designed a open source hardware library ( template for NanoPi NEO HATs) which we believe will help a lot of hardware designers with their projects.

Below is image of the NanoPi-SPDIF – SPDIF for NanoPi NEO / NEO2, developed with the Irdroid’s NanoPi-NEO HAT Template for Eagle

NanoHAT-SPDIF HAT for NanoPI-NEO

Below is a link to our github repository with a Eagle Library for NanoPi Neo / NEO2 (Template for NanoPi Neo / NEO2 Hats)

Irdroid’s GitHub Repo (Template for NanoPi NEO / NEO2 HATs)

Below you can purchase NanoPi NEO / NEO2 Stackable headers directly from us (EU & US Stock) . Minimum order quantity is 5 sets (needed for 5 NanoPi HATs)



Select a set


We ship worldwide via Registered Airmail for $4.99 with a tracking number included.