高通暫存器狀態比較-比如錄音狀態和正常狀態
阿新 • • 發佈:2019-02-15
adb shell cat /sys/kernel/debug/asoc/apq8064-tabla-snd-card/tabla_codec/codec_reg > D:\register_record.txt
adb shell cat /sys/kernel/debug/asoc/apq8064-tabla-snd-card/tabla_codec/codec_reg > D:\register_ok.txt
#define TABLA_A_CDC_SRC1_FS_CTL (0x000002A1) //sameplerate
#define TABLA_A_CDC_CLK_OTHR_CTL (0x0000030A) //ADC
#define TABLA_A_CDC_TX1_MUX_CTL (0x00000223)
#define TABLA_A_CDC_ANC1_CTL (0x00000200)
#define TABLA_A_TX_5_6_TEST_EN (0x0168)
#define TABLA_A_TX_3_4_TEST_EN (0x015E)
#define TABLA_A_TX_1_2_TEST_EN (0x0154)
#define TABLA_A_TX_COM_BIAS (0x014C)
如果不能錄音重點比較如下暫存器的值,並參考高通暫存器資訊-80-N1763-2 WCD9310 AUDIO CODEC SOFTWARE INTERFACE.pdf
0x393,0x30A,0x308,0x12b,0x15d,0x3A9