<?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: MPC574x CANFD @4MBPS in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC574x-CANFD-4MBPS/m-p/690281#M8516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That really was helpful. Thanks for that assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a further question. How to configure the data rate to 3Mbps..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22121i82820D22AB2BCD50/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried calculating this formulas.. But its not working for me..&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really appreciate if you can help me on this. to initlaize my Data rate registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Akshay H V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 May 2017 13:56:27 GMT</pubDate>
    <dc:creator>akshay_hv</dc:creator>
    <dc:date>2017-05-23T13:56:27Z</dc:date>
    <item>
      <title>MPC574x CANFD @4MBPS</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC574x-CANFD-4MBPS/m-p/690279#M8514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have been trying to test the CANFD with different speeds. currently I am able to work the CANFD at 2 MBPS. The register initialization is as follows.&lt;BR /&gt; the Baudrate resgisters are configured to 500 kbps and Data rate registers are configured with 2 MBPS. The fcanclk is 40Mhz.&lt;/P&gt;&lt;P&gt;lp_FlexCan_fd-&amp;gt;CTRL1.B.PRESDIV = 0x03;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;CTRL1.B.PROPSEG = 0x07;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;CTRL1.B.PSEG1 = 0x05;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;CTRL1.B.PSEG2 = 0x04;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;CTRL1.B.RJW = 0x02;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;FDCBT.B.FPRESDIV = 0x01 ;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;FDCBT.B.FPROPSEG = 0x03 ;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;FDCBT.B.FPSEG1 = 0x02 ;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;FDCBT.B.FPSEG2 = 0x02 ;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;FDCBT.B.FRJW = 0x02 ;&lt;/P&gt;&lt;P&gt;I want to test the CANFD with 4 MBPS so ... I did the calculations using this algorithms by keeping PRESDIV to 0 and I got the N0Tq as 10. And I kept the initialzation as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;CTRL1.B.PRESDIV = 0x03;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;CTRL1.B.PROPSEG = 0x07;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;CTRL1.B.PSEG1 = 0x05;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;CTRL1.B.PSEG2 = 0x04;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;CTRL1.B.RJW = 0x02;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;FDCBT.B.FPRESDIV = 0x00;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;FDCBT.B.FPROPSEG = 0x03;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;FDCBT.B.FPSEG1 = 0x02;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;FDCBT.B.FPSEG2 = 0x02;&lt;BR /&gt; lp_FlexCan_fd-&amp;gt;FDCBT.B.FRJW = 0x02;&lt;/P&gt;&lt;P&gt;But this configuration is not working for me.. So please have look into my intialization and correct me if I am doing anything wrong in here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I would be nice if you can clarify me how the PROPSEG, PSEG1,PSEG2 is calculated once we get the N0Tq = 10,12..... etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 12:23:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC574x-CANFD-4MBPS/m-p/690279#M8514</guid>
      <dc:creator>akshay_hv</dc:creator>
      <dc:date>2017-05-23T12:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: MPC574x CANFD @4MBPS</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC574x-CANFD-4MBPS/m-p/690280#M8515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have Transceiver Delay Compensation enabled (FDCTRL[TDCEN]=1)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not (FDCTRL[TDCEN]=0) then the transceiver loop delay time could be longer than the actual sample point delay (200ns with your setting). The FlexCAN then detect a bit error in data phase.&lt;/P&gt;&lt;P&gt;That’s why the Secondary Sample Point is defined and used when TDC is enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If TDC is used, what is FDCTRL[TDCOFF] setting in fact? What is read from FDCTRL[TDCVAL]?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Theoretically the TDCOFF should be set to the middle of the data bit time, so&lt;/P&gt;&lt;P&gt;TDCOFF = bit_time/2 * PEclock = 250ns/2 * 40MHz = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 13:18:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC574x-CANFD-4MBPS/m-p/690280#M8515</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-05-23T13:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: MPC574x CANFD @4MBPS</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC574x-CANFD-4MBPS/m-p/690281#M8516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That really was helpful. Thanks for that assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a further question. How to configure the data rate to 3Mbps..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22121i82820D22AB2BCD50/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried calculating this formulas.. But its not working for me..&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would really appreciate if you can help me on this. to initlaize my Data rate registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Akshay H V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 13:56:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC574x-CANFD-4MBPS/m-p/690281#M8516</guid>
      <dc:creator>akshay_hv</dc:creator>
      <dc:date>2017-05-23T13:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: MPC574x CANFD @4MBPS</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC574x-CANFD-4MBPS/m-p/690282#M8517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akshay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the formulas, you gave, you can get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(PRESDIV+1) * No&lt;SUB&gt;Tq&lt;/SUB&gt; = f&lt;SUB&gt;CANCLK&lt;/SUB&gt; / BR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then assuming PRESDIV and No&lt;SUB&gt;Tq &lt;/SUB&gt;are integer values only, there is no possible setting for given PE clock and baudrate.&lt;/P&gt;&lt;P&gt;Different PE clock has to be used.&lt;SUB&gt; &lt;/SUB&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 14:08:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC574x-CANFD-4MBPS/m-p/690282#M8517</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-05-23T14:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: MPC574x CANFD @4MBPS</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC574x-CANFD-4MBPS/m-p/690283#M8518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for my understanding you are mentioning that the fcanclk has to be &lt;/P&gt;&lt;P&gt;changes from current 40Mhz.. to something else.. to achieve the 3 MBPS &lt;/P&gt;&lt;P&gt;data rate..??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Akshay H V&lt;/P&gt;&lt;P&gt;SWP FBL developer&lt;/P&gt;&lt;P&gt;Interior-Body and Security&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 14:15:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC574x-CANFD-4MBPS/m-p/690283#M8518</guid>
      <dc:creator>akshay_hv</dc:creator>
      <dc:date>2017-05-23T14:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: MPC574x CANFD @4MBPS</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC574x-CANFD-4MBPS/m-p/690284#M8519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 06:01:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC574x-CANFD-4MBPS/m-p/690284#M8519</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-05-24T06:01:05Z</dc:date>
    </item>
  </channel>
</rss>

