This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:applications:gpio:spdif [2024/07/10 01:58] sravan [SPDIF Usage] |
products:sbc:common:applications:gpio:spdif [2026/09/15 03:27] (current) nick |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ^ VIM4 | ^ VIM4 | ||
| ^ VIM1S | 13 | SPDIFOUT | ^ VIM1S | 13 | SPDIFOUT | ||
| + | ^ VIM-5 | 13 | SPDIFOUT | ||
| + | |||
| ===== Enable SPDIF ===== | ===== Enable SPDIF ===== | ||
| Line 60: | Line 62: | ||
| After reboot, you can connect your spdif device to corresponding pins. | After reboot, you can connect your spdif device to corresponding pins. | ||
| + | |||
| + | <tabbox VIM-5> | ||
| + | |||
| + | In order to use the SPDIF, you need to enable the SPDIF function via [[products: | ||
| + | |||
| + | Edit ''/ | ||
| + | |||
| + | e.g. To enable '' | ||
| + | |||
| + | ```shell | ||
| + | fdt_overlays=spdifout | ||
| + | ``` | ||
| + | |||
| + | After reboot, you can connect your spdif device to corresponding pins. | ||
| + | |||
| + | ``` shell | ||
| + | $ aplay -D hw:0,4 < | ||
| + | ``` | ||
| </ | </ | ||
| Line 68: | Line 88: | ||
| ``` shell | ``` shell | ||
| - | $ aplay -l # find your i2s card and play audio using it | + | $ aplay -l # find your spdif card and play audio using it |
| - | $ aplay -D hw:0,0 < | + | $ aplay -D hw:0,1 < |
| ``` | ``` | ||