<?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: Can transmit but cannot receive at CAN-FD 5Mbps in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Can-transmit-but-cannot-receive-at-CAN-FD-5Mbps/m-p/1868630#M347</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have checked the SDK example flexcan_interrupt_transfer&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1716187157502.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/279566i3185A5F5C1B14ADE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1716187157502.png" alt="xiangjun_rong_0-1716187157502.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The CTRL2[BTE] bit is set, which means that EPRS, ENCBT and EDCBT registers determines the nominal and data bit rate.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1716187550083.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/279568i58B1FF41760897D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1716187550083.png" alt="xiangjun_rong_1-1716187550083.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can calculate the CAN bit rate based on the red circle register setting.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 06:47:17 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2024-05-20T06:47:17Z</dc:date>
    <item>
      <title>Can transmit but cannot receive at CAN-FD 5Mbps</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Can-transmit-but-cannot-receive-at-CAN-FD-5Mbps/m-p/1868484#M344</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I’m evaluating FRDM-MCXN947 with CAN-FD but I’m currently facing trouble to use it. Can you tell me any ideas? I’m re-using the SDK example project of flexcan_interrupt_transfer.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;CAN system clock: 100MHz from PLL1CLK0 without division&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;CAN arbitration bit rate: 500kbps&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;CAN-FD data rate: 5Mbps&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;CAN clock prescaler: /2&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;PROPSEG of CAN: 56tq&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;PSEG1 of CAN: 18tq&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;PSEG2 of CAN: 18tq&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;JSW of CAN: 18tq&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;PROPSEG + PSEG1 of CAN-FD: 10tq&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;PSEG2 of CAN-FD: 7tq&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;JSW of CAN-FD: 7tq&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;I’m not sure why the total number of time quantum isn’t 96 but 92. However, when I set the PROPSEG to 60tq from 56tq for example, the device neither sends nor receives. I tried to utilize the function of FLEXCAN_FDCalculateImprovedTimingValues() but the values set by the function don’t work at even 2Mbps CAN-FD.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 01:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Can-transmit-but-cannot-receive-at-CAN-FD-5Mbps/m-p/1868484#M344</guid>
      <dc:creator>araki</dc:creator>
      <dc:date>2024-05-20T01:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can transmit but cannot receive at CAN-FD 5Mbps</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Can-transmit-but-cannot-receive-at-CAN-FD-5Mbps/m-p/1868630#M347</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have checked the SDK example flexcan_interrupt_transfer&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1716187157502.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/279566i3185A5F5C1B14ADE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1716187157502.png" alt="xiangjun_rong_0-1716187157502.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The CTRL2[BTE] bit is set, which means that EPRS, ENCBT and EDCBT registers determines the nominal and data bit rate.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1716187550083.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/279568i58B1FF41760897D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1716187550083.png" alt="xiangjun_rong_1-1716187550083.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can calculate the CAN bit rate based on the red circle register setting.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 06:47:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Can-transmit-but-cannot-receive-at-CAN-FD-5Mbps/m-p/1868630#M347</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-05-20T06:47:17Z</dc:date>
    </item>
  </channel>
</rss>

