<?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: How to connect two lpc11C24 ?</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529648#M1591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ronbra on Tue May 21 06:20:49 MST 2013&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;So you have 2&amp;nbsp; LPCXpresso11C24 and the standard canopen_onchip sample ?&lt;BR /&gt;&lt;BR /&gt;That's working out of the box after connecting CAN-H / CAN-L.&lt;BR /&gt;&lt;BR /&gt;As described in canopen_onchip_readme.txt:&lt;BR /&gt;So what is the problem?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the problem is that I tried to connect CAN-H / CAN-L (without 120R resistor) but it didn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you write code for sender and a code for listener ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:14:52 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:14:52Z</dc:date>
    <item>
      <title>How to connect two lpc11C24 ?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529642#M1585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ronbra on Mon May 20 07:26:56 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you tell me how to connect two lpc11c24 with C_CAN with on-chip or CANopen, and how to communicate with each-other ???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529642#M1585</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect two lpc11C24 ?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529643#M1586</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 May 20 08:07:14 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Ronbra&lt;/STRONG&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;Can you tell me how to connect two lpc11c24 with C_CAN with on-chip or CANopen, and how to communicate with each-other ???&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure what we are talking about. LPC11C24 is including a transceiver and can be connected as CAN-device as usual.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'Zero' has written several posts about CAN and LPC11Cxx like this &lt;/SPAN&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?p=21853#post21853&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529643#M1586</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect two lpc11C24 ?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529644#M1587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ronbra on Tue May 21 05:07:15 MST 2013&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;I'm not sure what we are talking about. LPC11C24 is including a transceiver and can be connected as CAN-device as usual.&lt;BR /&gt;&lt;BR /&gt;'Zero' has written several posts about CAN and LPC11Cxx like this &lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?p=21853#post21853&lt;/A&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for reply, I checked 'Zero' posts about CAN, but I want to know in detail about wiring and communicating two lpc11c24 not just ram solutions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please if anybody has a schematic and code, please post it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s. in lpcXpresso there are a sample code, I modified it and connected two lpc11c24 but it' not working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529644#M1587</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect two lpc11C24 ?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529645#M1588</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 May 21 05:27:24 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Ronbra&lt;/STRONG&gt;&lt;BR /&gt;p.s. in lpcXpresso there are a sample code, I modified it and connected two lpc11c24 but it' not working.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#1 There are samples in you Example folder, try them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#2 Connecting LPC11C24 via CAN means connecting CAN-H and CAN-L, that's all. I'm not sure which hardware we are talking about (LPCXpresso11C24 ?) and if there's a termination somewhere in your bus.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529645#M1588</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect two lpc11C24 ?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529646#M1589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ronbra on Tue May 21 05:55:31 MST 2013&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;#1 There are samples in you Example folder, try them.&lt;BR /&gt;&lt;BR /&gt;#2 Connecting LPC11C24 via CAN means connecting CAN-H and CAN-L, that's all. I'm not sure which hardware we are talking about (LPCXpresso11C24 ?) and if there's a termination somewhere in your bus.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here are example code:&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;/****************************************************************************
 *&amp;nbsp;&amp;nbsp; $Id:: main.c 5035 2010-09-24 23:48:55Z nxp12832&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $
 *&amp;nbsp;&amp;nbsp; Project: NXP LPC11xx CAN example
 *
 *&amp;nbsp;&amp;nbsp; Description:
 *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This file is part of the CAN and CANopen on-chip driver examples.
 *
 ****************************************************************************
 * Software that is described herein is for illustrative purposes only
 * which provides customers with programming information regarding the
 * products. This software is supplied "AS IS" without any warranties.
 * NXP Semiconductors assumes no responsibility or liability for the
 * use of the software, conveys no license or title under any patent,
 * copyright, or mask work right to the product. NXP Semiconductors
 * reserves the right to make changes in the software without
 * notification. NXP Semiconductors also make no representation or
 * warranty that such application will be suitable for the specified
 * use without further testing or modification.
****************************************************************************/
#include "driver_config.h"
#include "target_config.h"

#include "rom_drivers.h"

#ifndef NULL
#define NULL&amp;nbsp;&amp;nbsp;&amp;nbsp; ((void *)0)
#endif

ROM **rom = (ROM **)0x1fff1ff8;

CAN_MSG_OBJ msg_obj;

/* Initialize CAN Controller */
uint32_t ClkInitTable[2] = {
&amp;nbsp; 0x00000000UL, // CANCLKDIV
&amp;nbsp; 0x00001C57UL&amp;nbsp; // CAN_BTR
};

