<?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: Migration from LPC FullCAN to LPC15xx in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migration-from-LPC-FullCAN-to-LPC15xx/m-p/513777#M347</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Fri Oct 30 08:32:43 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: rjm&lt;/STRONG&gt;&lt;BR /&gt;LPC15xx have another CAN architecture compared to LPC17xx and LPC2xxx.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...it's the LPC11Cxx architecture&amp;nbsp; :O &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:10:19 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:10:19Z</dc:date>
    <item>
      <title>Migration from LPC FullCAN to LPC15xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migration-from-LPC-FullCAN-to-LPC15xx/m-p/513776#M346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rjm on Fri Oct 30 08:20:31 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC15xx have another CAN architecture compared to LPC17xx and LPC2xxx.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On NXP pages I did not find a document à la migration path to CAN using ROM-API or anything like that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I'm doing a migration job. Regarding tx, the procedure is quite straightforward. Old calls to FullCAN_PushMessage are replaced by calls to the messageTX-function in the ROM-API using a single macro:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;#define FullCAN_PushMessage(a,b) LPC_CAND_API-&amp;gt;hwCAN_ConfigRxmsgobj(pCanHandle, (CAN_MSG_OBJ *)b)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This works quite well (of course, the CAN-ID struct element does not contain the message length, which requires some more individual changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is more demanding to migrate the RX code with message filters and semaphore bits into the new handling API. Perhaps you could give some hints about that. Or.... does a "migration to"-document exist?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:10:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Migration-from-LPC-FullCAN-to-LPC15xx/m-p/513776#M346</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from LPC FullCAN to LPC15xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migration-from-LPC-FullCAN-to-LPC15xx/m-p/513777#M347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Fri Oct 30 08:32:43 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: rjm&lt;/STRONG&gt;&lt;BR /&gt;LPC15xx have another CAN architecture compared to LPC17xx and LPC2xxx.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...it's the LPC11Cxx architecture&amp;nbsp; :O &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:10:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Migration-from-LPC-FullCAN-to-LPC15xx/m-p/513777#M347</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from LPC FullCAN to LPC15xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migration-from-LPC-FullCAN-to-LPC15xx/m-p/513778#M348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Fri Oct 30 13:00:40 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;... and LPC18xx/LPC43xx.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's called C_CAN.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:10:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Migration-from-LPC-FullCAN-to-LPC15xx/m-p/513778#M348</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from LPC FullCAN to LPC15xx</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Migration-from-LPC-FullCAN-to-LPC15xx/m-p/513779#M349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by rjm on Fri Nov 06 00:56:07 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the comments. This made definitely clear that FullCAN is more sophisticated than C_CAN.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since a migration of existing FullCAN code was necessary, I started to create a wrapper code which leaves virtually all of the application code for FullCAN unchanged.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For this to be effective, a change in the basic data structure rom_can_15xx.h is necessary. Actually, part of the data structure usese an anonymous union in order to facilitate element names that are typically used in FullCAN code. The changes are compatible with existing C_CAN code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The attachment represents a test project for LPCxpresso. A c_can.c has been constructed from existing c_can code, and does standard c_can stuff, as well as init.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fullcan_wrap is the wrapper itself. Here, a test main function is included - serves as black box test function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A git patch file for the CAN-ROM library is included.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:10:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Migration-from-LPC-FullCAN-to-LPC15xx/m-p/513779#M349</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:10:20Z</dc:date>
    </item>
  </channel>
</rss>

