LPC1769 Development board CAN Communication

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC1769 Development board CAN Communication

1,006件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by afroza on Sat Apr 07 05:41:26 MST 2012
Hello,

Am the new user of LPC. Am using the LPC1769 Development board for doing the CAN communication. I have used the CAN example provided in the workspace which includes CAN1 and CAN2 communication control code. I have downloaded the example code and shorted the port pins as configured in the example code P0.0 (CAN1 RD1) to P2.7 (CAN2 TD2) and P0.1 (CAN1 TD1) to P2.8 (CAN2 RD2). I expected the data what CAN1 Transmit buffer is sending to be received in CAN2 RD2 (as written in example code) but no interrupt is occuring. Please help me in correcting my mistake. Do I have to use CAN Transceivers. And also how to come up and proceed with the CAN communication. And how to test it. Awaiting for reply.
:confused:

Thank You.
0 件の賞賛
返信
3 返答(返信)

956件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by researchinnovation on Wed Apr 11 05:17:45 MST 2012
[SIZE=4][B][COLOR=Blue]Hi...!!!
I want to take/read file(.txt format doc format) continuously as an input for one of my application on I2C.
But when I use FILE *file and file =fopen("filename.txt","r"); it is   showing error and I tried few more things but it is showing error.
I have used #include "debug_printf.h" , #include "stdlib.h" and other required driver files, but still error is coming.

Please guide me on this or share any document available on c functions for LPCxpresso.

Thanks....:)[/COLOR][/B][/SIZE]
0 件の賞賛
返信

956件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by afroza on Wed Apr 11 03:35:20 MST 2012
So sorry for my stupid question. I tried with the CAN transceivers with two nodes in communiction using CAN example provided. Now I can communicate in between the two nodes.

I have a doubt that, can we use a RS485 transceiver on CAN bus signals (I mean CANH and CANL connected to RS485 A and RS485 B respectively). And RS485 transceiver's R and D signals connected to UART of microcontroller. Does it work. What all are the modifications to be done if posible. Please provide me the related information.

Thank You.
0 件の賞賛
返信

956件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Apr 07 05:57:20 MST 2012

Quote: afroza
Awaiting for reply:confused:



And here it is:

Do you know what CAN is?

Did you read User Manual?

Did you try to search this forum and read one of the thousand CAN posts like:

http://knowledgebase.nxp.com/showthread.php?p=6939 :confused:
0 件の賞賛
返信