<?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 Variating frequency of the sine wave generated on LPC54628. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Variating-frequency-of-the-sine-wave-generated-on-LPC54628/m-p/1260682#M44616</link>
    <description>I have been working on a project that requires generation of a Sine wave and variation of frequency and amplitude. I am using the example i2s_dma_transfer from the driver_example included with the SDK but cannot understand how I should manipulate the clocks to variate the frequency. The variation of the frequency has to be in the range of 3.00 Hz to 400.00 Hz. Here I am using the pre-written sine table and also want to change the sine table for 24 bit. But I cannot figure out how to change the values as the normal sine table generator values, when fetched to the array gives an erroneous output. Please if someone can solve my query and guide me to figure out how to go about with this task. If someone has an experience working on the similar project please guide me on how you carried the task out. Thanks.</description>
    <pubDate>Mon, 12 Apr 2021 16:13:14 GMT</pubDate>
    <dc:creator>Rutvikk</dc:creator>
    <dc:date>2021-04-12T16:13:14Z</dc:date>
    <item>
      <title>Variating frequency of the sine wave generated on LPC54628.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Variating-frequency-of-the-sine-wave-generated-on-LPC54628/m-p/1260682#M44616</link>
      <description>I have been working on a project that requires generation of a Sine wave and variation of frequency and amplitude. I am using the example i2s_dma_transfer from the driver_example included with the SDK but cannot understand how I should manipulate the clocks to variate the frequency. The variation of the frequency has to be in the range of 3.00 Hz to 400.00 Hz. Here I am using the pre-written sine table and also want to change the sine table for 24 bit. But I cannot figure out how to change the values as the normal sine table generator values, when fetched to the array gives an erroneous output. Please if someone can solve my query and guide me to figure out how to go about with this task. If someone has an experience working on the similar project please guide me on how you carried the task out. Thanks.</description>
      <pubDate>Mon, 12 Apr 2021 16:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Variating-frequency-of-the-sine-wave-generated-on-LPC54628/m-p/1260682#M44616</guid>
      <dc:creator>Rutvikk</dc:creator>
      <dc:date>2021-04-12T16:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Variating frequency of the sine wave generated on LPC54628.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Variating-frequency-of-the-sine-wave-generated-on-LPC54628/m-p/1260989#M44622</link>
      <description>&lt;P&gt;I hade done a somehow similar project years ago. But with a DAC as direct output, and not I2S.&lt;/P&gt;&lt;P&gt;The DAC output was served from a timer interrupt at a 100kHz rate. Within the interrupt, I calculated the sine table index from the current requested output frequency and the timer period, and wrote this value to the DAC. The latter was internal, and thus just a simple 16-bit write. Two ADC channels with attached potentiometers served for frequency and amplitude adjustment in realtime.&lt;/P&gt;&lt;P&gt;Run on a first-generation M3 with 72MHz core clock, it worked sufficiently well up to about 40kHz output frequency.&lt;/P&gt;&lt;P&gt;I suppose this does not really well apply to your case. I am not sure about manipulating the I2S clock, and how an attached device would handle&amp;nbsp; that.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 05:55:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Variating-frequency-of-the-sine-wave-generated-on-LPC54628/m-p/1260989#M44622</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2021-04-13T05:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Variating frequency of the sine wave generated on LPC54628.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Variating-frequency-of-the-sine-wave-generated-on-LPC54628/m-p/1261738#M44638</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The Integrated Inter-IC Sound Bus (&lt;/SPAN&gt;&lt;STRONG&gt;I2S&lt;/STRONG&gt;&lt;SPAN&gt;) is a serial bus interface standard used for connecting digital audio devices together, not used to generate sine wave.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 06:35:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Variating-frequency-of-the-sine-wave-generated-on-LPC54628/m-p/1261738#M44638</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-04-14T06:35:55Z</dc:date>
    </item>
  </channel>
</rss>

