<?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 MPC5777: CANFD &amp; CAN Bit rate calculations. in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5777-CANFD-CAN-Bit-rate-calculations/m-p/396888#M618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm implementing the CAN Driver for MPC5777 ,for the BIT rate calculations i assumed the SYNC value to be 1 which is standard across the Controllers.&lt;/P&gt;&lt;P&gt;I reviewed the application notes AN5045 which also says that SYNC value is always 1 and non programmable . But the MPC5777 reference manual specifies SYNC value as 3 &lt;/P&gt;&lt;P&gt;[FTSEG1 + FTSEG2 + 3] &amp;amp; [TSEG1 + TSEG2 + 3].&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i assumed the SYNC value as 1 and calculated the BIT rate the CAN communication never worked but with SYNC value 3 it was perfect.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any one explain why the SYNC value is 3? &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Siva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2015 10:25:09 GMT</pubDate>
    <dc:creator>sivakumaruppalu</dc:creator>
    <dc:date>2015-04-10T10:25:09Z</dc:date>
    <item>
      <title>MPC5777: CANFD &amp; CAN Bit rate calculations.</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777-CANFD-CAN-Bit-rate-calculations/m-p/396888#M618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm implementing the CAN Driver for MPC5777 ,for the BIT rate calculations i assumed the SYNC value to be 1 which is standard across the Controllers.&lt;/P&gt;&lt;P&gt;I reviewed the application notes AN5045 which also says that SYNC value is always 1 and non programmable . But the MPC5777 reference manual specifies SYNC value as 3 &lt;/P&gt;&lt;P&gt;[FTSEG1 + FTSEG2 + 3] &amp;amp; [TSEG1 + TSEG2 + 3].&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i assumed the SYNC value as 1 and calculated the BIT rate the CAN communication never worked but with SYNC value 3 it was perfect.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any one explain why the SYNC value is 3? &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Siva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 10:25:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777-CANFD-CAN-Bit-rate-calculations/m-p/396888#M618</guid>
      <dc:creator>sivakumaruppalu</dc:creator>
      <dc:date>2015-04-10T10:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777: CANFD &amp; CAN Bit rate calculations.</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777-CANFD-CAN-Bit-rate-calculations/m-p/396889#M619</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; The SYNC value is always 1. The AN5045 shows the bit time as SYNC_SEG+TSEG1+TSEG2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From RM…&lt;/P&gt;&lt;P&gt;“The actual interpretation by the hardware of the BTP[TSEG1] and BTP[TSEG2] registers value is such that one more than the programmed value is used.”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the AN5045’s bit time can be rewritten as SYNC_SEG + (BTP[TSEG1]+1) +( BTP[TSEG2]+1).&lt;/P&gt;&lt;P&gt;Finally assuming the SYNC is always 1 you get bit time as (BTP[TSEG1] +BTP[ TSEG2] + 3) if programmed values are considered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly for FD bit setting. Also note that the BRP and SJW are also programmed to be -1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 12:47:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777-CANFD-CAN-Bit-rate-calculations/m-p/396889#M619</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2015-04-10T12:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777: CANFD &amp; CAN Bit rate calculations.</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777-CANFD-CAN-Bit-rate-calculations/m-p/396890#M620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr Stancik, I have doubt that CAN Bit time should be 8 and 25tq. But In the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;AN5045 document.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;TSEG1 to 31 tq, TSEG2 to 8 tq plus sync_seg is 1tq.Then It is not following the ISO11898 Standard.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 14:41:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777-CANFD-CAN-Bit-rate-calculations/m-p/396890#M620</guid>
      <dc:creator>yalamandadosaky</dc:creator>
      <dc:date>2017-04-04T14:41:43Z</dc:date>
    </item>
  </channel>
</rss>

