Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:applications:gpio:i2s

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
products:sbc:common:applications:gpio:i2s [2024/07/10 01:58]
sravan [I2S Usage]
products:sbc:common:applications:gpio:i2s [2026/09/14 05:28] (current)
nick
Line 21: Line 21:
 | :::        31 (DATA)  |  PIN.Z2  |  500  | | :::        31 (DATA)  |  PIN.Z2  |  500  |
 | :::        32 (LRCK)  |  PIN.Z0  |  498  | | :::        32 (LRCK)  |  PIN.Z0  |  498  |
 +| :::        28 (GND)  |  GND     | |
 +| :::        1  (VCC)  |  5V      | |
 +^  VIM 5    |  29 (BCK)  |  PIN.A1  |  577  |
 +| :::        31 (DATA)  |  PIN.A3  |  579  |
 +| :::        32 (LRCK)  |  PIN.A2  |  578  |
 | :::        28 (GND)  |  GND     | | | :::        28 (GND)  |  GND     | |
 | :::        1  (VCC)  |  5V      | | | :::        1  (VCC)  |  5V      | |
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 ''/boot/dtb/amlogic/kvim-5.dtb.overlay.env'' to add i2s node to ''fdt_overlays'' node if it doesn't exist.
 +
 +e.g. To enable ''I2S'', you need to add ''i2s'' to node ''fdt_overlays'' if it doesn't exist.
 +
 +```shell
 +fdt_overlays=i2s
 +
 +```
 +
 +After reboot, you can connect your i2s device to corresponding pins.
 +
 +```shell
 +$ aplay -Dhw:0,1 test002.wav
 +```
  
 </tabbox> </tabbox>
Last modified: 2026/09/14 05:28 by nick