<?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: LPC1769 CAN1 bus is not working in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576021#M19358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mysepp on Wed Sep 30 11:53:12 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What have you connected to your CAN transceiver? Do you have termination?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:15:31 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:15:31Z</dc:date>
    <item>
      <title>LPC1769 CAN1 bus is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576012#M19349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kbalar on Mon Sep 28 09:07:57 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using LPCXpresso LPC1769 board (OM13000) and LPCXpresso LPC11C24 board (OM13012) connected via CAN2 bus.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran "periph_can" example on LPC1769 and CAN2 bus communication between these two board is working fine. Both the board can send data to each other via CAN2 bus of LPC1769.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now same way I try to connect CAN1 bus of LPC1769 to LPC11C24.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the "periph_can" example on LPC1769, I have modified as below to use CAN1 bus. I have change CAN_CTRL_NO to 0 so that I can use CAN1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#if defined(CHIP_LPC175X_6X)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;---#define CAN_CTRL_NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+++#define CAN_CTRL_NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#else&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define CAN_CTRL_NO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#endif&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#if (CAN_CTRL_NO == 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define LPC_CAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (LPC_CAN1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#else&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define LPC_CAN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (LPC_CAN2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#endif&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have changed CAN bus connection to LPC11c24 via CAN1 bus of LPC1769.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I try to run this example on LPC1769 and try to communicate between this two board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this time communication via CAN1 bus is not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached can.c of "periph_can" example on LPC1769 and also attached lpc11c24_test.c of LPC11c24 which I am using.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What could be wrong in this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am bit new with LPC controllers and CAN bus communication. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KBalar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: Same setup and example is working fine on CAN2 bus but nor working on CAN1 bus.&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-338030"&gt;lpc11c24_test.c.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-338030"&gt;can.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576012#M19349</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 CAN1 bus is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576013#M19350</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 Mon Sep 28 13:08:30 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Quote: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:balarkalpesh@gmail.com"&gt;balarkalpesh@gmail.com&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;What could be wrong in this?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You're kidding&amp;nbsp; :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously you CAN1 setup is wrong (or your transceiver connection)...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your code snippet isn't showing how you setup CAN1 and you don't describe what you have connected&amp;nbsp; :~ &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I have to guess: Pin Muxing in your board library is wrong...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576013#M19350</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 CAN1 bus is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576014#M19351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kbalar on Tue Sep 29 08:04:42 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used TJF1051T/3 transceiver with connections shown in attached image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think CAN1 connections are good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I mentioned previously I am using&amp;nbsp; "periph_can" example and board library provided by LPC. Downloaded from link: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fhttps%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fnxpfile%2Flpcopen-software-development-platform-lpc17xx-packages" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc17xx-packages&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume muxing in this library is already set, Or do I need to change any thing in this library to use CAN1?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KBalar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576014#M19351</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 CAN1 bus is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576015#M19352</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 Tue Sep 29 08:10:59 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Quote: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:balarkalpesh@gmail.com"&gt;balarkalpesh@gmail.com&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;I assume muxing in this library is already set...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; :D &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And are your CAN1 pins muxed to CAN1 ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576015#M19352</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 CAN1 bus is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576016#M19353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kbalar on Tue Sep 29 08:58:02 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Where can I see CAN1 pin muxing? In which file of board library?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I verify CAN1 pin muxing is correct or not?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ohhh. I can see muxing table here where CAN1 Pin is not defined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Pin muxing configuration */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;STATIC const PINMUX_GRP_T pinmuxing[] = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0,&amp;nbsp; 0,&amp;nbsp;&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC2},/* TXD3 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0,&amp;nbsp; 1,&amp;nbsp;&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC2},/* RXD3 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0,&amp;nbsp; 4,&amp;nbsp;&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC2},/* CAN-RD2 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0,&amp;nbsp; 5,&amp;nbsp;&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC2},/* CAN-TD2 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0,&amp;nbsp; 22,&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC0},/* Led 0 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0,&amp;nbsp; 23,&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC1},/* ADC 0 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0,&amp;nbsp; 26,&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC2},/* DAC */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* ENET */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0x1, 0,&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_TXD0 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0x1, 1,&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_TXD1 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0x1, 4,&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_TX_EN */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0x1, 8,&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_CRS */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0x1, 9,&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_RXD0 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0x1, 10, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_RXD1 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0x1, 14, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_RX_ER */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0x1, 15, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_REF_CLK */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0x1, 16, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_MDC */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0x1, 17, IOCON_MODE_INACT | IOCON_FUNC1},/* ENET_MDIO */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0x1, 27, IOCON_MODE_INACT | IOCON_FUNC1},/* CLKOUT */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Joystick buttons. */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{2, 3,&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC0},/* JOYSTICK_UP */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0, 15, IOCON_MODE_INACT | IOCON_FUNC0},/* JOYSTICK_DOWN */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{2, 4,&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC0},/* JOYSTICK_LEFT */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0, 16, IOCON_MODE_INACT | IOCON_FUNC0},/* JOYSTICK_RIGHT */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0, 17, IOCON_MODE_INACT | IOCON_FUNC0},/* JOYSTICK_PRESS */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KBalar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576016#M19353</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 CAN1 bus is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576017#M19354</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 Tue Sep 29 09:05:54 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Quote: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:balarkalpesh@gmail.com"&gt;balarkalpesh@gmail.com&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;Where can I see CAN1 pin muxing?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the debugger&amp;nbsp; :O &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Quote: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:balarkalpesh@gmail.com"&gt;balarkalpesh@gmail.com&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;How can I verify CAN1 pin muxing is correct or not?&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Read User Manual Chapter 8.5.1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[color=#f00]Pin Function Select register 0 (PINSEL0 - 0x4002 C000) [/color]&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576017#M19354</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 CAN1 bus is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576018#M19355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kbalar on Tue Sep 29 09:45:15 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have selected function 1 for P0.0 and P0.1 as below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Pin muxing configuration */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;STATIC const PINMUX_GRP_T pinmuxing[] = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0,&amp;nbsp; 0,&amp;nbsp;&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC1},/* CAN-RD1 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0,&amp;nbsp; 1,&amp;nbsp;&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC1},/* CAN-TD1 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0,&amp;nbsp; 4,&amp;nbsp;&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC2},/* CAN-RD2 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{0,&amp;nbsp; 5,&amp;nbsp;&amp;nbsp; IOCON_MODE_INACT | IOCON_FUNC2},/* CAN-TD2 */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But still I have no success for CAN1 communication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kalpesh Balar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576018#M19355</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 CAN1 bus is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576019#M19356</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 Tue Sep 29 13:11:57 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Quote: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:balarkalpesh@gmail.com"&gt;balarkalpesh@gmail.com&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;But still I have no success for CAN1 communication.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And is debugger showing RD1 / TD1 function at P0_0 / P0_1&amp;nbsp; :quest:&amp;nbsp; :quest:&amp;nbsp; :quest: &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576019#M19356</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 CAN1 bus is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576020#M19357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kbalar on Wed Sep 30 09:26:52 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached my entire program with board lib here for more information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes in debugging I can see pin muxing for p0.0 and p0.1 is set to function 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But program always stuck at below while loop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;I&gt;SendMsgBuf.ID = CAN_TX_MSG_STD_ID;&lt;BR /&gt;SendMsgBuf.DLC = 1;&lt;BR /&gt;SendMsgBuf.Type = 0;&lt;BR /&gt;SendMsgBuf.Data[0] = 20;&lt;BR /&gt;TxBuf = Chip_CAN_GetFreeTxBuf(LPC_CAN);&lt;BR /&gt;Chip_CAN_Send(LPC_CAN, TxBuf, &amp;amp;SendMsgBuf);&lt;BR /&gt;&lt;STRONG&gt;while ((Chip_CAN_GetStatus(LPC_CAN) &amp;amp; CAN_SR_TCS(TxBuf)) == 0) {}&lt;/STRONG&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When entering to this line below is the status of LPC_CAN1&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;LPC_CAN1LPC_CAN_T *0x40044000&lt;BR /&gt;MODvolatile uint32_t0&lt;BR /&gt;CMRvolatile uint32_t0&lt;BR /&gt;GSRvolatile uint32_t2147483744&lt;BR /&gt;ICRconst volatile uint32_t14221440&lt;BR /&gt;IERvolatile uint32_t2047&lt;BR /&gt;BTRvolatile uint32_t7323649&lt;BR /&gt;EWLvolatile uint32_t96&lt;BR /&gt;SRconst volatile uint32_t5000288&lt;BR /&gt;RXvolatile IP_CAN_001_RX_T{...}&lt;BR /&gt;TXLPC_CAN_TX_T [3]0x40044030&lt;BR /&gt;TX[0]LPC_CAN_TX_T{...}&lt;BR /&gt;TFIvolatile uint32_t65536&lt;BR /&gt;TIDvolatile uint32_t512&lt;BR /&gt;TDuint32_t [2]0x40044038&lt;BR /&gt;TD[0]uint32_t878095124&lt;BR /&gt;TD[1]uint32_t305419896&lt;BR /&gt;TX[1]LPC_CAN_TX_T{...}&lt;BR /&gt;TFIvolatile uint32_t0&lt;BR /&gt;TIDvolatile uint32_t0&lt;BR /&gt;TDuint32_t [2]0x40044048&lt;BR /&gt;TD[0]uint32_t0&lt;BR /&gt;TD[1]uint32_t0&lt;BR /&gt;TX[2]LPC_CAN_TX_T{...}&lt;BR /&gt;TFIvolatile uint32_t0&lt;BR /&gt;TIDvolatile uint32_t0&lt;BR /&gt;TDuint32_t [2]0x40044058&lt;BR /&gt;TD[0]uint32_t0&lt;BR /&gt;TD[1]uint32_t0&lt;/I&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KBalar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576020#M19357</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 CAN1 bus is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576021#M19358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mysepp on Wed Sep 30 11:53:12 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What have you connected to your CAN transceiver? Do you have termination?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576021#M19358</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 CAN1 bus is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576022#M19359</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 Wed Sep 30 13:36:19 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: kbalar&lt;/STRONG&gt;&lt;BR /&gt;I have attached my entire program with board lib here...&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;..which is again working without problems here&amp;nbsp; &lt;SPAN class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;&lt;LI-EMOJI id="lia_grinning-face-with-smiling-eyes" title=":grinning_face_with_smiling_eyes:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CAN-Sniffer and Scope are showing the message&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;SPAN&gt;So your problem is your hardware and I would recommend to switch to Local self test&amp;nbsp; (Chapter 16.5.8) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and scope your hardware...&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;
