<?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: MPC8313RDB demo program UART baud rate in PowerQUICC Processors</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8313RDB-demo-program-UART-baud-rate/m-p/292050#M589</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;You can take a look here PowerPC_EABI_Tools\CodeWarriorTRK\Transport\processor\ppc\serial\8313_RDB_serial\duart_config.c to see the used formula for clockDivider. So, it seems that depends by both the configured baudRate and RCWLR[SPMF] - my first guest is that you're using a different/unexpected RCW in the NOR flash. Please take a look in the readme file to see which is the default RCW expected by Debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Sep 2013 08:32:51 GMT</pubDate>
    <dc:creator>marius_grigoras</dc:creator>
    <dc:date>2013-09-06T08:32:51Z</dc:date>
    <item>
      <title>MPC8313RDB demo program UART baud rate</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8313RDB-demo-program-UART-baud-rate/m-p/292049#M588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to MPC world. I am trying to run a sample hello world program on my MPC8313RDBC. I've followed AN3830.pdf as a reference to run the auto-generated hello world program (the one that prints "Welcome to Codewarrior!" on the UART1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the 8313_RDB_README.txt file, automatically included in the project, the supposed BAUD rate is as belows -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Baud Rate: 57600&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Data Bits: 8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Parity: None&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stop Bits: 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Flow Control: None&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But surprisingly i am getting the output at 28800 Baud rate. I am trying to understand where i was wrong. can anybody help me out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also do we have some good Document that can be referred for BSP porting on MPC8313(or its brothers) ? please suggest some links&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Anand Mistry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 10:33:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8313RDB-demo-program-UART-baud-rate/m-p/292049#M588</guid>
      <dc:creator>anandmistry</dc:creator>
      <dc:date>2013-09-05T10:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: MPC8313RDB demo program UART baud rate</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8313RDB-demo-program-UART-baud-rate/m-p/292050#M589</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;You can take a look here PowerPC_EABI_Tools\CodeWarriorTRK\Transport\processor\ppc\serial\8313_RDB_serial\duart_config.c to see the used formula for clockDivider. So, it seems that depends by both the configured baudRate and RCWLR[SPMF] - my first guest is that you're using a different/unexpected RCW in the NOR flash. Please take a look in the readme file to see which is the default RCW expected by Debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2013 08:32:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8313RDB-demo-program-UART-baud-rate/m-p/292050#M589</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2013-09-06T08:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: MPC8313RDB demo program UART baud rate</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8313RDB-demo-program-UART-baud-rate/m-p/292051#M590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I've gone through the README file. I came to know that it was actually the problem with the board revision. Newer boards are shipped with a 33MHz oscillator whereas the program was written for older boards that had 66MHz oscillator. I've made changes to the UART library according to the README file, recompiled the library. Now the sample program works at 56K baud rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i did -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;changed GetSystemClock() function in "C:\Program Files\Freescale\CodeWarrior PA V8.8\PowerPC_EABI_Tools\CodeWarriorTRK\Transport\processor\ppc\serial\8313_RDB_serial\duart_config.c" to make it 33MHz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anand Mistry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Sep 2013 06:55:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8313RDB-demo-program-UART-baud-rate/m-p/292051#M590</guid>
      <dc:creator>anandmistry</dc:creator>
      <dc:date>2013-09-07T06:55:12Z</dc:date>
    </item>
  </channel>
</rss>

