<?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: I3C CCC command Timing Control mode in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2164134#M3906</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229957"&gt;@Harry_Zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;进入Asynchronous mode 0模式后，I3C &lt;SPAN&gt;Controller&amp;nbsp;除了需要通过IBI payload获得Target&amp;nbsp;的数据外，还需要知道C_REF(IBI ACK)和C_C2(IBI MD Byte后T-Bit) I3C Controller的timestamp，这两个点应该怎么获得？&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;• C_REF: First SCL positive-going edge after the IBI ACK&lt;BR /&gt;• C_C2: First SCL positive-going edge after the T-Bit of the IBI’s Mandatory Byte&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yvan&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Sep 2025 07:02:54 GMT</pubDate>
    <dc:creator>yvan_yan</dc:creator>
    <dc:date>2025-09-05T07:02:54Z</dc:date>
    <item>
      <title>I3C CCC command Timing Control mode</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2161659#M3857</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229957" target="_blank"&gt;@Harry_Zhang&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I3C的CCC command SETXTIME有设置进入&amp;nbsp;Async Mode 0的命令，&lt;/P&gt;&lt;P&gt;我看到在MCXN的spec里I3C slave有进入Async Mode 0的寄存器设置SSTATUS的bit31-30 TIMECTRL&lt;/P&gt;&lt;P&gt;I3C master是怎么设置的，有sample code可以参考吗？&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;Yvan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Sep 2025 01:46:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2161659#M3857</guid>
      <dc:creator>yvan_yan</dc:creator>
      <dc:date>2025-09-02T01:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: I3C CCC command Timing Control mode</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2162514#M3862</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245065"&gt;@yvan_yan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SETXTIME (0x28h) 是 CCC 广播命令，用来设置 Target (Slave) 的 Time Control mode。&lt;/P&gt;
&lt;P&gt;这个命令允许主机（I3C Controller）要求所有 Target 进入 Synchronous mode 或 Asynchronous mode (0/1)。&lt;/P&gt;
&lt;P&gt;请问您是需要&lt;SPAN&gt;I3C master 发送0x28的广播命令的代码么？&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 03:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2162514#M3862</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2025-09-03T03:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: I3C CCC command Timing Control mode</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2162525#M3863</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229957"&gt;@Harry_Zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;是的&lt;/P&gt;&lt;P&gt;Target (Slave) 进入 Asynchronous mode 0后，Target 会发送IBI，I3C Controller会根据这个IBI的数据进行计算，这部分是硬件还是软件实现，有相关代码可以参考吗&lt;SPAN&gt;？&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yvan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 03:31:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2162525#M3863</guid>
      <dc:creator>yvan_yan</dc:creator>
      <dc:date>2025-09-03T03:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: I3C CCC command Timing Control mode</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2163578#M3890</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245065"&gt;@yvan_yan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;“&lt;SPAN&gt;I3C Controller会根据这个IBI的数据进行计算，这部分是硬件还是软件实现？&lt;/SPAN&gt;”&lt;/P&gt;
&lt;P&gt;您好，我查了一下RM手册。&lt;/P&gt;
&lt;P&gt;这部分是需要通过软件实现的。相关寄存器为STCCLOCK&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harry_Zhang_0-1756979713922.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/355551i0720E487802C569A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harry_Zhang_0-1756979713922.png" alt="Harry_Zhang_0-1756979713922.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="Harry_Zhang_1-1756979739993.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/355552iB01544B6E84318E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harry_Zhang_1-1756979739993.png" alt="Harry_Zhang_1-1756979739993.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Controller 必须用 STCCLOCK（由 Target 提供或在配置时告知）来做换算。&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;寄存器 STCCLOCK 提供：&lt;/P&gt;
&lt;P&gt;FREQ：时钟频率&lt;/P&gt;
&lt;P&gt;ACCURACY：时钟精度&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Controller 用这两个参数就能把 Target 报告的 tick 转换为实际时间（ns/µs/ms）。&lt;/P&gt;
&lt;P&gt;“&lt;SPAN&gt;有相关代码可以参考吗&lt;/SPAN&gt;&lt;SPAN&gt;？&lt;/SPAN&gt;”&lt;/P&gt;
&lt;P&gt;很抱歉，目前没有相关demo，并且i3c driver也没有相关API，实现相关功能只能结合SDK demo配置相关寄存器。&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2025 10:00:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2163578#M3890</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2025-09-04T10:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: I3C CCC command Timing Control mode</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2164134#M3906</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229957"&gt;@Harry_Zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;进入Asynchronous mode 0模式后，I3C &lt;SPAN&gt;Controller&amp;nbsp;除了需要通过IBI payload获得Target&amp;nbsp;的数据外，还需要知道C_REF(IBI ACK)和C_C2(IBI MD Byte后T-Bit) I3C Controller的timestamp，这两个点应该怎么获得？&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;• C_REF: First SCL positive-going edge after the IBI ACK&lt;BR /&gt;• C_C2: First SCL positive-going edge after the T-Bit of the IBI’s Mandatory Byte&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yvan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Sep 2025 07:02:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2164134#M3906</guid>
      <dc:creator>yvan_yan</dc:creator>
      <dc:date>2025-09-05T07:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: I3C CCC command Timing Control mode</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2169409#M4061</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245065"&gt;@yvan_yan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;您好，我看了一下Specification for I3C Basic&lt;/P&gt;
&lt;P&gt;Timing Control&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Harry_Zhang_0-1757917462802.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/356837i71061741CC352CA9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Harry_Zhang_0-1757917462802.png" alt="Harry_Zhang_0-1757917462802.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;CREF是在ACK后面，C_C2是在MDB T bit后面。&lt;/P&gt;
&lt;P&gt;我们可以使用软件中断来启动计时器进行计数，然后计算目标传感器采样发生的时间。&lt;/P&gt;
&lt;P&gt;但是I3C的寄存器只支持在IBI 的ACK中有相关中断，但是T bit没有中断。&lt;/P&gt;
&lt;P&gt;所以可以C_C2可以通过C_REF计算，通过IBI ACK的中断后计时加上 9*1/pushpull&amp;nbsp;Baud rate。&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Harry&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2025 06:40:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2169409#M4061</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2025-09-15T06:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: I3C CCC command Timing Control mode</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2169626#M4063</link>
      <description>&lt;P&gt;好的 谢谢&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2025 09:50:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/I3C-CCC-command-Timing-Control-mode/m-p/2169626#M4063</guid>
      <dc:creator>yvan_yan</dc:creator>
      <dc:date>2025-09-15T09:50:42Z</dc:date>
    </item>
  </channel>
</rss>