Chip_CAN_Init(LPC_CAN, LPC_CANAF, LPC_CANAF_RAM);
[color=#f00]Chip_CAN_SetMode(LPC_CAN, CAN_SELFTEST_MODE, ENABLE);[/color]
Chip_CAN_SetBitRate(LPC_CAN, 500000);
Chip_CAN_EnableInt(LPC_CAN, CAN_IER_BITMASK);
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576022#M19359</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 CAN1 bus is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576023#M19360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kbalar on Thu Oct 01 00:10:55 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: mysepp&lt;/STRONG&gt;&lt;BR /&gt;What have you connected to your CAN transceiver? Do you have termination?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please see attached image for CAN1 connections.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576023#M19360</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 CAN1 bus is not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576024#M19361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kbalar on Wed Oct 07 01:16:33 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: R2D2&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;So your problem is your hardware and I would recommend to switch to Local self test&amp;nbsp; (Chapter 16.5.8) &lt;BR /&gt;and scope your hardware...&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes it was hardware issue. Two board were sharing common power supply and it was result in power drop for one board. Due to that transreceiver was not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Changed power supply and now both CAN bus are working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:15:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-CAN1-bus-is-not-working/m-p/576024#M19361</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:15:33Z</dc:date>
    </item>
  </channel>
</rss>

