This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
products:sbc:common:applications:gpio:i2s [2024/07/04 05:13] sravan created |
products:sbc:common:applications:gpio:i2s [2026/09/15 03:27] (current) nick |
||
|---|---|---|---|
| Line 21: | Line 21: | ||
| | ::: | | ::: | ||
| | ::: | | ::: | ||
| + | | ::: | ||
| + | | ::: | ||
| + | ^ VIM-5 | 29 (BCK) | PIN.A1 | ||
| + | | ::: | ||
| + | | ::: | ||
| | ::: | | ::: | ||
| | ::: | | ::: | ||
| Line 69: | Line 74: | ||
| After reboot, you can connect your i2s device to corresponding pins. | After reboot, you can connect your i2s device to corresponding pins. | ||
| + | |||
| + | <tabbox VIM-5> | ||
| + | |||
| + | Edit ''/ | ||
| + | |||
| + | e.g. To enable '' | ||
| + | |||
| + | ```shell | ||
| + | fdt_overlays=i2s | ||
| + | |||
| + | ``` | ||
| + | |||
| + | After reboot, you can connect your i2s device to corresponding pins. | ||
| + | |||
| + | ```shell | ||
| + | $ aplay -Dhw:0,1 test002.wav | ||
| + | ``` | ||
| </ | </ | ||
| Line 76: | Line 98: | ||
| ``` shell | ``` shell | ||
| $ aplay -l # find your i2s card and play audio using it | $ aplay -l # find your i2s card and play audio using it | ||
| - | $ aplay -D hw:0,x xxx.wav # replace | + | $ aplay -D hw:0,0 < |
| ``` | ``` | ||
| - | ` | + | |