You are here

CAN BUS | Cypress Semiconductor

CAN BUS

Summary: 9 Replies, Latest post by pavloven on 27 Nov 2016 11:01 AM PST
Verified Answers: 2
Last post
Log in to post new comments.
m.roshandelpoor_1580446's picture
User
29 posts

Hello friends,

I want to run CAN BUS interface with car.so I dont know how can i do that.if there anybody that know please help me to do?

and if there anybody have any example please realese here?

thanks for regard...

m.roshandelpoor_1580446's picture
User
29 posts

I want to know exactly how work parameter and items in CAN component in psoc creator.datasheet is not obvious for me...

please help me...

user_49271930's picture
User
418 posts

There are two examples (click on the right to CAN component -> Find code example)
CAN_Full_Example and CAN_Basic_Example.
You must have two PSoC5LP board for experiment with these examples.
Ideal - if you have a logic analyzer (saleae ljgic or another with CAN support)
You can use SN55HVD251 or PIN for Tx in Resistive pull up mode if no have CAN / LIN Expansion board.

Attachments: 
m.roshandelpoor_1580446's picture
User
29 posts

Hi Pavloven.I checked example before but I have one psoc5lp.should have i 2 psoc5lp?

Exactly i want to know how can i connect and get data from car with can bus for example speed or motor detail.so can you help me or give me data or example project for doing that project?it is very important for me...

thanks for attention...

 

Hars's picture
Cypress Employee
3 posts

Hi,

You need to have two nodes for data transfer. If you already have a transmitting CAN node other than PSoC, then you can use one PSoC 5LP with CAN transceiver kit: http://www.cypress.com/documentation/development-kitsboards/cy8ckit-017-...

​If you want to just receive the data then you can refer 'CAN_Full_Example' mentioned in interaction #3 above. This example is receiving switch status and ADC data from another node and displaying on LCD. You can modify this project according to your need.

Also you need to take care of Baudrate settings. If your car CAN bus has specific baudrate then you need to configure CAN component accordingly. We recommend you to refer  Getting started with CAN application note in the following link:

"http://www.cypress.com/documentation/application-notes/an52701-psoc-3-an...

Kindly have a look at above. Let us know if you need any clarification.

Thanks and Regards

Harshada

m.roshandelpoor_1580446's picture
User
29 posts

Hi pavloven and Hars.I buy another psoc5lp but i cant to run can bus interface with psoc creator example.I connected tx and rx pin(with pullup resistor)together and program twice psoc5lp kit.but I have no data transciever on can bus.so how can i test easy interfacing with 2 psoc by can bus?

please help me and tanks rof your regrding

m.roshandelpoor_1580446's picture
User
29 posts

It is worked.i programed basic examples on first psoc5lp and full example on second psoc5lp.so my mistake was pin configuration.explanation of mr pavloven is very helpful.so now i want to run this project with car so how can i do it?

m.roshandelpoor_1580446's picture
User
29 posts

Hi friends.Is there anybody that know how can hears CAN BUS from car on computer???

for example change CAN to RS232 to see data on hercules or other software.because i want to calculate data transciever from CAN BUS by psoc5lp and i dont know car parameter ID to recieave them...

please help me...

ANKS's picture
Cypress Employee
89 posts

You need some CAN Analyzer like OBD-II PIDs to get the car parameter ID

user_49271930's picture
User
418 posts

Hi.
Look at this project.
If you have a sensor on the CAN line - master displays some information:
ID  and Data (1byte) my be more.
Baudrate = 125000 - you have to change it.
I don't have the ability to verify the project with the actual device.

Log in to post new comments.