<?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>LPCXpresso IDEのトピックRe: LPC17XX CAN Bus Sample Code</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586940#M27445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mustafa on Sat Jul 21 00:02:12 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I downloaded this examples and tried CAN bus self test example. It doen't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't see transmit wave&amp;nbsp; at the transmit pin and the CAN controller Tx pin. What can i do to fix the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:10:22 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:10:22Z</dc:date>
    <item>
      <title>LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586918#M27423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rtos on Sun Feb 21 15:35:20 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an application note or sample code that show how to use the CAN bus on the LPC17XX chips and LPCXpresso IDE?&amp;nbsp; Something similar to the CAN_FULL or CAN_ALL demo program for the LPC2129?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338217"&gt;1100134_Console%20Output.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338217"&gt;1100134_Console%20Output.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338217"&gt;1100134_Console%20Output.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338217"&gt;1100134_Console%20Output.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338217"&gt;1100134_Console%20Output.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338217"&gt;1100134_Console%20Output.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586918#M27423</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586919#M27424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_Europe on Tue Feb 23 03:25:41 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: rtos&lt;/STRONG&gt;&lt;BR /&gt;Is there an application note or sample code that show how to use the CAN bus on the LPC17XX chips and LPCXpresso IDE?&amp;nbsp; Something similar to the CAN_FULL or CAN_ALL demo program for the LPC2129?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rtos,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The CAN driver for the LPC1700 is part of the CMSIS driver library&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Include the directories in your project and CAN is available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is also a different 'Keil-based' example code in our example code bundle which might be usable as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://ics.nxp.com/support/documents/microcontrollers/zip/code.bundle.lpc17xx.keil.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586919#M27424</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586920#M27425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rtos on Mon Jun 21 20:21:07 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: NXP_Europe&lt;/STRONG&gt;&lt;BR /&gt;Rtos,&lt;BR /&gt;The CAN driver for the LPC1700 is part of the CMSIS driver library&lt;BR /&gt;&lt;A href="http://"&gt;http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip&lt;/A&gt;&lt;BR /&gt;Include the directories in your project and CAN is available.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm a little bit confused about this CMSIS driver library.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) What exactly is this library compared with the standard CMSIS library on this page: &lt;/SPAN&gt;&lt;A href="http://"&gt;http://ics.nxp.com/support/lpcxpresso/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; You would think that the CMSIS library should be complete with drivers included?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) How would a person know about this driver library, there are no links on the NXP site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Is it safe to say that the driver library is compliment to the main standard CMSIS library? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586920#M27425</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586921#M27426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Jun 22 05:20:02 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: rtos&lt;/STRONG&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;I'm a little bit confused about this CMSIS driver library.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;1) What exactly is this library compared with the standard CMSIS library on this page: &lt;A href="http://"&gt;http://ics.nxp.com/support/lpcxpresso/&lt;/A&gt;&amp;nbsp; You would think that the CMSIS library should be complete with drivers included?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The CMSIS library provided as part of LPCXpresso is basically an LPCXpresso/RedSuite project containing the appropriate CMSIS files for a particular part. CMSIS itself basically consists of register definitions, plus some support code for accessing specific functionality of the ARM Cortex-M cpu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is more information on CMSIS and support for it in LPCXpresso at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://lpcxpresso.code-red-tech.com/LPCXpresso/node/21&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The driver library that NXP pointed you at basically uses CMSIS for its peripheral register definitions. The use of CMSIS here simply distinguishes this from potential earlier software which did not sit on top of CMSIS. [Early LPC17 software tended to make use of header files ported over from LPC2xxx family parts.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;2) How would a person know about this driver library, there are no links on the NXP site.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;A href="http://"&gt;http://ics.nxp.com/support/documents/microcontrollers/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can narrow this page down to show, say, just the LPC17 related entries by entering "LPC17" in the "Search for" box&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;3) Is it safe to say that the driver library is compliment to the main standard CMSIS library? &lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;Basically, yes. Note though that as the driver library was originally written for a different toolchain, I believe that it actually supplies CMSIS files within its source file structure. However porting this over the the LPCXPresso CMSIS library mechanism should not be a hard task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586921#M27426</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586922#M27427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rtos on Thu Jun 24 19:45:41 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;Rtos,&lt;BR /&gt;The CAN driver for the LPC1700 is part of the CMSIS driver library&lt;BR /&gt;&lt;A href="http://"&gt;http://ics.nxp.com/support/documents...er.library.zip&lt;/A&gt;&lt;BR /&gt;Include the directories in your project and CAN is available.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This project is apparently not an LPC XPresso project and I'm having a lot of trouble getting this example project to compile in LPC Xpresso IDE.&amp;nbsp; You can't simply import this project into LPCXpresso IDE.&amp;nbsp; I'm getting errors that files can not be found and certain functions can not be found, etc. I fixed most of the errors but there are few remaining ones related to the Debug UART stuff that I just cant fix for some reason.&amp;nbsp;&amp;nbsp; I played around with this for several hours, moving files around, including certain folders in the IDE etc.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking through the files in the project I see a lot of references to the Keil environment like this driver library was originally written for Keil.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought that all the example LPC Xpresso projects would compile really easy in the Code_Red IDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a native Code_Red/LPCXpresso IDE CAN example that someone can send me or point me to a link?&amp;nbsp; You might say that the links already provided should be good enough but being new to LPC Xpresso I need a little bit more help to get the project compiling so I can focus on the CAN code itself. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586922#M27427</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586923#M27428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Fri Jun 25 01:27:58 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a very simple 'port' of the library into an LPCXpresso/Red Suite [B]Makefile[/B] project at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/NXPDriverLibraries&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A Makefile project is a project where the makefile is supplied by the developer and not automatically generated by LPCXpresso/Red Suite.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586923#M27428</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586924#M27429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Polux rsv on Mon Aug 09 05:32:16 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The CAN driver in CMSIS library have some (important) bugs. It works as long as you don't change any peripheral cclk divider. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But as PCLK_div4 will not allow 1Mbit/s on a 100Mhz LPC1768, you should use PCLK_div2 to reach this speed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The major problem with the CAN controllers, also present in previous chips as LPC2368, is when you want to use both CAN1 and CAN2 controllers. The user manual states CAN1 and CAN2 should use the same CCLK frequency. But the the CAN acceptance filter module should also be set at the same frequency. Otherwise you will have very strange behaviour were software seems to be doing random things, even under debuger. This is not written in documents I read, at least those I read.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The following bugs should be corrected. CANx means there are two lines to be changed, for CAN1 and CAN2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In CAN_Init, the lines&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CLKPWR_SetPCLKDiv (CLKPWR_PCONP_PCANx, CLKPWR_PCLKSEL_CCLK_DIV_4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;should be&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CLKPWR_SetPCLKDiv (CLKPWR_PCLKSEL_CANx, CLKPWR_PCLKSEL_CCLK_DIV_4);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In can_SetBaudrate, the lines &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CANPclk = CLKPWR_GetPCLK (CLKPWR_PCONP_PCANx);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;should be &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CANPclk = CLKPWR_GetPCLK (CLKPWR_PCLKSEL_CANx);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Angelo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586924#M27429</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586925#M27430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Mark_O on Tue Aug 10 02:01:22 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Angelo wrote:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; [I]The major problem with the CAN controllers, also present in previous&amp;nbsp; chips as LPC2368, is when you want to use both CAN1 and CAN2&amp;nbsp; controllers. The user manual states CAN1 and CAN2 should use the same&amp;nbsp; CCLK frequency.[/I] &amp;lt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I must have missed that requirement.&amp;nbsp; Could you point out a reference for me?&amp;nbsp; All I noted was that "[1]PCLK_CAN1 and PCLK_CAN2 must have the same PCLK divide value when the CAN function is used." in Chapter 4, Section 7.3, Table 40.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586925#M27430</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586926#M27431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Polux rsv on Tue Aug 10 02:52:28 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Mark_O&lt;/STRONG&gt;&lt;BR /&gt;Angelo wrote:&lt;BR /&gt;&amp;gt; [I]The major problem with the CAN controllers, also present in previous chips as LPC2368, is when you want to use both CAN1 and CAN2 controllers. The user manual states CAN1 and CAN2 should use the same CCLK frequency.[/I] &amp;lt;&lt;BR /&gt; &lt;BR /&gt;I must have missed that requirement. Could you point out a reference for me? All I noted was that "[1]PCLK_CAN1 and PCLK_CAN2 must have the same PCLK divide value when the CAN function is used." in Chapter 4, Section 7.3, Table 40.&lt;BR /&gt; &lt;BR /&gt;Thanks.&lt;BR /&gt; &lt;BR /&gt;- Mark&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's what I was talking about. But the manual didn't tell the PCLK_ACF [U][B]MUST[/B][/U] be the same than PCLK_CAN1 and PCLK_CAN2. Otherwise you have random behaviour of can controllers, not doing what software tells them to do. I lost several hours to find that. :mad:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586926#M27431</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586927#M27432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rtos on Tue Dec 07 19:04:01 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;I have created a very simple 'port' of the library into an LPCXpresso/Red Suite [B]Makefile[/B] project at:&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/NXPDriverLibraries&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;A Makefile project is a project where the makefile is supplied by the developer and not automatically generated by LPCXpresso/Red Suite.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I realize this post if from a while ago but I never did get this working and am now giving it another shot.&amp;nbsp; I imported your makefile port to LPCXpresso and when I try to build the CAN project it tries to build all of the projects and I get the following errors in the makefile in the main root folder which looks like it is associated with the CMSIS library?&amp;nbsp; Any ideas what is wrong here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
