yiyun1009 发表于 2021-6-28 16:33:25

[   32.269233] 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                   10                Audio Data Word Length                                       Audio Inte**ce
                                                                        00 = 16 bits                                                Control

                                                                        01 = 20 bits

                                                                           10 = 24 bits

                                                                           11 = 32 bits (see Note)
页: 1 [2]
查看完整版本: Okmx6ul 自制底板音频驱动DMA不能中断响应