radxa-pkg / radxa-overlays

Additional device tree overlays to support different hardwares on Radxa products
GNU General Public License v2.0
43 stars 31 forks source link

feat: add overlay rk3308-pdm-m2 #373

Closed CodeChenL closed 1 month ago

CodeChenL commented 1 month ago

目前有点失真,勉强能用,盲猜是频率问题。测试用的mic datasheet说明最大频率为4M,实际测试为5M,尝试使用

        assigned-clocks = <&cru SCLK_PDM>, <&cru HCLK_PDM>;
        assigned-clock-rates = <400000>, <400000>;

控制无效

CodeChenL commented 1 month ago

目前有点失真,勉强能用,盲猜是频率问题。测试用的mic datasheet说明最大频率为4M,实际测试为5M,尝试使用

      assigned-clocks = <&cru SCLK_PDM>, <&cru HCLK_PDM>;
      assigned-clock-rates = <400000>, <400000>;

控制无效

不过也有可能是我的mic板子焊坏了

RadxaYuntian commented 1 month ago

没看到你指定assigned-clock-rates啊

CodeChenL commented 1 month ago

没看到你指定assigned-clock-rates啊

指定了没效果,就去掉了

RadxaYuntian commented 1 month ago

这个对ZERO 2的I2S/PDM有帮助么?