<?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: LPC1768: Change main clock from 12MHz to 16MHz in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Change-main-clock-from-12MHz-to-16MHz/m-p/763655#M30757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc Wetzel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; After you modify the board.c, do you build the lpc_board_nxp_lpcpresso_1769 at first, then build the periph_can?&lt;/P&gt;&lt;P&gt;&amp;nbsp; If the lib file is modified, it need to build it at first.&lt;/P&gt;&lt;P&gt;&amp;nbsp; After you build the lib and the periph project, then debug your board, the function Chip_CAN_SetBitRate.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tell me the CANPclk , TSEG1, TSEG2 and BRP, I will calculate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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, 23 Feb 2018 07:39:38 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2018-02-23T07:39:38Z</dc:date>
    <item>
      <title>LPC1768: Change main clock from 12MHz to 16MHz</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Change-main-clock-from-12MHz-to-16MHz/m-p/763654#M30756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a self-made board with a LPC1768 @ 16 MHz and CAN here.&lt;/P&gt;&lt;P&gt;I started the project by using the provided LPC1769 (LPCOpen) examples.&lt;/P&gt;&lt;P&gt;I changed the XTal frequency (named OscRateIn) in board.c in the example code from 12MHz to 16MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While testing with the CAN example inside I get the more transmission errors the higher the CAN Baudrate goes.&lt;/P&gt;&lt;P&gt;At 500kbit it is not usable at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that changing only the OscRateIn is not all that I have to change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some way to fix this in software, or do I better use the example default osc frequency of 12 MHz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;BR /&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 19:04:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Change-main-clock-from-12MHz-to-16MHz/m-p/763654#M30756</guid>
      <dc:creator>marcwetzel</dc:creator>
      <dc:date>2018-02-21T19:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768: Change main clock from 12MHz to 16MHz</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Change-main-clock-from-12MHz-to-16MHz/m-p/763655#M30757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc Wetzel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; After you modify the board.c, do you build the lpc_board_nxp_lpcpresso_1769 at first, then build the periph_can?&lt;/P&gt;&lt;P&gt;&amp;nbsp; If the lib file is modified, it need to build it at first.&lt;/P&gt;&lt;P&gt;&amp;nbsp; After you build the lib and the periph project, then debug your board, the function Chip_CAN_SetBitRate.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tell me the CANPclk , TSEG1, TSEG2 and BRP, I will calculate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&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, 23 Feb 2018 07:39:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Change-main-clock-from-12MHz-to-16MHz/m-p/763655#M30757</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-02-23T07:39:38Z</dc:date>
    </item>
  </channel>
</rss>

