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.

use am335x to drive HT82V731

hi,

    Now we are using HT82V731 to take a simple mono sound output, the AM335X EVM BSP support TLV320AIC3X

    HT82V731 is something like a DA converter, it doesn't have any codec controls

    

    and the question is : how to contect the AM335X MCASP and HT82V731?

can anybody give me some advice?

  • The HT82V731 has all the necessary inputs to connect it to the McASP interface of AM335X:
     
    HT82V731 pin BCK - AM335X pin MCASP[0:1]_ACLKX
    HT82V731 pin WS - AM335X pin MCASP[0:1]_FSX
    HT82V731 pin DIN - AM335X pin MCASP[0:1]_AXR[0:3]
     
    For more details check the AM335X Datasheet and Technical Reference Manual.
  • hi Biser,

          Thanks for your reply, I'm sorry that i didn't clear my questions.

         Before we have already completed the hardware connection, ask this question is to want to find a connect way in the AM335X EVM BSP linux kernel software,

         In AM335X EVM BSP linux kernel, How can we get the connection between MCASP and HT82V731?

        Do we need to write the code to driver HT82V731? or is there any driver files we can use directly?

       How to creat a codec device for HT82V731?

  • Hi yu li2,

    You need to read the datasheets and other technical documents for both of these ICs and find what are their similarities and what are their differences. The tlv320aic3x IC is a lot more complicated than the one you are planning to use, but as Biser noted the HT82V731 has all the necessary inputs to connect it to the McASP interface of the AM335x. This is a good place to start writing the driver for that IC. You may want to use the already implemented tlv320aic3x driver and trim it down for your needs, keeping only the needed functionality.

    A good reading matter is the Linux Device Drivers 3rd Edition book.

    Best regards,
    Miroslav