/* Callback function prototypes */
void CAN_rx(uint8_t msg_obj_num);
void CAN_tx(uint8_t msg_obj_num);
void CAN_error(uint32_t error_info);

/* CANopen Callback function prototypes */
uint32_t CANOPEN_sdo_exp_read (uint16_t index, uint8_t subindex);
uint32_t CANOPEN_sdo_exp_write(uint16_t index, uint8_t subindex, uint8_t *dat_ptr);
uint8_t CANOPEN_sdo_req (uint8_t length, uint8_t *req_ptr, uint8_t *length_resp, uint8_t *resp_ptr);

/* Publish CAN Callback Functions */
CAN_CALLBACKS callbacks = {
CAN_rx,
CAN_tx,
CAN_error,
CANOPEN_sdo_exp_read,
CANOPEN_sdo_exp_write,
NULL,
NULL,
NULL
};

/*CANopen read-only (constant) Object Dictionary (OD) entries
Used with Expidited SDO only. Lengths = 1/2/4 bytes */
CAN_ODCONSTENTRY myConstOD [] = {
/* index, subindex,length,value */
{ 0x1000, 0x00, 4, 0x54534554UL },&amp;nbsp; // "TEST"
{ 0x1018, 0x00, 1, 0x00000003UL },
{ 0x1018, 0x01, 4, 0x00000003UL },
{ 0x2000, 0x00, 1, (uint32_t)'M' },
};

/* Application variables used in variable OD */
uint8_t&amp;nbsp; error_register;
uint32_t device_id;
uint32_t fw_ver;
uint16_t param;

/*CANopen list of variable Object Dictionary (OD) entries
Expedited SDO with length=1/2/4 bytes */
CAN_ODENTRY myOD [] = {
/* index, subindex,access_type | length,value_pointer */
{ 0x1001, 0x00, OD_EXP_RO | 1,(uint8_t *)&amp;amp;error_register },
{ 0x1018, 0x02, OD_EXP_RO | 4,(uint8_t *)&amp;amp;device_id },
{ 0x1018, 0x03, OD_EXP_RO | 4,(uint8_t *)&amp;amp;fw_ver },
{ 0x2001, 0x00, OD_EXP_RW | 2,(uint8_t *)&amp;amp;param },
};

/* CANopen configuration structure */
static const CAN_CANOPENCFG myCANopen = {
20,// node_id
5,// msgobj_rx
6,// msgobj_tx
1,// isr_handled
sizeof(myConstOD)/sizeof(myConstOD[0]),// od_const_num 
(CAN_ODCONSTENTRY *)myConstOD,// od_const_table
sizeof(myOD)/sizeof(myOD[0]),// od_num
(CAN_ODENTRY *)myOD,// od_table
};

/*CAN receive callback */
/*Function is executed by the Callback handler after
a CAN message has been received */
void CAN_rx(uint8_t msg_obj_num){
&amp;nbsp; 
&amp;nbsp; /* Determine which CAN message has been received */
&amp;nbsp; msg_obj.msgobj = msg_obj_num;
&amp;nbsp; /* Now load up the msg_obj structure with the CAN message */
&amp;nbsp; (*rom)-&amp;gt;pCAND-&amp;gt;can_receive(&amp;amp;msg_obj);

&amp;nbsp; if (msg_obj_num == 1)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Simply transmit CAN frame (echo) with with ID +0x100 via buffer 2 */
&amp;nbsp;&amp;nbsp;&amp;nbsp; msg_obj.msgobj = 2;
&amp;nbsp;&amp;nbsp;&amp;nbsp; msg_obj.mode_id += 0x100;
&amp;nbsp;&amp;nbsp;&amp;nbsp; (*rom)-&amp;gt;pCAND-&amp;gt;can_transmit(&amp;amp;msg_obj);
&amp;nbsp; }

&amp;nbsp; return;
}

/*CAN transmit callback */
/*Function is executed by the Callback handler after
a CAN message has been transmitted */
void CAN_tx(uint8_t msg_obj_num){
&amp;nbsp; return;
}

/*CAN error callback */
/*Function is executed by the Callback handler after
an error has occured on the CAN bus */
void CAN_error(uint32_t error_info){
&amp;nbsp; return;
}

/*CAN interrupt handler */
/*The CAN interrupt handler must be provided by the user application.
It's function is to call the isr() API located in the ROM */
void CAN_IRQHandler (void){
&amp;nbsp; (*rom)-&amp;gt;pCAND-&amp;gt;isr();
}

