<?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>S12 / MagniV Microcontrollers中的主题 CAN Baud rate configuration</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-Baud-rate-configuration/m-p/251749#M9682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need to configure 504kbps or 498kbps in HCS12x with MC9SXDP512 microprocessor. is this possible? what register configurations i need to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Dec 2013 09:57:43 GMT</pubDate>
    <dc:creator>sheelahariharan</dc:creator>
    <dc:date>2013-12-09T09:57:43Z</dc:date>
    <item>
      <title>CAN Baud rate configuration</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-Baud-rate-configuration/m-p/251749#M9682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need to configure 504kbps or 498kbps in HCS12x with MC9SXDP512 microprocessor. is this possible? what register configurations i need to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 09:57:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-Baud-rate-configuration/m-p/251749#M9682</guid>
      <dc:creator>sheelahariharan</dc:creator>
      <dc:date>2013-12-09T09:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: CAN Baud rate configuration</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-Baud-rate-configuration/m-p/251750#M9683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CAN baud rate could be selected by write into CANBTR0 and CANBTR1 registers.&lt;/P&gt;&lt;P&gt;For calculating baud rate values we need to know several parameters like oscillator frequency, Physical Interface Tx+ Rx propagation delay,….&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: We suppose that external oscillator will be used as clock source for CAN interface. PLL isn’t recommended due to CAN bit time requirements and PLL lock/unlock range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In attachment you can find simple CAN baud rate calculator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 11:22:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-Baud-rate-configuration/m-p/251750#M9683</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2013-12-10T11:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: CAN Baud rate configuration</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-Baud-rate-configuration/m-p/251751#M9684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried with those registers but could not able to achieve this baud rate accurately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using HCS12x starter kit. in that crystal oscillator frequency is 16Mhz and bus clock is 8MHz. is there any possibility to change the Fosc clock in that starter kit?&lt;/P&gt;&lt;P&gt;without changing Fosc i cant configure PLL to achieve the above said baud rates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is for my internal testing purpose only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 12:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-Baud-rate-configuration/m-p/251751#M9684</guid>
      <dc:creator>sheelahariharan</dc:creator>
      <dc:date>2013-12-10T12:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: CAN Baud rate configuration</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-Baud-rate-configuration/m-p/251752#M9685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can change oscillator for achieve requested baud rate.&lt;/P&gt;&lt;P&gt;S12X starter kit board contains on-board 4MHz crystal and 8pin DIP socket for external CMOS oscillator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use for example oscillator with frequency 18.432MHz and settings CANTBR0=0xC0, VANTBR1=0xD6 will produce real baud rate 498162 bits/s which is pretty close to 498kbps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can use for example oscillator with frequency 19.6608MHz and settings CANTBR0=0xC0, VANTBR1=0xE7 (or 0xC2, 0x46) will produce real baud rate 504123 bits/s which is pretty close to 504kbps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;Note: if it is just for test purpose, you can use signal generator for generating square 2.5V EXTAL signal at requested frequency. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 13:23:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-Baud-rate-configuration/m-p/251752#M9685</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2013-12-10T13:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: CAN Baud rate configuration</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-Baud-rate-configuration/m-p/251753#M9686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply..&lt;/P&gt;&lt;P&gt;Can i get details about external CMOS oscillator.. Do i need to do any software configuration for that oscillator.. How do i select that oscillator as the reference for CAN clock..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my Windows Phone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 16:22:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-Baud-rate-configuration/m-p/251753#M9686</guid>
      <dc:creator>sheelahariharan</dc:creator>
      <dc:date>2013-12-10T16:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: CAN Baud rate configuration</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-Baud-rate-configuration/m-p/251754#M9687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need something like this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.oscilent.com/spec_pages/Oscillators/CO-320.html"&gt;http://www.oscilent.com/spec_pages/Oscillators/CO-320.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At board: &lt;/P&gt;&lt;P&gt;Move jumper J113 to position 2-3 (CLOCK) and close jumper J114 (XCLKS#=0).&lt;/P&gt;&lt;P&gt;Reset MCU. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In software: CANCTL1_CLKSRC bit selects oscillator or bus clock as CAN clock source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 15:15:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CAN-Baud-rate-configuration/m-p/251754#M9687</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2013-12-11T15:15:22Z</dc:date>
    </item>
  </channel>
</rss>

