Hi guys!
I am a bit new to the CAN devices, so I want to confirm and expand my knowledge. I want to be able to send and receive RAW messages in the form of "10 03", "22 48 00" and receive the response from the ECU which should be "50 03", "62 48 00 DATA".
Can this be done with the MCP2515 CAN Controller. I see that its an SPI interface to CAN. Perhaps its possible to use a PIC microcontroller in order to connect.
Path to send the message.
Software sends the request -> laptop -> USB -> PIC microcontroller -> SPI to MCP2515 -> to CAN.
The reverse path to receive the message:
CAN -> MCP2515 to SPI -> PIC microcntoller -> USB -> laptop -> software visualizes the "CAN message received".
How ever since its ugly to connect the wires directly, I need some connector from CAN to CAN, at the last position. Do you have any suggestions.
This is the hardware part. I will also need the software part, which will send the information to the USB(how to identify which USB is used) from where the PIC microcontroller will transfer it along the line. On the opposite route, I will receive a message from the CAN through the MCP 2515 which should be visualised by the software. It can be a simple software, only send, receive. I need to use "CAN IDs" for send and receive, but I don't know how they fit exactly?
Can explain, as I am not that familiar with CAN and ECUs.
I am a bit new to the CAN devices, so I want to confirm and expand my knowledge. I want to be able to send and receive RAW messages in the form of "10 03", "22 48 00" and receive the response from the ECU which should be "50 03", "62 48 00 DATA".
Can this be done with the MCP2515 CAN Controller. I see that its an SPI interface to CAN. Perhaps its possible to use a PIC microcontroller in order to connect.
Path to send the message.
Software sends the request -> laptop -> USB -> PIC microcontroller -> SPI to MCP2515 -> to CAN.
The reverse path to receive the message:
CAN -> MCP2515 to SPI -> PIC microcntoller -> USB -> laptop -> software visualizes the "CAN message received".
How ever since its ugly to connect the wires directly, I need some connector from CAN to CAN, at the last position. Do you have any suggestions.
This is the hardware part. I will also need the software part, which will send the information to the USB(how to identify which USB is used) from where the PIC microcontroller will transfer it along the line. On the opposite route, I will receive a message from the CAN through the MCP 2515 which should be visualised by the software. It can be a simple software, only send, receive. I need to use "CAN IDs" for send and receive, but I don't know how they fit exactly?
Can explain, as I am not that familiar with CAN and ECUs.