<?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 s12XF Flexray bus speed in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/s12XF-Flexray-bus-speed/m-p/450612#M11557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to configure the flexray bus speed of the 2-node starter kit. I have a low speed flexray network setup and it seems to be working between the 2 nodes. &lt;/P&gt;&lt;P&gt;The documentation states that the the low speed flexray network runs at 1.25mb/sec. However when I look at the datasheet of the microcontroller itself, it states that it can only run at 10, 8, 5, 2.5 mb/sec. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The config file in the FR unified driver is set to this&amp;nbsp; --&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp; 0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Value of the PRESCALE or BITRATE bit field in the MCR register&lt;/P&gt;&lt;P&gt;According to that it should be running 10b/sec shouldn't it?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if this is not the correct line to use to adjust the bus speed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2015 14:02:28 GMT</pubDate>
    <dc:creator>mikereising</dc:creator>
    <dc:date>2015-08-19T14:02:28Z</dc:date>
    <item>
      <title>s12XF Flexray bus speed</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/s12XF-Flexray-bus-speed/m-p/450612#M11557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am trying to configure the flexray bus speed of the 2-node starter kit. I have a low speed flexray network setup and it seems to be working between the 2 nodes. &lt;/P&gt;&lt;P&gt;The documentation states that the the low speed flexray network runs at 1.25mb/sec. However when I look at the datasheet of the microcontroller itself, it states that it can only run at 10, 8, 5, 2.5 mb/sec. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The config file in the FR unified driver is set to this&amp;nbsp; --&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp; 0,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Value of the PRESCALE or BITRATE bit field in the MCR register&lt;/P&gt;&lt;P&gt;According to that it should be running 10b/sec shouldn't it?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if this is not the correct line to use to adjust the bus speed.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 14:02:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/s12XF-Flexray-bus-speed/m-p/450612#M11557</guid>
      <dc:creator>mikereising</dc:creator>
      <dc:date>2015-08-19T14:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: s12XF Flexray bus speed</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/s12XF-Flexray-bus-speed/m-p/450613#M11558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have modified MCR.bitrate on both nodes, and it seems that they only communicate with bitrate is set to 0 on both. I would assume that sets the devices to 10mb/sec, however I have an oscilloscope that decodes flexray, and it only picks up data on 2.5mb/sec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another register that i'm missing in order to get the bitrate changed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 14:12:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/s12XF-Flexray-bus-speed/m-p/450613#M11558</guid>
      <dc:creator>mikereising</dc:creator>
      <dc:date>2015-08-20T14:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: s12XF Flexray bus speed</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/s12XF-Flexray-bus-speed/m-p/450614#M11559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;you are right,&lt;/P&gt;&lt;P&gt;MCR.bitrate is set to 10 mb/sec. However this setting assumes that input clock for FlexRay module is default 80MHz.&lt;/P&gt;&lt;P&gt;We could choose between two clock sources:&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;Oscillator Clocking&lt;/LI&gt;&lt;LI&gt;PLL Clocking&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;In both cases, input clock should be 80MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=S12XFSTARTERKITE&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;sample project for the low speed FlexRay network application&lt;/A&gt;, designers used PLL clocking and lower input clock than default 80MHz. In this case, it is 10MHz (see function vfnIPLL_Startup() in CPU.c file). So, if input frequency is divided by 8 in compare with default frequency, we have to divide by 8 also output bitrate. In this case it is (10 mb/sec) / 8 = 1.25 mb/sec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;RadekS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 09:15:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/s12XF-Flexray-bus-speed/m-p/450614#M11559</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2015-08-21T09:15:50Z</dc:date>
    </item>
  </channel>
</rss>

