CAN Bus (how to transfer data one node to another node)

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

CAN Bus (how to transfer data one node to another node)

1,084件の閲覧回数
madhukumarn333
Contributor II

Hi,

I am newer in CAN protocol, How to implement CAN interface from LPC1769 to a peripheral device.

Eg. how to send temperature sensor data to Alphanumeric display via CAN Bus. it means how to transfer data from

one node to another node. could please attach one example source code.

ラベル(1)
4 返答(返信)

983件の閲覧回数
madhukumarn333
Contributor II

Hi,

I have this source code from lpcopen, but I need exact peripheral device applications for the temperature sensor and Alphanumeric Display.

Read data from the temperature sensor and pass to Node A after sending temperature data to CAN Bus, then receive another node B and display temp data on Alphanumeric display.

could you please send me an example on a peripheral device via CAN Bus

Regards,

Madhu

0 件の賞賛
返信

983件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Madhu,

Sorry there isn't exactly demo can meet the whole processing.

While I think the theory is the same, this demo is also two CAN nodes, Node A and Node B.

 Reading data from temperature sensor is not CAN function, it is ADC, read an convert to

digital data, save to a buffer, then CAN A send it to CAN B.  Under LPCopen , there is also

ADC demo, you can have a look at it,  then make up these demos to your own project.

Hope it helps,


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

983件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello madhu kumar,

I recommend you first refer to LPCopen demo , you can download at nxp website:

LPCOpen Software for LPC17XX|NXP 

pastedImage_3.png

under project, there is readme.txt for each example, you can just read it to understand how to run it:

pastedImage_4.png

Hope it helps,


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

983件の閲覧回数
madhukumarn333
Contributor II

Hi Alice,

I have this source code from lpcopen, but I need exact peripheral device applications for the temperature sensor and Alphanumeric Display.

Read data from the temperature sensor and pass to Node A after sending temperature data to CAN Bus, then receive another node B and display temp data on Alphanumeric display.

could you please send me an example on a peripheral device via CAN Bus.

Thanks & Regards,

Madhu Kumar N

0 件の賞賛
返信