<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TFA9879 How to enable amplifier? in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893220#M7230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kasper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok then did you change properly the register address? From your code above you are first writing to the Device control register (0x00), but then always to the Serial interface input 1 register (0x01).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 May 2019 13:36:50 GMT</pubDate>
    <dc:creator>TomasVaverka</dc:creator>
    <dc:date>2019-05-14T13:36:50Z</dc:date>
    <item>
      <title>TFA9879 How to enable amplifier?</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893217#M7227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We got a problem enabling the amplifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After configuration (and before) the status register reads 0x7007. This indicated that the Amplifier mode is off. But how can it be off when the device is powered on and enabled in register 0x00?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the initialisation code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;// Reset&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[0] = 0x00; // 0000 0000 - 0000 0010 Device control register: SW Reset&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[1] = 0x02;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;I2C_WriteBlock(0x00, out, sizeof(out));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;// Config serial&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[0] = 0x00; // 0000 0000 - 0001 1000 Serial interface control: Left Channel, 8 kHz + I2S data + I2S mode&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[1] = 0x18;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;I2C_WriteBlock(0x01, out, sizeof(out));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;osDelay(10);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;// Power on&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[0] = 0x00; // 0000 0000 - 0000 0001 Device control register: Operating mode&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[1] = 0x01;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;I2C_WriteBlock(0x01, out, sizeof(out));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;if (I2C_ReadBlock(0, in, sizeof(in)) == 0) {&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;TRACE_BLK(TRC_TA_PLF, "SoundInit After: ", in, sizeof(in));&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;// Config clipping&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[0] = 0x00; // 0000 0000 0000 1000 Bypass control: clip control off&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[1] = 0x08;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;I2C_WriteBlock(0x01, out, sizeof(out));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;// Config Dynamic range compressor&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[0] = 0x92; // 1001 0010 1011 1010 Dynamic range compressor: clip control off&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[1] = 0xBA;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;I2C_WriteBlock(0x01, out, sizeof(out));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;// Config volume&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[0] = 0x10; // 0001 0000 0011 0000 Volume control register: 0dB&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[1] = 0x30;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;I2C_WriteBlock(0x01, out, sizeof(out));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;// Config power limiting&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[0] = 0x00; // 0000 0000 0000 0000 De-emphasis, soft/hard mute and power limiter: 0dB&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[1] = 0x00;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;I2C_WriteBlock(0x01, out, sizeof(out));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;// audio output enable&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[0] = 0x00; // 0000 0000 - 0000 1001 Device control register: Amplifier mode + Operating mode&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;out[1] = 0x09;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;I2C_WriteBlock(0x01, out, sizeof(out));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;if (I2C_ReadBlock(0, in, sizeof(in)) == 0) {&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;TRACE_BLK(TRC_TA_PLF, "SoundInit: ", in, sizeof(in));&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is the read-back of all the registers:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN&gt;SoundInit:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;0009 0018 0007 0a18 0007 59dd c63e 651a&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;e53e 4616 d33e 4df3 ea3e 5ee0 f93e 0008&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;92ba 12a5 0004 1030 0000 7007&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A sample of the serial data:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81070i641204E4B8DB20B4/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The schematic (Note: The TEST pins is grounded, however the NC pins are NC.):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81071iD707C0F10F5B5F91/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_9.png" alt="pastedImage_9.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Help needed. Both outputs are a 0V at all time, and no sound in the 4ohm speaker, not even a click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kasper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 08:22:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893217#M7227</guid>
      <dc:creator>kvl1</dc:creator>
      <dc:date>2019-05-14T08:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: TFA9879 How to enable amplifier?</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893218#M7228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kasper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not 100% sure how to read your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; border: none windowtext 1.0pt; padding: 0in;"&gt;// Config clipping&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; border: none windowtext 1.0pt; padding: 0in;"&gt;out[0] = 0x00; // 0000 0000 0000 1000 Bypass control: clip control off&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; border: none windowtext 1.0pt; padding: 0in;"&gt;out[1] = 0x08;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; border: none windowtext 1.0pt; padding: 0in;"&gt;I2C_WriteBlock(&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: red; border: none windowtext 1.0pt; padding: 0in;"&gt;0x01&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #51626f; border: none windowtext 1.0pt; padding: 0in;"&gt;, out, sizeof(out)); &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P&gt;Does it mean that 0x0008 is written to Register 0x01? If not, where do you specify the register address?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 12:41:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893218#M7228</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2019-05-14T12:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: TFA9879 How to enable amplifier?</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893219#M7229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly :-) The command was prepared to write all registers at once, but I ended up only writing a single register one by one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 12:55:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893219#M7229</guid>
      <dc:creator>kvl1</dc:creator>
      <dc:date>2019-05-14T12:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: TFA9879 How to enable amplifier?</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893220#M7230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kasper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok then did you change properly the register address? From your code above you are first writing to the Device control register (0x00), but then always to the Serial interface input 1 register (0x01).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 13:36:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893220#M7230</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2019-05-14T13:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: TFA9879 How to enable amplifier?</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893221#M7231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are only using Serial interface input 1&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In register 0x00: INPUT_SEL is set to 0.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;The&amp;nbsp;serial Interface input 1 is configured by writing to register 0x01&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You can see the result at the original post, here marked in red:&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH&gt;Header 1&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; padding: 0px; font-family: 'courier new', courier, monospace;"&gt;SoundInit:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; padding: 0px; font-family: 'courier new', courier, monospace;"&gt;&lt;SPAN style="color: #ff0000;"&gt;0009 0018&lt;/SPAN&gt; 0007 0a18 0007 59dd c63e 651a&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; padding: 0px; font-family: 'courier new', courier, monospace;"&gt;e53e 4616 d33e 4df3 ea3e 5ee0 f93e 0008&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; padding: 0px; font-family: 'courier new', courier, monospace;"&gt;92ba 12a5 0004 1030 0000 7007&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;Register 0x00: 0x&lt;/SPAN&gt;0009&lt;SPAN&gt;&amp;nbsp;&lt;SPAN style="color: #000000;"&gt;(Amplifier mode and Operating mode)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;&lt;SPAN style="color: #3d3d3d; "&gt;Register 0x01: 0x&lt;SPAN style="color: #ff0000;"&gt;0018&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;(Left channel, 8kHz, I2S data up to 24 bits, no SCK signal polarity inversion, I2S mode)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&lt;SPAN&gt;It should be in order.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&lt;SPAN&gt;And the status register: 0x7007 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&lt;SPAN&gt;PS=1: class-D audio amplifier power stage switching; PWM signals on pins OUTA and OUTB&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&lt;SPAN&gt;PORA=1: 1V8 analog regulator output is available and correct&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&lt;SPAN&gt;OCPOKA=OCPOKB=OTPOK=1: All protection circuits are inactive&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&lt;SPAN style="color: #ff0000; "&gt;AMP=00: but amplifier is off!!!&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;&lt;SPAN&gt;Kasper&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2019 09:37:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893221#M7231</guid>
      <dc:creator>kvl1</dc:creator>
      <dc:date>2019-05-15T09:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: TFA9879 How to enable amplifier?</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893222#M7232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kasper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you had a chance to test more devices and have you observed this issue on all of them? If so, you can try to simplify the code&amp;nbsp;by only writing the following commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;// Reset&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;out[0] = 0x00; // 0000 0000 - 0000 0010 Device control register: SW Reset&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;out[1] = 0x02;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;I2C_WriteBlock(0x00, out, sizeof(out));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;// Config volume&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;out[0] = 0x16; // 0001 0110 0011 0000 Volume control register: 0dB&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;out[1] = 0x30;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;I2C_WriteBlock(0x13, out, sizeof(out));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;// Config serial&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;out[0] = 0x00; // 0000 0000 - 0001 1000 Serial interface control: Left Channel, 8 kHz + I2S data + I2S mode&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;out[1] = 0x18;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;I2C_WriteBlock(0x01, out, sizeof(out));&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;// audio output enable&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;out[0] = 0x00; // 0000 0000 - 0000 1001 Device control register: Amplifier mode + Operating mode&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;out[1] = 0x09;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;I2C_WriteBlock(0x00, out, sizeof(out));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;if (I2C_ReadBlock(0, in, sizeof(in)) == 0) {&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;TRACE_BLK(TRC_TA_PLF, "SoundInit: ", in, sizeof(in));&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.5pt; color: #51626f;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2019 10:25:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893222#M7232</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2019-05-21T10:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: TFA9879 How to enable amplifier?</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893223#M7233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for answering. It seems to be a HW fault on the prototype.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now readback of the settings is diferent:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SoundInit After:&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;0009 0018 0007 0a18 0007 59dd c63e 651a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;e53e 4616 d33e 4df3 ea3e 5ee0 f93e 0008&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;92ba 12a5 0004 1030 0000 &lt;SPAN style="color: #ff0000;"&gt;216f&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Odd.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Kasper&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2019 10:52:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893223#M7233</guid>
      <dc:creator>kvl1</dc:creator>
      <dc:date>2019-05-21T10:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: TFA9879 How to enable amplifier?</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893224#M7234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kasper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems the TFA9879 is still not working, correct?&lt;/P&gt;&lt;P&gt;The status register indicates 0x216F which means that the I2S is incorrect.&lt;/P&gt;&lt;P&gt;Can&amp;nbsp;you please make some scope pictures of the LRCK1 and SCK1? Is the LRCK1 and SCK1 jitter-free?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/83528i65BE6A7B49561516/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/83529iC2F22A1671043DB3/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2019 07:21:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893224#M7234</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2019-05-22T07:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: TFA9879 How to enable amplifier?</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893225#M7235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know. There was no audio stream. When the audio was on, the status register read 0xA747. :-)&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2019 09:29:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TFA9879-How-to-enable-amplifier/m-p/893225#M7235</guid>
      <dc:creator>kvl1</dc:creator>
      <dc:date>2019-05-22T09:29:47Z</dc:date>
    </item>
  </channel>
</rss>