/* CANopen Callback for expedited read accesses */
uint32_t CANOPEN_sdo_exp_read(uint16_t index, uint8_t subindex){
if (index == 0x2001)
param++;

return 0;&amp;nbsp; // Return 0 for successs, SDO Abort code for error
}

/* CANopen Callback for expedited write accesses */
uint32_t CANOPEN_sdo_exp_write(uint16_t index, uint8_t subindex, uint8_t *dat_ptr){
&amp;nbsp; if ((index == 0x2001) &amp;amp;&amp;amp; (*(uint16_t *)dat_ptr != 0))
&amp;nbsp;&amp;nbsp;&amp;nbsp; return SDO_ABORT_VALUE_RANGE;
&amp;nbsp; else
&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&amp;nbsp; // Return 0 for successs, SDO Abort code for error
}


int main(void) {



/* Output the Clk onto the CLKOUT Pin PIO0_1 to monitor the freq on a scope */
LPC_IOCON-&amp;gt;PIO0_1= (1&amp;lt;&amp;lt;0);
/* Select the MAIN clock as the clock out selection since it's driving the core */
LPC_SYSCON-&amp;gt;CLKOUTCLKSEL = 3;
/* Set CLKOUTDIV to 6 */
LPC_SYSCON-&amp;gt;CLKOUTDIV = 10;//CLKOUT Divider = 10
/* Enable CLKOUT */
LPC_SYSCON-&amp;gt;CLKOUTUEN = 0;
LPC_SYSCON-&amp;gt;CLKOUTUEN = 1;
while (!(LPC_SYSCON-&amp;gt;CLKOUTUEN &amp;amp; 0x01));

/* Initialize the CAN controller */
(*rom)-&amp;gt;pCAND-&amp;gt;init_can(&amp;amp;ClkInitTable[0], 1);

/* Configure the CAN callback functions */
(*rom)-&amp;gt;pCAND-&amp;gt;config_calb(&amp;amp;callbacks);

/* Initialize CANopen handler and variables */
error_register = 0x00;
device_id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0xAA55AA54;
fw_ver&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x00010002;
param&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 33;
(*rom)-&amp;gt;pCAND-&amp;gt;config_canopen((CAN_CANOPENCFG *)&amp;amp;myCANopen);

/* Enable the CAN Interrupt */
NVIC_EnableIRQ(CAN_IRQn);

/* Send a simple one time CAN message */

msg_obj.msgobj&amp;nbsp; = 0;
msg_obj.mode_id = 0x345;
msg_obj.mask&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x0;
msg_obj.dlc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 4;
msg_obj.data[0] = 'T';//0x54
msg_obj.data[1] = 'E';//0x45
msg_obj.data[2] = 'S';//0x53
msg_obj.data[3] = 'T';//0x54
(*rom)-&amp;gt;pCAND-&amp;gt;can_transmit(&amp;amp;msg_obj);

/* Configure message object 1 to receive all 11-bit messages 0x400-0x4FF */
msg_obj.msgobj = 1;
msg_obj.mode_id = 0x400;
msg_obj.mask = 0x700;
(*rom)-&amp;gt;pCAND-&amp;gt;config_rxmsgobj(&amp;amp;msg_obj);

while(1){
(*rom)-&amp;gt;pCAND-&amp;gt;config_rxmsgobj(&amp;amp;msg_obj);
__WFI();/* Go to Sleep */
}
}
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have two LPCXpresso Board with Target LPC11C24, and simply I want to connect them via CANopen .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529646#M1589</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect two lpc11C24 ?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529647#M1590</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 May 21 06:07:54 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;So you have 2&amp;nbsp; LPCXpresso11C24 and the standard canopen_onchip sample ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's working out of the box after connecting CAN-H / CAN-L.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As described in canopen_onchip_readme.txt:&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;This sample project serves as a simple demonstration to use&lt;BR /&gt;the built-in on-chip CAN and CANopen drivers available on &lt;BR /&gt;the LPC11C00 NXP microcontroller series.&lt;BR /&gt;&lt;BR /&gt;Hardware Requirements:&lt;BR /&gt;An external CAN Analyzer/Generator is needed to send and&lt;BR /&gt;receive CAN frames to the LPC11C00.&lt;BR /&gt;&lt;BR /&gt;CAN Configuration:&lt;BR /&gt;CAN bus baudrate: 125kbps&lt;BR /&gt;&lt;BR /&gt;Sample Project Details:&lt;BR /&gt;&lt;BR /&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; Upon reset, the LPC11C00 will send a simple CAN frame&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; using the on-chip CAN drivers. It will send a CAN frame&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; with its data contents of "TEST".&lt;BR /&gt;&lt;BR /&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Whenever the LPC11C00 receives a CAN frame whose ID is&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; between 0x400-0x4FF, it will simply resend the received&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; frame back onto the CAN bus.&lt;BR /&gt;&lt;BR /&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp; The LPC11C00 is now also responsive to Expedited SDO&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; transfers. By default, the CANopen ID is 20 (0x14).&lt;BR /&gt;&lt;BR /&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp; While the LPC11C00 isn't sending or receiving CAN frames&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; it will go into SLEEP. It resumes automatically into&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; active mode once it has received a CAN frame.&lt;BR /&gt;&lt;BR /&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp; CAUTION! CAUTION! CAUTION! CAUTION! CAUTION! CAUTION!&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =====================================================&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Make sure to reserve memory from 0x1000 0050 - 0x1000 00B8&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for the on_chip CAN drivers!&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; See the project's linker scripts and the LPC11C1x Usermanual&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for details.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =====================================================&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CAUTION! CAUTION! CAUTION! CAUTION! CAUTION! CAUTION!&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;So what is the problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529647#M1590</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect two lpc11C24 ?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529648#M1591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ronbra on Tue May 21 06:20:49 MST 2013&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;So you have 2&amp;nbsp; LPCXpresso11C24 and the standard canopen_onchip sample ?&lt;BR /&gt;&lt;BR /&gt;That's working out of the box after connecting CAN-H / CAN-L.&lt;BR /&gt;&lt;BR /&gt;As described in canopen_onchip_readme.txt:&lt;BR /&gt;So what is the problem?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the problem is that I tried to connect CAN-H / CAN-L (without 120R resistor) but it didn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you write code for sender and a code for listener ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529648#M1591</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect two lpc11C24 ?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529649#M1592</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 May 21 06:26:08 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Ronbra&lt;/STRONG&gt;&lt;BR /&gt;the problem is that I tried to connect CAN-H / CAN-L (without 120R resistor) but it didn't work.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What didn't work?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529649#M1592</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect two lpc11C24 ?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529650#M1593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ronbra on Tue May 21 23:27:49 MST 2013&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;What didn't work?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It was unable to communicate with each-other.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529650#M1593</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect two lpc11C24 ?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529651#M1594</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 May 22 00:21:44 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Ronbra&lt;/STRONG&gt;&lt;BR /&gt;It was unable to communicate with each-other.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you understand the readme.txt? &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;This sample project serves as a simple demonstration to use&lt;BR /&gt;the built-in on-chip CAN and CANopen drivers available on &lt;BR /&gt;the LPC11C00 NXP microcontroller series.&lt;BR /&gt;&lt;BR /&gt;Hardware Requirements:&lt;BR /&gt;An external CAN Analyzer/Generator is needed to send and&lt;BR /&gt;receive CAN frames to the LPC11C00.&lt;BR /&gt;&lt;BR /&gt;CAN Configuration:&lt;BR /&gt;CAN bus baudrate: 125kbps&lt;BR /&gt;&lt;BR /&gt;Sample Project Details:&lt;BR /&gt;&lt;BR /&gt;[COLOR=Red]1.&amp;nbsp;&amp;nbsp;&amp;nbsp; Upon reset, the LPC11C00 will send a simple CAN frame&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; using the on-chip CAN drivers. It will send a CAN frame&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; with its data contents of "TEST".[/COLOR]&lt;BR /&gt;&lt;BR /&gt;[COLOR=Red]2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Whenever the LPC11C00 receives a CAN frame whose ID is&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; between 0x400-0x4FF, it will simply resend the received&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; frame back onto the CAN bus.[/COLOR]&lt;BR /&gt;&lt;BR /&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp; The LPC11C00 is now also responsive to Expedited SDO&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; transfers. By default, the CANopen ID is 20 (0x14).&lt;BR /&gt;&lt;BR /&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp; While the LPC11C00 isn't sending or receiving CAN frames&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; it will go into SLEEP. It resumes automatically into&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; active mode once it has received a CAN frame.&lt;BR /&gt;&lt;BR /&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp; CAUTION! CAUTION! CAUTION! CAUTION! CAUTION! CAUTION!&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =====================================================&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Make sure to reserve memory from 0x1000 0050 - 0x1000 00B8&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for the on_chip CAN drivers!&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; See the project's linker scripts and the LPC11C1x Usermanual&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for details.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =====================================================&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CAUTION! CAUTION! CAUTION! CAUTION! CAUTION! CAUTION!&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-to-connect-two-lpc11C24/m-p/529651#M1594</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:54Z</dc:date>
    </item>
  </channel>
</rss>

