https://e2e.ti.com/support/audio-group/audio/f/audio-forum/991318/tas2560-tas2560-android-driver
器件型号:TAS2560你(们)好。
我正在使用连接到定制板的 TAS2560EVM。 电源、IRQ 和 i2c 通信似乎正常。 我正在使用此处提供的驱动程序 :https://git.ti.com/cgit/tas256xsw-android/tas2560-android-driver/ 、但在尝试使用 tinyplay 时出现以下错误:
tinyplay sdcard/Download/piano2.wav -D 5 [ 28.109946] tas2560 3-004c: tas2560_startup [ 28.114288] tas2560 3-004c: tas2560_shutdown [ 28.122316] tas2560 3-004c: tas2560_startup [ 28.126660] tas2560 3-004c: tas2560_hw_params Playing sample: 2 ch, 48000 hz, 16 bit [ 28.133395] tas2560 3-004c: tas2560_prepare [ 28.137744] tas2560 3-004c: SND_SOC_DAPM_POST_PMU [ 28.142899] tas2560 3-004c: tas2560_mute, 0 [ 28.147131] tas2560 3-004c: tas2560_enable power up [ 28.152813] tas2560 3-004c: tas2560_dev_read: BOOK:PAGE:REG 0:0:38 [ 28.159704] tas2560 3-004c: tas2560_dev_read: BOOK:PAGE:REG 0:0:39 [ 28.166439] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:2, VAL: 0x02 [ 28.174097] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:7, VAL: 0x41 [ 28.183292] tas2560 3-004c: tas2560_i2c_load_data, mdelay = 2 [ 28.190410] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:50:108, len: 0x04 [ 28.199121] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:50:40, len: 0x04 [ 28.207775] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:50:44, len: 0x04 [ 28.216364] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:50:48, len: 0x04 [ 28.225032] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:50:28, len: 0x04 [ 28.233622] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:50:32, len: 0x04 [ 28.242328] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:50:36, len: 0x04 [ 28.251444] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:51:24, len: 0x04 [ 28.260118] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:51:100, len: 0x04 [ 28.269271] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:52:52, len: 0x04 [ 28.277974] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:52:56, len: 0x04 [ 28.288725] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:52:60, len: 0x04 [ 28.297343] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:52:64, len: 0x04 [ 28.305949] tas2560 3-004c: tas2560_dev_bulk_write: BOOK:PAGE:REG 0:52:68, len: 0x04 [ 28.313767] tas2560 3-004c: tas2560_enable skip unmute [ 28.319981] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:33, VAL: 0x0b [ 28.327738] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:37, VAL: 0xff [ 28.335792] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:7, VAL: 0x40 [ 28.342988] tas2560 3-004c: tas2560_enable enableIRQ [ 28.348090] tas2560 3-004c: tas2560_enable enableIRQ OK [ 28.368223] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:37, VAL: 0x00 [ 28.376103] tas2560 3-004c: tas2560_dev_read: BOOK:PAGE:REG 0:0:38 [ 28.382990] tas2560 3-004c: tas2560_dev_read: BOOK:PAGE:REG 0:0:39 [ 28.389214] tas2560 3-004c: IRQ status : 0x0, 0x0 [ 28.394640] tas2560 3-004c: tas2560_dev_read: BOOK:PAGE:REG 0:0:42 [ 28.400902] tas2560 3-004c: PowSts B: 0x0, check again after 10ms [ 28.430356] tas2560 3-004c: tas2560_dev_read: BOOK:PAGE:REG 0:0:42 [ 28.436568] tas2560 3-004c: irq_work_routine, Critical ERROR B[0]_P[0]_R[42]= 0x0 [ 28.444202] tas2560 3-004c: tas2560_LoadConfig power down to load config [ 28.451892] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:37, VAL: 0x00 [ 28.459782] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:33, VAL: 0x00 [ 28.468254] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:7, VAL: 0x41 [ 28.495244] tas2560 3-004c: tas2560_i2c_load_data, msleep = 10 [ 28.501594] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:7, VAL: 0x01 [ 28.535526] tas2560 3-004c: tas2560_i2c_load_data, msleep = 20 [ 28.541881] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:2, VAL: 0x01 [ 28.550854] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:1, VAL: 0x01 [ 28.572214] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:73, VAL: 0x0c [ 28.579941] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:60, VAL: 0x33 [ 28.588069] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:80, VAL: 0x21 [ 28.595838] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:35, VAL: 0x41 [ 28.603809] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:36, VAL: 0x80 [ 28.615162] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:15, VAL: 0x01 [ 28.623041] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:16, VAL: 0x20 [ 28.631037] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:17, VAL: 0x00 [ 28.638807] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:18, VAL: 0x00 [ 28.646626] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:8, VAL: 0x01 [ 28.654340] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:13, VAL: 0x08 [ 28.662155] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:14, VAL: 0x10 [ 28.669923] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:9, VAL: 0x9b [ 28.677183] tas2560 3-004c: tas2560_set_ASI_fmt, 16385 [ 28.683774] tas2560 3-004c: tas2560_dev_update_bits: BOOK:PAGE:REG 0:0:24, mask: 0x3e, val=0x2 [ 28.693054] tas2560 3-004c: tas2560_dev_update_bits: BOOK:PAGE:REG 0:0:20, mask: 0x1c, val=0x0 [ 28.702351] tas2560 3-004c: tas2560_dev_write: BOOK:PAGE:REG 0:0:22, VAL: 0x00 [ 28.709636] tas2560 3-004c: tas2560_set_bit_rate, 16 [ 28.716283] tas2560 3-004c: tas2560_dev_update_bits: BOOK:PAGE:REG 0:0:20, mask: 0x3, val=0x0 [ 28.724839] tas2560 3-004c: tas2560_LoadConfig power up [ 28.730476] tas2560 3-004c: tas2560_dev_write, ERROR, L=123, E=-6 [ 28.736673] tas2560 3-004c: irq_work_routine, start timer [ 33.763707] tas2560 3-004c: tas2560_dev_write, ERROR, L=123, E=-11 [ 33.769907] tas2560 3-004c: tas2560_LoadConfig power down to load config [ 33.776940] tas2560 3-004c: tas2560_dev_write, ERROR, L=123, E=-11 [ 33.783179] tas2560 3-004c: irq_work_routine, start timer [ 34.582413] tas2560 3-004c: tas2560_mute, 1 [ 34.586638] tas2560 3-004c: tas2560_enable power down [ 34.592123] tas2560 3-004c: tas2560_dev_write, ERROR, L=123, E=-11 [ 34.598386] tas2560 3-004c: tas2560_shutdown [ 39.787564] tas2560 3-004c: SND_SOC_DAPM_POST_PMD
我尚未使用您的 PPC3工具创建任何音频 cfg、因为该驱动程序似乎未读取任何配置文件。 这是正确的方法吗?
该错误是否与缺少的配置文件有关?
我应该改用此驱动程序吗?: https://git.ti.com/cgit/tas2557sw-android/tas2559-android-driver/
此致
伊冯·涅托