<?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: Working LPC15xx LQFP48 CAN Sample in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526525#M9155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by fluchino on Mon Nov 23 06:05:11 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I added a correction to the can_transmit function based on what I understood from the documentation:&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;uint32_t can_transmit(CAN_MSG_OBJ* message_object) {
...
// Check object number
if((message_object-&amp;gt;msgobj &amp;lt; 1) || (message_object-&amp;gt;msgobj &amp;gt; 32)) {
return 1;// Wrong message object
}
// Read pending transmission request of object
if(message_object-&amp;gt;msgobj &amp;lt;= 16)
while(LPC_CAN-&amp;gt;TXREQ1 &amp;amp; (1 &amp;lt;&amp;lt; (message_object-&amp;gt;msgobj - 1))) {}
else
while(LPC_CAN-&amp;gt;TXREQ2 &amp;amp; (1 &amp;lt;&amp;lt; (message_object-&amp;gt;msgobj - 17))) {}
...&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;Correct me if I am wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FL&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:05:33 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:05:33Z</dc:date>
    <item>
      <title>Working LPC15xx LQFP48 CAN Sample</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526519#M9149</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 Apr 24 07:04:14 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a working CAN sample for LQFP48. Board library is included&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fhttp%3A%2F%2Fwww.lpcware.com%2Fsystem%2Ffiles%2FWorking_CAN_Sample.zip" rel="nofollow noopener noreferrer" target="_blank"&gt;Working_CAN_Sample&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;[u]Note #1[/u]&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This board library is a copy of the original LPCXpresso board library. To avoid pin muxing problems I've deleted all pin muxing entries in board_sysinit.c.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;[u]Note #2[/u]&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are 3 LED's defined in board.c:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca" style="border:1px solid black;background-color:#cacaca;border:1px solid black;background-color:#cacaca;background-color:#cacaca;border:1px solid black;"&gt; &lt;PRE&gt;#define MAXLEDS 3
static const uint8_t ledpins[MAXLEDS] =&amp;nbsp; { 2, 3, 5};
static const uint8_t ledports[MAXLEDS] = { 0, 0, 0};&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;[u]Note #3[/u]&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can.h is including options to switch to LOOPBACK / DAR&amp;nbsp; mode:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca" style="border:1px solid black;background-color:#cacaca;border:1px solid black;background-color:#cacaca;background-color:#cacaca;border:1px solid black;"&gt; &lt;PRE&gt;#define DAR_MODE//disable auto retransmission
#define LOOPBACK_MODE//enable LOOPBACK&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;[u]Note #4[/u]&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CAN pins are selected in can_init() of can.c:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca" style="border:1px solid black;background-color:#cacaca;border:1px solid black;background-color:#cacaca;background-color:#cacaca;border:1px solid black;"&gt; &lt;PRE&gt;#ifdef LQFP48
//CAN signal muxing LQFP48
 Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 18, (IOCON_MODE_INACT | IOCON_DIGMODE_EN));
 Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 13, (IOCON_MODE_INACT | IOCON_DIGMODE_EN));
 Chip_SWM_MovablePortPinAssign(SWM_CAN_TD1_O , 0, 18);
 Chip_SWM_MovablePortPinAssign(SWM_CAN_RD1_I,&amp;nbsp; 0, 13);
#endif
#ifdef LQFP64
 /* Assign the pins rx 0[11] and tx 0[31] @ LQFP64 */
 Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 11, (IOCON_MODE_INACT | IOCON_DIGMODE_EN));
 Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 31, (IOCON_MODE_INACT | IOCON_DIGMODE_EN));
 Chip_SWM_MovablePinAssign(SWM_CAN_RD1_I, 11);/* Rx P0.11 */
 Chip_SWM_MovablePinAssign(SWM_CAN_TD1_O, 31);/* Tx P0.31 */
