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.

TMDSEVML138 uboot audio expansion

Other Parts Discussed in Thread: PCM3168

I am using the audio expansion on the TMDSEVML138 and am experiencing uboot issues.  I am interfacing a PCM3168 through the expansion header.  When I turn the master clock off for the codec uboot will start, if clock is enabled uboot will show nothing in mini-com. Is there something in uboot that needs to be modified?

  • Hi Shawn,

    When I turn the master clock off for the codec uboot will start, if clock is enabled uboot will show nothing in mini-com. Is there something in uboot that needs to be modified?

    How did you control the master clock of codec?

    TMDSEVML138 What is your exact EVM board name ?

    Is this spectrum digital board or logicPD?

  • I am using the logicPD board and the codec is set to master mode and has its own oscillator which is also connected to AHCLKX.  Ive been observing chip select for the spi flash boot rom and when booting with clock enabled I dont even get a chip select. 

  • Hi,

    What is the interface used for PCM3168 ie SPI or I2C ?

    Have you attached audio expansion board properly with correct pin to pin mappings?

    If SPI, What is the CS signal for PCM3168?

    I am interfacing a PCM3168 through the expansion header.

    When I turn the master clock off for the codec uboot will start, if clock is enabled uboot will show nothing in mini-com.

    I think that the audio expansion card is own designed, so please check hardware signals that You may disturb the "Chip select" of SPI which is used to boot (conflicting the SPI flash's CS and PCM3168's CS),

    Try to connect audio board & enable clock and after booting u-boot,

    Have you configured and used the boot switch for audio expansion properly ,

  • We are using SPI and the chip select was originally the one for the spi flash but we have moved it to scs1.  I believe the pin-out is correct because we have successfully run in emulation mode using the dsp .   I believe it is something to do with the omap before uboot, is there a setup that might need to be modified for our hardware configuration?

  • Hi Shawn,

    In u-boot, The following files to be modified to do pinmuxing for any peripheral,

    u-boot-source/arch/arm/include/asm/arch-davinci/pinmux_defs.h

    u-boot-source/board/davinci/da8xxevm/da850evm.c

    u-boot-source/include/configs/da850evm.h

    Check the your u-boot source code that Is anything conflict your audio (SPI0 & CS0 used for booting )

  • Since I am not even getting a chip select from the arm to pull uboot from the flash, could the root cause be the arm rom bootloader?  I held the codec in reset and still get issues with booting while the audio mclk is active so the problem doesn't seem to be related to spi.  Thanks for your help on this topic.