This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C5517的声音输入输出设置

请问各位大佬们,如何让声音在M1的麦克风输入,然后在P8和P9处的耳机接口同时输出,要设置哪些寄存器还是通道什么的

  • 这个细节要自己实现了,可以参考EVM5517里自带的aic3204例程,不过这两个例程是针对各自的aic3204配置。您要实现同时在P8和P9输出的话,需要修改配置的数据流:M1->aic3204-1->I2S0->I2S2->aic3204-2->P9
    support.spectrumdigital.com/.../
  • 怎么同时开启aic3204-1和aic3204-2也就是同时打开两边的耳机接口

  • 看一下原理图,这里的代码配置I2C转GPIO的U44,再通过GPIO来配置I2C控制哪个AIC3204,因为AIC3204的i2C Address是同样的,所以不能直接通过一个I2C来访问,只好通过总线复用器来分时控制。反正AIC3204的配置只是需要时配置一下就可以了,不需要实时一直通讯,所以通过复用器分时控制是可以的。

    #2. 软件方面,关于一个MIC入,两个输出,数据流的控制需要用户自己从软件上实现,原理上来说即输入buffer经处理后的数据配置为两个I2S DMA的输出buffer.

  • 如何让声音在M1的麦克风输入,然后在P8和P9处的耳机接口同时输出,要设置哪些寄存器还是通道什么的

    如果你实现在不会软件实现,通过板子上J28,J29的跳线跳成两个AIC3204用同一组数据线,跳线在电源开关附近。

  • 求助,编译aic3204例程时报
    modff.c bad CRC f594c485 (should be 27644886)
    modfl.c bad CRC d7c5d0d4 (should be 19764ead)
    >> ERROR: mklib: could not unpack rtssrc.zip
    error: cannot find file "rts55x_eh.lib"
    error: errors encountered during linking; "aic3204-1.out" not built
    是什么问题?
  • 求助,编译aic3204例程时报
    modff.c bad CRC f594c485 (should be 27644886)
    modfl.c bad CRC d7c5d0d4 (should be 19764ead)
    >> ERROR: mklib: could not unpack rtssrc.zip
    error: cannot find file "rts55x_eh.lib"
    error: errors encountered during linking; "aic3204-1.out" not built
    是什么问题?