<?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>LPC MicrocontrollersのトピックHow many I2S could be possible using SGPIOs in LPC4357 ?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-many-I2S-could-be-possible-using-SGPIOs-in-LPC4357/m-p/587074#M21550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kiyoong on Wed Sep 02 23:00:18 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;HI NXP team, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a beautiful weather after hot summer day !! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How many I2S could be possible using SGPIOs in LPC4357 ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw the user manual and found out that LPC43xx has 2 I2S and 16 SGPIO pins. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In a previous question, I knew that NXP team changed SGPIO into 2 I2S channels and made 7.1 audio output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(including 2 I2S..) therefore, 4 I2S would be possible. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;however, LPC43xx has 16 SGPIO pins and someone mentioned that If clock and etc pins shared, more I2S would be supported. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please, Answer my simple question. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How many I2S could be possible using SGPIOs in LPC4357 ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:11:24 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:11:24Z</dc:date>
    <item>
      <title>How many I2S could be possible using SGPIOs in LPC4357 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-many-I2S-could-be-possible-using-SGPIOs-in-LPC4357/m-p/587074#M21550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kiyoong on Wed Sep 02 23:00:18 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;HI NXP team, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a beautiful weather after hot summer day !! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How many I2S could be possible using SGPIOs in LPC4357 ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw the user manual and found out that LPC43xx has 2 I2S and 16 SGPIO pins. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In a previous question, I knew that NXP team changed SGPIO into 2 I2S channels and made 7.1 audio output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(including 2 I2S..) therefore, 4 I2S would be possible. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;however, LPC43xx has 16 SGPIO pins and someone mentioned that If clock and etc pins shared, more I2S would be supported. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please, Answer my simple question. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How many I2S could be possible using SGPIOs in LPC4357 ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:11:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-many-I2S-could-be-possible-using-SGPIOs-in-LPC4357/m-p/587074#M21550</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: How many I2S could be possible using SGPIOs in LPC4357 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-many-I2S-could-be-possible-using-SGPIOs-in-LPC4357/m-p/587075#M21551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bavarian on Mon Sep 14 05:30:34 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It depends on your needs of the I2S interfaces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's assume you need in/out on all I2S interfaces, a common clock and a common frame sync:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 clock&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 frame sync&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7 x in/out&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16 pins&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is it for the pins. If you can handle this in software from the SGPIO point of view is another question. You need to serve 7 channels in time. If you have only output, then of course things become much easier. You need to update 7 output registers regularly with stereo audio data either using DMA and/or the processor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a software example using 4 SGPIO pins for a four channel I2S TX. Look in the folder&amp;nbsp; \lpc43xx\Examples\SGPIO in this software package:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://https://www.lpcware.com/content/nxpfile/lpc4350apdlzip"&gt;https://www.lpcware.com/content/nxpfile/lpc4350apdlzip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doing for example 6 channels instead of these 4 shouldn't be a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Support Team&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-many-I2S-could-be-possible-using-SGPIOs-in-LPC4357/m-p/587075#M21551</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: How many I2S could be possible using SGPIOs in LPC4357 ?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-many-I2S-could-be-possible-using-SGPIOs-in-LPC4357/m-p/587076#M21552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kiyoong on Mon Sep 14 18:13:03 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Dear NXP Support Team, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for sharing SGPIO example. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Q1) 2 slice buffer would be necessary for 1 channel of I2S ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this example, 4SGPIO pins was used for a four channel I2S TX. However, each I2S channel needed 2 slice buffer of SGPIO. refer to the source code below. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_SGPIO-&amp;gt;SGPIO_MUX_CFG[1] =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_SGPIO-&amp;gt;SGPIO_MUX_CFG[12] = CONCAT_ENABLE | SLICE_2; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_SGPIO-&amp;gt;POS[1] = &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_SGPIO-&amp;gt;POS[12] = ((0x020*2 - 1) &amp;lt;&amp;lt; 8) | (0x020*2 - 1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_SGPIO-&amp;gt;OUT_MUX_CFG[9] = 0;// output the data bit on SGPIO9&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does it mean that 2 slice buffer would be necessary for 1 channel of I2S ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If then, we could make 7 output channels with 16 slice buffers. Am I right ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Q2) Could it be possible to implement Tx and Rx, and Use it at the same time ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually, we are supposed to build TX and RX channels. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case, I think ~~&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 frame sync, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1 clock, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3 TX channels (with 2 slice buffers each ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--- totally 8 pins and slice buffers for TX. Of course RX part will equal to TX.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;therefore, 3 TX and 3 RX are the maximum count of SGPIO. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is My understanding correct ? Is it possible ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for bothering with too many questions. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-many-I2S-could-be-possible-using-SGPIOs-in-LPC4357/m-p/587076#M21552</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:11:25Z</dc:date>
    </item>
  </channel>
</rss>

