<?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: TRK-USB-MPC5643L VCP maximum bit rate? in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/TRK-USB-MPC5643L-VCP-maximum-bit-rate/m-p/491306#M2573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;750kbps works great. &lt;/P&gt;&lt;P&gt;Thanks. (I wouldn't have guessed.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 May 2016 20:25:16 GMT</pubDate>
    <dc:creator>brucemckenney</dc:creator>
    <dc:date>2016-05-02T20:25:16Z</dc:date>
    <item>
      <title>TRK-USB-MPC5643L VCP maximum bit rate?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/TRK-USB-MPC5643L-VCP-maximum-bit-rate/m-p/491304#M2571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the TRK-USB-MPC5643L UART (LINFlexD_0) via the USB virtual COM port.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It runs perfectly up to 500kbps[BRR=8]. However, when I speed it up past this (571429[BRR=7], 666667[BRR=6], or 800000[BRR=5]), I get garbage characters as though the bit rate is wrong. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This affects both Rx and Tx, and the bytes are wrong one-for-one and consistently (always the same wrong value), so it doesn't appear to be very far off.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using putty at my host; over the years I've found putty quite reliable even when using unusual bit rates. I've certainly had no difficulties with bit rates up to 1Mbps.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible that I'm going too fast for the passthrough logic in the MC9S08? What is the maximum bit rate I can use in the VCP?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 17:05:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/TRK-USB-MPC5643L-VCP-maximum-bit-rate/m-p/491304#M2571</guid>
      <dc:creator>brucemckenney</dc:creator>
      <dc:date>2016-04-29T17:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: TRK-USB-MPC5643L VCP maximum bit rate?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/TRK-USB-MPC5643L-VCP-maximum-bit-rate/m-p/491305#M2572</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;Most probably the issue is that a baud rate is not set similarly on both the JM60 and MPC5643L. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the JM60 the baud rate is set as&amp;nbsp; SCI baud rate = BUSCLK/(16xBR)&lt;/P&gt;&lt;P&gt;Where BR = 1 to 8191. Assuming the bus clock is 24Mhz, then you can calculate baud rates the JM60 can be set to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR=1 … baudrate = 1 500 000, bit period = 0.666 us&lt;/P&gt;&lt;P&gt;BR=2 … baudrate =&amp;nbsp;&amp;nbsp;&amp;nbsp; 750 000, bit period = 1.333 us&lt;/P&gt;&lt;P&gt;BR=3 … baudrate =&amp;nbsp;&amp;nbsp;&amp;nbsp; 500 000, bit period = 2 us&lt;/P&gt;&lt;P&gt;BR=4 … baudrate =&amp;nbsp;&amp;nbsp;&amp;nbsp; 375 000, bit period = 2.666us&lt;/P&gt;&lt;P&gt;etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you set the LINIBRR and LINFBRR registers of the MPC5643L's LINFlex module in the way you get a baud rate as close as possible to above values, then you should be able to communicate properly. &lt;/P&gt;&lt;P&gt;See chapter 30.12.3 Fractional baud rate generation of the MPC5643L RM to know how LINIBRR and LINFBRR values are calculated.&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>Mon, 02 May 2016 09:47:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/TRK-USB-MPC5643L-VCP-maximum-bit-rate/m-p/491305#M2572</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-05-02T09:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: TRK-USB-MPC5643L VCP maximum bit rate?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/TRK-USB-MPC5643L-VCP-maximum-bit-rate/m-p/491306#M2573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;750kbps works great. &lt;/P&gt;&lt;P&gt;Thanks. (I wouldn't have guessed.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 20:25:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/TRK-USB-MPC5643L-VCP-maximum-bit-rate/m-p/491306#M2573</guid>
      <dc:creator>brucemckenney</dc:creator>
      <dc:date>2016-05-02T20:25:16Z</dc:date>
    </item>
  </channel>
</rss>

