S/PDIF output with BeagleBone Black?


I want to output an S/PDIF audio signal with my BBB. The AM3358 describes a lot about McASP and that it is capable to output S/PDIF signals, but I can’t get these information together.

So first thing I do not understand from the AM3358-manual: which of the many McASP pins can be used to emit an S/PDIF signal?


If you are using Linux, there is already a driver that will configure the McASP into SPDIF mode. You configure it with device tree settings:


I think you can assign any of the ASXRx pins to be used for the data lines.

Of course, you’ll still need an external signal level translator.