<?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: i.MX RT 1060 using SAI2 as TDM slave in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MX-RT-1060-using-SAI2-as-TDM-slave/m-p/2187323#M35438</link>
    <description>&lt;P&gt;Hello. Me too, i have problems with SAI. I do not understand §38.3.2.1 of the reference manual. Here is my analysis of the first case i.e. using transmitter bit clock :&lt;/P&gt;&lt;P&gt;"Configure the transmitter for asynchronous operation and the receiver for&lt;BR /&gt;synchronous operation." I understand "write 0 in SYNC field of TCR2 register, and 1 in SYNC field of RCR2 register" while TE field in TCSR register and RE field in TCSR register are still in 0 state.&lt;/P&gt;&lt;P&gt;"Enable the receiver in synchronous mode only after both the transmitter and receiver&lt;BR /&gt;are enabled." I understand : "write 1 in SYNC field in RCR2 only after TE field in TCSR and RE field in RCSR are both set to 1.&lt;/P&gt;&lt;P&gt;So what is the correct order in this trouble interpretation ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Others questions are: "is it necessary to configure anything in the receiver if the tranmitter only is used ?" and the symetrical question...&lt;/P&gt;&lt;P&gt;I am using SAI2 on TEENSY 4.0 board, and teensyduino IDE, and I try to understand how it works. Their libraries are so complex that I strip them down to extract only what concerns the hardware, checking every registers setting with reference manual. The simplest thing I did is configuring the transmitter to send permanently the same 32 bits word in a monophonic chanel. Just checking "FIFO Request Flag" in TCSR in main loop, no interrupt, no DMA. When this flag is set, I write 0xAAAAAAAA in TDR0 register. I got correct square signals on TX_BCLK and TX_SYNC outputs (3.072 MHz and 48 kHz), correct signal on TX_DATA output (16 pulses in when TX_SYNC is high). But if in the same time I toggle a GPIO port this one does not produce the awaited 24 kHz square signal: it is completly asynchronous with TX_SYNC, with a higher frequency.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Oct 2025 08:26:42 GMT</pubDate>
    <dc:creator>Denibel</dc:creator>
    <dc:date>2025-10-16T08:26:42Z</dc:date>
    <item>
      <title>i.MX RT 1060 using SAI2 as TDM slave</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MX-RT-1060-using-SAI2-as-TDM-slave/m-p/2153180#M34981</link>
      <description>&lt;P&gt;To all concerned,&lt;/P&gt;&lt;P&gt;I am planning to use the i.MX RT1060 SAI2 as a slave.&lt;/P&gt;&lt;P&gt;I tried to configure SAI2 and eDMA as shown in the attached C source file&lt;BR /&gt;(SaiDmaInit()).&lt;BR /&gt;SAI2 is configured as a TDM slave, so MCLK, BCLK, LRCLK, and RX data are&lt;BR /&gt;provided from the FPGA pins, while the i.MX RT1060 only outputs TX data.&lt;/P&gt;&lt;P&gt;However, I have encountered a problem: RX data cannot be received correctly.&lt;/P&gt;&lt;P&gt;I would like to know whether there are any mistakes in my configuration settings.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 02:22:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MX-RT-1060-using-SAI2-as-TDM-slave/m-p/2153180#M34981</guid>
      <dc:creator>Inotani</dc:creator>
      <dc:date>2025-08-18T02:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX RT 1060 using SAI2 as TDM slave</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MX-RT-1060-using-SAI2-as-TDM-slave/m-p/2153411#M34986</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/253851"&gt;@Inotani&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;Could you double check the SAI configuration in the following Fig.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mayliu1_0-1755504111920.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352715i00460D088DBEDA13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mayliu1_0-1755504111920.png" alt="mayliu1_0-1755504111920.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mayliu1_1-1755504199808.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352716i860202B8B559EF29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mayliu1_1-1755504199808.png" alt="mayliu1_1-1755504199808.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Wish it helps you.&lt;BR /&gt;If you still have question about it, please kindly let me know.&lt;/P&gt;
&lt;P&gt;Wish you a nice day!&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;MayLiu&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 08:04:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MX-RT-1060-using-SAI2-as-TDM-slave/m-p/2153411#M34986</guid>
      <dc:creator>mayliu1</dc:creator>
      <dc:date>2025-08-18T08:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX RT 1060 using SAI2 as TDM slave</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MX-RT-1060-using-SAI2-as-TDM-slave/m-p/2187323#M35438</link>
      <description>&lt;P&gt;Hello. Me too, i have problems with SAI. I do not understand §38.3.2.1 of the reference manual. Here is my analysis of the first case i.e. using transmitter bit clock :&lt;/P&gt;&lt;P&gt;"Configure the transmitter for asynchronous operation and the receiver for&lt;BR /&gt;synchronous operation." I understand "write 0 in SYNC field of TCR2 register, and 1 in SYNC field of RCR2 register" while TE field in TCSR register and RE field in TCSR register are still in 0 state.&lt;/P&gt;&lt;P&gt;"Enable the receiver in synchronous mode only after both the transmitter and receiver&lt;BR /&gt;are enabled." I understand : "write 1 in SYNC field in RCR2 only after TE field in TCSR and RE field in RCSR are both set to 1.&lt;/P&gt;&lt;P&gt;So what is the correct order in this trouble interpretation ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Others questions are: "is it necessary to configure anything in the receiver if the tranmitter only is used ?" and the symetrical question...&lt;/P&gt;&lt;P&gt;I am using SAI2 on TEENSY 4.0 board, and teensyduino IDE, and I try to understand how it works. Their libraries are so complex that I strip them down to extract only what concerns the hardware, checking every registers setting with reference manual. The simplest thing I did is configuring the transmitter to send permanently the same 32 bits word in a monophonic chanel. Just checking "FIFO Request Flag" in TCSR in main loop, no interrupt, no DMA. When this flag is set, I write 0xAAAAAAAA in TDR0 register. I got correct square signals on TX_BCLK and TX_SYNC outputs (3.072 MHz and 48 kHz), correct signal on TX_DATA output (16 pulses in when TX_SYNC is high). But if in the same time I toggle a GPIO port this one does not produce the awaited 24 kHz square signal: it is completly asynchronous with TX_SYNC, with a higher frequency.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 08:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MX-RT-1060-using-SAI2-as-TDM-slave/m-p/2187323#M35438</guid>
      <dc:creator>Denibel</dc:creator>
      <dc:date>2025-10-16T08:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX RT 1060 using SAI2 as TDM slave</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MX-RT-1060-using-SAI2-as-TDM-slave/m-p/2325645#M36277</link>
      <description>&lt;P&gt;... Last problem solved, just a beginer's error in C++ code ... There remains the un-understandable&amp;nbsp;problem of the obscure&amp;nbsp;§38.3.2.1.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2026 15:59:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/i-MX-RT-1060-using-SAI2-as-TDM-slave/m-p/2325645#M36277</guid>
      <dc:creator>Denibel</dc:creator>
      <dc:date>2026-03-03T15:59:05Z</dc:date>
    </item>
  </channel>
</rss>

