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.

Audio_testing in U_boot

Other Parts Discussed in Thread: AM3703, TPS65930, AM3715

Hi all:

Processor : AM3703:

I did i2c and spi in u-boot, so now i need to do audio in u-boot so?

I'm planning to work on audio in u-boot for testing purpose playing through mic and getting back to speakers?

Audio codce configuration need to do using i2c1 for tps65930 and MCBSP2 mux configuration! This much i know!!!!!!!!

So anyone can suggest me how to proceed ?

Waiting for reply?

Regards,

santosh vastrad

  • Sounds like a LOT to do in uboot, but in theory you could use Code Composer to understand the files used in the ALSA driver documented/run here:

    http://processors.wiki.ti.com/index.php/AM335x_Audio_Driver's_Guide#Opening_the_audio_device

    and move them to uboot.  We started looking at the ALSA drivers for porting to another ADC/DAC but got interrupted by another project.  But I have seen others move GPIO and SPI code between the Linux kernal and uboot (and Starterware).  But audio seems like a lot more work in uboot.

  • HI Joe,

    Thanks for the reply!!!!!!!!!!!

    I referred u-boot1.3.3. code , in that audio testing doing in u-boot!

    Checked out the code and same code tried to include in our u-boot code, nothing is coming on speakers still!!!!!!

    So you have any idea am i missing?

    Regards,

    santosh vastrad

  • Sorry, I read you processor above wrong.  I work more with AM335x now.  Though I did borrow an AM3715 EVM and don't see an audio command in the uboot.

    What command are you using to test?  And what PSP version are you using (he has PSP4.02.00.07 SDK)?

    >>u-boot1.3.3. code

    Are you getting this directly from GIT and not the TI PSP/SDK packages?

  • HI Joe,

    I got directly tar file u-boot1.3.3 version,

    In that directly audio_init function calliing,

    All the registers setting using i2c1 for internal PMIC configuration and also the set of registers related to AUDIO Interface!!!!!

    After u-boot executing, i'm able to hear a sound of plugging and unplugging ear phones!!!!!!!!!!!

    But unable to listen any of the sound tone so what to do not getting?

    Regards,

    santosh vastrad