[Linux] Okmx6ul 自制底板音频驱动DMA不能中断响应

1

主题

7

回帖

13

积分

楼主| yiyun1009 发表于 2021-6-28 16:33:25 | 显示全部楼层
[   32.269233] [531] snd_soc_write:2296: wm8960 1-001a: write 7 = 42
这是我的输出

R7 (07h)        8         ALRSWAP                  0                  Left/Right ADC Channel Swap                                  Audio Inte**ce  
    Audio                                                                  1 = Swap left and right ADC data in audio                    Control  

    Inte**ce                                                             inte**ce  

                                                                          0 = Output left and right data as normal  

                    7         BCLKINV                   0                 BCLK invert bit (for master and slave modes)                 Audio Inte**ce  
                                                                          0 = BCLK not inverted                                         Control  

                                                                           1 = BCLK inverted  

                    6         MS                        0                 Master / Slave Mode Control                                  Audio Inte**ce  
                                                                          0 = Enable slave mode                                         Control  

                                                                           1 = Enable master mode  

                    5         DLRSWAP                   0                 Left/Right DAC Channel Swap                                  Audio Inte**ce  
                                                                          0 = Output left and right data as normal                      Control  

                                                                           1 = Swap left and right DAC data in audio  
                                                                          inte**ce  

                                                                                            2
                    4         LRP                      0                  Right, left and I S modes – LRCLK polarity                   Audio Inte**ce  
                                                                          0 = normal LRCLK polarity                                     Control  

                                                                           1 = invert LRCLK polarity  

                                                                          DSP Mode – mode A/B select  

                                                                          0 = MSB is available on 2nd BCLK rising edge  
                                                                          after LRC rising edge (mode A)  

                                                                           1 = MSB is available on 1st BCLK rising edge  
                                                                          after LRC rising edge (mode B)  

                    3:2       WL[1:0]                   10                Audio Data Word Length                                       Audio Inte**ce  
                                                                          00 = 16 bits                                                  Control  

                                                                          01 = 20 bits  

                                                                           10 = 24 bits  

                                                                           11 = 32 bits (see Note)
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则