**** Build of configuration Debug for project lpc17xx.cmsis.driver.library ****

make libs 
makefile:45: C:/Users/Dewrek/Documents/lpcxpresso_3.4/workspace/lpc17xx.cmsis.driver.library\makesection\makerule\LPC17xx\make.LPC17xx.gnu: No such file or directory
make: *** No rule to make target `C:/Users/Dewrek/Documents/lpcxpresso_3.4/workspace/lpc17xx.cmsis.driver.library\makesection\makerule\LPC17xx\make.LPC17xx.gnu'.&amp;nbsp; Stop.&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;This is the line in the makefile that gives the error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;include $(PROJ_ROOT)\makesection\makerule\$(DEVICE)\make.$(DEVICE).$(TOOL)&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586927#M27432</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586928#M27433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Tue Dec 07 19:43:35 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;AFAIR there's a good Keil LPC1768 sample. Adding it's 2 CAN files (can.c &amp;amp; can.h) should work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586928#M27433</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586929#M27434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rtos on Tue Dec 07 20:11:26 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt;AFAIR there's a good Keil LPC1768 sample. Adding it's 2 CAN files (can.c &amp;amp; can.h) should work.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where is the example?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586929#M27434</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586930#M27435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Tue Dec 07 20:51:35 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It's part of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;https://www.keil.com/demo/eval/arm.htm&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;See Keil\ARM\Boards\Keil\MCB1700\CAN&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or download&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://ics.nxp.com/support/documents/microcontrollers/zip/code.bundle.lpc17xx.keil.zip&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586930#M27435</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586931#M27436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rtos on Tue Dec 07 21:02:25 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Downloading Keil now.&amp;nbsp; Will give it a try.&amp;nbsp; I hope the clock speed in the Keil example matches the clock speed on the LPCXpresso 1768 board.&amp;nbsp; This way the baud rates for CAN will be corect.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586931#M27436</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586932#M27437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by elm on Wed Dec 08 03:24:56 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you heard of the Mbed board. They are also providing some code about CAN.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On this page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://mbed.org/handbook/CAN&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;But I didn't look deeper in it and I am not sure if you can use it the way as they are doing. Just give it a look.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Florian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586932#M27437</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586933#M27438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by igorsk on Wed Dec 08 07:04:08 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;mbed has its own class which implements CAN and it's closed-source.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586933#M27438</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586934#M27439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rtos on Wed Dec 08 18:09:23 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an Mbed and really do like how fast and easy you can get a project up and running.&amp;nbsp; I really think the Mbed is a great idea and great for certain projects including quick CAN projects.&amp;nbsp;&amp;nbsp; I've done several quick CAN projects with the Mbed and highly highly recommend the Mbed to anyone.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The guys that support the Mbed forum seem to be top notch guys that answer a lot of questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd rather use the Mbed as a fast prototype device and then spend my&amp;nbsp; time really understanding the LPC1768 and release the final project with&amp;nbsp; LPCXPresso.&amp;nbsp; I think this is one of the intents of the Mbed project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Having said this, the Mbed has some drawback in my opinion...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Presently the only compiler is an "on-line" compiler that resides on their servers/website.&amp;nbsp; This means that you must put your source code on their website and be connected to the Internet in order to compile your programs.&amp;nbsp; While this is amazingly convenient in many ways the big drawback for me is that if your source code is proprietary then you may not be able to put your code on their servers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) The low level drivers (CAN and other peripherals) are closed source. I really have no idea what their underlying code is doing.&amp;nbsp; I do not like to be reliant on closed source drivers.&amp;nbsp; Just my personal opinion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) I need access to some of the LP1768 interrupts.&amp;nbsp; It is difficult to use these interrupts on Mbed and you don't always get what you expect due to interactions with the underlying Mbed libraries and peripheral drivers.&amp;nbsp; I really don't understand what is going on at the low level.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586934#M27439</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586935#M27440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Dec 09 01:12:32 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[U]1. CAN Baud Rate[/U]&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;I hope the clock speed in the Keil example matches the clock speed on the LPCXpresso 1768 board. This way the baud rates for CAN will be corect. &lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you use Project Wizard to create a new LPCXpresso CMSIS C-Project, your PCLK_CAN1 &amp;amp; PCLK_CAN2 in PCLKSEL0 should be 0, so CAN is running with CCLK/4 = 25MHz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So you can calculate your BRP (for 100kHz baudrate) with (25E6 / 10 / baudrate ) -1 = (25E6 /10 /100E3) -1 = 24&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Together with SJW / TESEG / SAM setting (0x0025C000) a valid BTR is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_CAN1-&amp;gt;BTR = 0x0025C000 + 24;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course there a are a lot of other settings possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need more information, read C_CAN User's Manual from BOSCH:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.datasheetarchive.com/C_CAN-datasheet.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[U]2. Local Self Test[/U]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To avoid problems with wrong baud rates or other hardware problems, it's a good idea to use 'Local Self Test' (UM10360 Chapter16).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You just need a working CAN transceiver but no other active node (ACK isn't expected in Local Self Test Mode). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you also transmit messages in 'Self Reception Request', transmitted messages are received again and the debugger can be used to show transmitted and received data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To use Local Self Test change CAN_Init:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;LPC_CAN1-&amp;gt;MOD = LPC_CAN2-&amp;gt;MOD = 0x00; //CAN in normal operation mode&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to &lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;LPC_CAN1-&amp;gt;MOD = LPC_CAN2-&amp;gt;MOD = (1&amp;lt;&amp;lt;2); //local self test&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To use 'Self Reception Request' change CAN1_SendMessage:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;LPC_CAN1-&amp;gt;CMR = 0x21;
...
LPC_CAN1-&amp;gt;CMR = 0x41;
...
LPC_CAN1-&amp;gt;CMR = 0x81;
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to &lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;LPC_CAN1-&amp;gt;CMR = 0x30;
...
LPC_CAN1-&amp;gt;CMR = 0x50;
...
LPC_CAN1-&amp;gt;CMR = 0x90;
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586935#M27440</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586936#M27441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by fpg on Thu Feb 03 07:35:55 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;I have created a very simple 'port' of the library into an LPCXpresso/Red Suite [B]Makefile[/B] project at:&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/NXPDriverLibraries&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;A Makefile project is a project where the makefile is supplied by the developer and not automatically generated by LPCXpresso/Red Suite.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can not import that as a library or as a project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can build it as a (cmsis) project with the .c and .h files imported, but as soon as I try to _use_ one of the functions I get errors. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I create a static library and import the .c and .h files I can not even build it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please write some [U]proper[/U] instructions explaining how to use CMSIS Peripherial Driver Library? It had a great role that I chose to purchase lpc1768 and LPCXpresso IDE and now I cannot use it... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or if it is [I]that[/I] simple why don't you just upload it as a static library like CMSIS?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586936#M27441</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC17XX CAN Bus Sample Code</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586937#M27442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Thu Feb 03 08:45:54 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot comment as to why there is no formal version of the CMSIS driver library for LPCXpresso users - this is one for NXP. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I have just produced a very quick project containing the CAN LedControl example from the CMSIS driver library. You can download this from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/NXPDriverLibraries&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This builds, but as I have no suitable hardware I cannot tell you if it correctly executes or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assuming it does execute correctly, you should be able to create projects for the other CMSIS driver library CAN examples from this project. To do this, create a new project by copying this one (as per &lt;/SPAN&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/CopyingExampleProjects&lt;/A&gt;&lt;SPAN&gt;), then copy the example code into the 'src' to replace the existing code. You will need to keep the main.c, and comment out the main() function from the example (which just call centry() ).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:10:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC17XX-CAN-Bus-Sample-Code/m-p/586937#M27442</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:10:20Z</dc:date>
    </item>
  </channel>
</rss>

