Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TLV320AIC3204: Routing I2S Audio to the Headphones

$
0
0

Part Number:TLV320AIC3204

Hi there,

I'm currently trying to set up a system that will output audio sent from my micro to the headphone. I'm currently struggling to work out how to configure the registers to output the I2s stream to the headphone. I've already configured the codec to output the left Mic to the headphones but I can't work out what to change to get it to output from the I2S.

	{  0, 0x01 },	/* ***** SELECT PAGE 1 ***** */
	{  9, ( (uint8_t)P1R9_MAR_POWER_UP |
			(uint8_t)P1R9_MAL_POWER_UP ) },
	{ 12, ( (uint8_t)P1R12_MAL_ROUTED_TO_HPL ) },
	{ 13, ( (uint8_t)P1R13_HPL_OUTPUT_ROUTED_TO_HPR ) },
	{ 16, ( (uint8_t)P1R16_HPL_DRIVER_NOT_MUTED |
			(uint8_t)( 0 ) ) },		/* HPL Gain set to 0dB */
	{ 17, ( (uint8_t)P1R17_HPR_DRIVER_NOT_MUTED |
			(uint8_t)( 0 ) ) },		/* HPR Gain set to 0dB */
	{  9, ( (uint8_t)P1R9_MAR_POWER_UP |
			(uint8_t)P1R9_HPL_POWER_UP |
			(uint8_t)P1R9_HPR_POWER_UP |
			(uint8_t)P1R9_MAL_POWER_UP ) },
	{  0, 0x00 },	/* ***** SELECT PAGE 0 ***** */

Thanks for any advice.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>