SavvyCAN icon indicating copy to clipboard operation
SavvyCAN copied to clipboard

CAN LIN Flipper Zero module support

Open Skorpionm opened this issue 2 years ago • 9 comments

Good afternoon. Would you like to add Flipper Zero CAN LIN module support to your program. But there is 1 moment in the model the CAN transceiver MCP2518FD is used. that is, it has support for CAN-FD in addition to the classic CAN, also has LIN Bus support

https://github.com/flipperdevices/flipperzero-firmware/pull/2951

According to the communication protocol, you can contact me directly, we implement any protocol.

Skorpionm avatar Aug 28 '23 07:08 Skorpionm

I'm interested. I have ordered a Flipper Zero and should have it at the end of this week. I really want to see CAN added to Flipper. And, being able to then interface that to SavvyCAN would be nice. I'll keep an eye on the pull request over at the link you posted.

collin80 avatar Oct 04 '23 23:10 collin80

if you are ready to add support to the program, I am ready to do whatever is needed from the flipper side

Skorpionm avatar Oct 05 '23 15:10 Skorpionm

but for CAN FD/Lin to work on the flipper, an additional module is required, which is not yet available.

Skorpionm avatar Oct 05 '23 15:10 Skorpionm

I can implement any work protocol. all you need is a description of it. the can chacker 2 (lawicel) protocol is now implemented, but it does not support Lin and CAN FD

Skorpionm avatar Oct 05 '23 15:10 Skorpionm

This document describes the GVRET protocol I use to communicate with my SavvyCAN program: https://github.com/collin80/M2RET/blob/master/CommProtocol.txt

I'm thinking to build a CAN board, at least temporarily for my own use. I have the protoboards for flipper coming with it so I should be able to rig something up to test CAN at least.

collin80 avatar Oct 05 '23 23:10 collin80

Sorry, this is not a complete protocol at all, there are no Lin frames, no examples of packets and responses to them, no algorithm for calculating checksums. and other things. It would be nice to have at least a trace of communication between the device and your program, ideally with comments about what you are sending and signatures of packet types https://github.com/collin80/M2RET/blob/master/M2RET.ino https://github.com/collin80/SavvyCAN/blob/master/connections/gvretserial.cpp

it's more clear. yes I can implement such a protocol. but the question is, is this a protocol invented by you or from some standard piece of hardware? As I understand it, it lacks support for CAN FD packets, installation of a master mode for lin, it is not clear with time stamps of packets, and some other subtleties. And is this protocol more fully supported in your program?

Skorpionm avatar Oct 06 '23 05:10 Skorpionm

@collin80 Hello, Collin. This is Ruslan from Flipper Devices. How can I contact you by email?

rnadyrshin avatar Apr 01 '24 07:04 rnadyrshin

kidderc at (the email provider of a large numbered place famous for their search engine).com

Hows that for trying to confuse bots?

collin80 avatar Apr 02 '24 00:04 collin80

@collin80 I think this is a great protection against bots, Collin! Please check your inbox

rnadyrshin avatar Apr 02 '24 06:04 rnadyrshin