<?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のトピックRe: Is there TDM driver/demo for LPC55S66</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Is-there-TDM-driver-demo-for-LPC55S66/m-p/987303#M38926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SZ,&lt;/P&gt;&lt;P&gt;There is not I2S TDM demo included in SDK package. User has to implement by self according to UM.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Dec 2019 01:29:21 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2019-12-03T01:29:21Z</dc:date>
    <item>
      <title>Is there TDM driver/demo for LPC55S66</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Is-there-TDM-driver-demo-for-LPC55S66/m-p/987302#M38925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In&amp;nbsp;UM11126, the LPC55S6x I2S interface features description:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;TDM with a several stereo slots and/or mono slots is supported. Each channel pair can act as any data slot. Multiple channel pairs can participate as different slots on one TDM data line.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;But I checked the latest&amp;nbsp;&lt;A href="https://mcuxpresso.nxp.com/en/download?hash=8b2119f1783a58a3dfc9f28eb0e3d7b2&amp;amp;uvid=220886&amp;amp;dl=1&amp;amp;js=1" style="color: var(--google-blue-600); background-color: #ffffff; font-weight: 500; text-decoration: none;" tabindex="0"&gt;SDK_2.6.3_LPC55S66.zip&lt;/A&gt;, can't find any TDM driver or demo to show how use TDM feature. Any comment for&amp;nbsp; TDM&amp;nbsp;peripheral driver in LPC55S66?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95336i0C50811CC9791D73/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2019 03:52:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Is-there-TDM-driver-demo-for-LPC55S66/m-p/987302#M38925</guid>
      <dc:creator>shaozhongliangs</dc:creator>
      <dc:date>2019-11-29T03:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there TDM driver/demo for LPC55S66</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Is-there-TDM-driver-demo-for-LPC55S66/m-p/987303#M38926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SZ,&lt;/P&gt;&lt;P&gt;There is not I2S TDM demo included in SDK package. User has to implement by self according to UM.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 01:29:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Is-there-TDM-driver-demo-for-LPC55S66/m-p/987303#M38926</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-12-03T01:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is there TDM driver/demo for LPC55S66</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Is-there-TDM-driver-demo-for-LPC55S66/m-p/1929728#M56622</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I need assistance with a driver or a detailed explanation on how to use I2S in TDM mode. Based on the user manual, there aren't many registers available, and I'm having trouble distinguishing it from DSP mode. The instructions for configuring this peripheral in TDM mode are quite vague.&lt;/P&gt;&lt;P&gt;For my use case, I need TDM with 4, 8, or 16 channels. I attempted to configure it using the MCUXConfig utility, but it didn't produce the results I was looking for. I need a simple I2S data line configuration where each channel is 16 bits wide and placed consecutively. For example, the data would be stored for TDM 4 in the following format:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;int16_t sine_480_arr[100] __attribute__((aligned(4)))= {0x0000, 0x0809, 0x100A, 0x17FB, 0x1FD4, 0x278D, 0x2F1E, ...};
int16_t sine_960_arr[100] __attribute__((aligned(4)))= {0x0000, 0x100A, 0x1FD4, 0x2F1E, 0x3DA9, 0x4B3B, 0x579E, ...};
int16_t sine_1920_arr[100] __attribute__((aligned(4)))= {0x0000, 0x1FD4, 0x3DA9, 0x579E, 0x6C12, 0x79BB, 0x7FBE, ...};
int16_t sine_3840_arr[100] __attribute__((aligned(4)))= {0x0000, 0x3DA9, 0x6C12, 0x7FBE, 0x73D0, 0x4B3B, .... };

uint8_t comb_sine[800] __attribute__((aligned(4)))= {0};

// main()
	for (size_t i = 0, p = 0; i &amp;lt; 800; p++, i+=8)
	{
		comb_sine[i+0] = sine_960_arr[p] &amp;amp; 0xFF;
		comb_sine[i+1] = sine_960_arr[p] &amp;gt;&amp;gt; 8;  
		comb_sine[i+2] = sine_3840_arr[p] &amp;amp; 0xFF;
		comb_sine[i+3] = sine_3840_arr[p] &amp;gt;&amp;gt; 8;
		comb_sine[i+4] = sine_480_arr[p] &amp;amp; 0xFF;
		comb_sine[i+5] = sine_480_arr[p] &amp;gt;&amp;gt; 8;
		comb_sine[i+6] = sine_1920_arr[p] &amp;amp; 0xFF;
		comb_sine[i+7] = sine_1920_arr[p] &amp;gt;&amp;gt; 8;
	}

s_TxTransfer.data     = &amp;amp;comb_sine[0];
s_TxTransfer.dataSize = sizeof(comb_sine);

    I2S_TxTransferSendDMA(FLEXCOMM2_PERIPHERAL, &amp;amp;FLEXCOMM2_Tx_DMA_Handle, s_TxTransfer);
    I2S_TxTransferSendDMA(FLEXCOMM2_PERIPHERAL, &amp;amp;FLEXCOMM2_Tx_DMA_Handle, s_TxTransfer);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Any asist would be appreciated,&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Sun, 11 Aug 2024 14:57:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Is-there-TDM-driver-demo-for-LPC55S66/m-p/1929728#M56622</guid>
      <dc:creator>anousheh</dc:creator>
      <dc:date>2024-08-11T14:57:51Z</dc:date>
    </item>
  </channel>
</rss>