#endif&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LQFP48 / 64 is selected in can.h:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca" style="border:1px solid black;background-color:#cacaca;border:1px solid black;background-color:#cacaca;background-color:#cacaca;border:1px solid black;"&gt; &lt;PRE&gt;#define LQFP48//LQFP48 package&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This pins are the default ISP CAN pins&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[u]LQFP48[/u]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CAN0_TD: PIO0_18 / Pin13&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CAN0_RD: PIO0_13 / Pin21&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&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-338096" rel="nofollow noopener noreferrer" target="_blank"&gt;Working_CAN_Sample.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:05:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526519#M9149</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Working LPC15xx LQFP48 CAN Sample</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526520#M9150</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 Apr 24 17:16:32 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[u]Hardware Test[/u]&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First of all it's important to check the CAN pins. SWM is assigning CAN TD/RD in can.c:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca" style="border:1px solid black;background-color:#cacaca;"&gt; &lt;PRE&gt;Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 18, (IOCON_MODE_INACT | IOCON_DIGMODE_EN));
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 13, (IOCON_MODE_INACT | IOCON_DIGMODE_EN));
Chip_SWM_MovablePortPinAssign(SWM_CAN_TD1_O , 0, 18);
Chip_SWM_MovablePortPinAssign(SWM_CAN_RD1_I,&amp;nbsp; 0, 13);
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course it's possible to select other pins. Using SWM can be tricky, so a few hints about common SWM pitfalls:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;#1: Reset problems&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As explained in UM...&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;Remark: The switch matrix is only reset by a POR or BOD reset. A hardware reset via the RESET pin or a watchdog timer reset do not reset the switch matrix. Therefore, peripheral functions remain connected to pins through the hardware or watchdog reset and the pins remain input or output as defined by the switch matrix and assume the default state as defined by the peripheral connected to them.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...it's important to power cycle the board after changing SWM settings&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;&lt;LI-EMOJI id="lia_face-with-open-mouth" title=":face_with_open_mouth:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;#2: Double assignment problems&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other peripherals can use the same pin&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":face_with_open_mouth:"&gt;&lt;LI-EMOJI id="lia_face-with-open-mouth" title=":face_with_open_mouth:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UM:&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;Remark: You are allowed to assign only one digital output function to an external pin at any given time.&lt;BR /&gt;Remark: You can assign more than one digital input function to one external pin.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it's useful to debug PINASSIGNx registers of Periperals-&amp;gt;SWM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If SWM setup is correct, LOOPBACK mode can be used to check CAN without external transceiver. Just connect an oscilloscope...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;[img=1268x442]&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fsystem%2Ffiles%2FCAN_TXD.JPG%5B%2Fimg%5D" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.lpcware.com/system/files/CAN_TXD.JPG[/img]&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526520#M9150</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Working LPC15xx LQFP48 CAN Sample</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526521#M9151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Gmatarrubia on Tue Apr 28 08:43:31 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much! &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526521#M9151</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Working LPC15xx LQFP48 CAN Sample</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526522#M9152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Orac on Fri May 01 05:24:06 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Many many thanks for this code and support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry I haven't been in touch for a while I've been sort out our issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the above code (with CAN pins changed) on our board and found it not to work, I changed physically the CAN pins to that of your code, and ran your code totally unchanged, it didn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We then built up another LPC1549 board, our design but minimum components, just clock, decoupling, ubiquitos LED and CAN transceiver hooked to ISP CAN pins as per your example. It worked! Hooray!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I then tried our application with CAN example embedded and it worked! Put the legs of the ICs back on the board to route CAN pins to our pins and yes, it worked!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, going back to our original board, we have replaced the LPC1549 and now it works so I can only assume there was something wrong with the IC. I've never expercienced this before, I could toggle the pins as GPIO but the CAN peripheral could not be routed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, all OK now, working and we are really really pleased and relieved, that you very very much for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pete&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:05:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526522#M9152</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Working LPC15xx LQFP48 CAN Sample</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526523#M9153</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 May 01 05:37:32 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Good to hear that it's working now&amp;nbsp; :) &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:05:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526523#M9153</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Working LPC15xx LQFP48 CAN Sample</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526524#M9154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by j.adtoorn on Wed Sep 09 11:47:15 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for this helpful example! Running a custom board with LPC1549 LQFP64 mcu, got it to work pretty much right away. I added the pinout of the board to can.h, also ours uses a transceiver shutdown + mode select pin, which are added to can_init().&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:05:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526524#M9154</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Working LPC15xx LQFP48 CAN Sample</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526525#M9155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by fluchino on Mon Nov 23 06:05:11 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I added a correction to the can_transmit function based on what I understood from the documentation:&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;uint32_t can_transmit(CAN_MSG_OBJ* message_object) {
...
// Check object number
if((message_object-&amp;gt;msgobj &amp;lt; 1) || (message_object-&amp;gt;msgobj &amp;gt; 32)) {
return 1;// Wrong message object
}
// Read pending transmission request of object
if(message_object-&amp;gt;msgobj &amp;lt;= 16)
while(LPC_CAN-&amp;gt;TXREQ1 &amp;amp; (1 &amp;lt;&amp;lt; (message_object-&amp;gt;msgobj - 1))) {}
else
while(LPC_CAN-&amp;gt;TXREQ2 &amp;amp; (1 &amp;lt;&amp;lt; (message_object-&amp;gt;msgobj - 17))) {}
...&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;SPAN&gt;Correct me if I am wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FL&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:05:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Working-LPC15xx-LQFP48-CAN-Sample/m-p/526525#M9155</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:05:33Z</dc:date>
    </item>
  </channel>
</rss>

