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.

TLV320AIC3254: 2 Mic NR - Continuation from question e2e.ti.com/support/audio/f/6/p/839040/3106613#3106613 previously closed

Part Number: TLV320AIC3254


Thanks Steve. That helps.

Once the Device Driver Interface .h file is generated, how is that then utilized in the embedded application? IOW, what code is used to program the AIC3254 using the data from the .h file?

Also, when would one use "Generate Driver Code"?

Thanks

-Kevin

  • Kevin, 

    The .h file contains structures that contain your static register configuration as well as your run-time coefficients,  you can access these structures in the .h program and write them to the device with your processor.  these registers all need to be written before the codec will pass Audio. 

    you will need to write the code to implement the data from the .h file,  but ultimately this will be nothing more than a bunch of I2C writes. you just need to run through all of the registers provided in the .h file. 

    the .h file is intended for simple systems where there is one device configuration, the "generate driver code" option is for more complex systems where multiple sample rates or configurations need to be supported and accessed on the fly.  This is less commonly used. 

    best regards,

    -Steve Wilson