Page 1 of 1

Can bus & Serial Protocol ?

Posted: Fri Jan 29, 2021 2:41 am
by hugovw1976
Hi, I search for can bus and serial protocol and can't find anithing, I don't have board yet and still need to decide betwen rusEfi (micro rusEfi) and Speeduino, I want to connect the ecu to my AIM pista dash and RealDash android app, I know there is not direct comunication with eather devices but I can read the data from MRE and then sendit to AIM dash and RealDash app. (with custom board) I all ready made a simulator and can send the data to dos devices. but I need to know the Serial protocol (I want to connect bluethooth on MRE and connect directly to RealDash) and Can bus protocol to send data to AIM dash over can bus.
Can some one point me here can find this info?
Thanks.
The only info I can find for can bus is this:
rusEFI_preset_14_channels-590x333.jpg

Re: Can bus & Serial Protocol ?

Posted: Fri Jan 29, 2021 4:01 am
by AndreyB
All the answers are in the source code unfortunately, there is no .pdf or else documentation that I know of.

Fun thin that rusEFI and Speeduino use same TunerStudio serial protocol. Some notes on top of https://github.com/rusefi/rusefi/blob/master/firmware/console/binary/tunerstudio.cpp

But a device in between looks like too much drama to me. I would implement additional CAN protocol in rusEFI directly.

Re: Can bus & Serial Protocol ?

Posted: Fri Jan 29, 2021 4:02 am
by mck1117
AndreyB wrote:
Fri Jan 29, 2021 4:01 am
All the answers are in the source code unfortunately, there is no .pdf or else documentation that I know of.

Fun thin that rusEFI and Speeduino use same TunerStudio serial protocol. Some notes on top of https://github.com/rusefi/rusefi/blob/master/firmware/console/binary/tunerstudio.cpp

But a device in between looks like too much drama to me. I would implement additional CAN protocol in rusEFI directly.
We have our own CAN format already - that's what he's looking at in RaceCapture. I'm the one who talked with Brent at RC to get the preset added. I should probably document it in a nice markdown table on our wiki.

Re: Can bus & Serial Protocol ?

Posted: Fri Jan 29, 2021 4:18 am
by hugovw1976
mck1117 wrote:
Fri Jan 29, 2021 4:02 am
AndreyB wrote:
Fri Jan 29, 2021 4:01 am
All the answers are in the source code unfortunately, there is no .pdf or else documentation that I know of.

Fun thin that rusEFI and Speeduino use same TunerStudio serial protocol. Some notes on top of https://github.com/rusefi/rusefi/blob/master/firmware/console/binary/tunerstudio.cpp

But a device in between looks like too much drama to me. I would implement additional CAN protocol in rusEFI directly.
We have our own CAN format already - that's what he's looking at in RaceCapture. I'm the one who talked with Brent at RC to get the preset added. I should probably document it in a nice markdown table on our wiki.
That would be great :clap:

Re: Can bus & Serial Protocol ?

Posted: Fri Jan 29, 2021 4:19 am
by hugovw1976
AndreyB wrote:
Fri Jan 29, 2021 4:01 am
All the answers are in the source code unfortunately, there is no .pdf or else documentation that I know of.

Fun thin that rusEFI and Speeduino use same TunerStudio serial protocol. Some notes on top of https://github.com/rusefi/rusefi/blob/master/firmware/console/binary/tunerstudio.cpp

But a device in between looks like too much drama to me. I would implement additional CAN protocol in rusEFI directly.
Thanks I will check.

Re: Can bus & Serial Protocol ?

Posted: Fri Jan 29, 2021 2:39 pm
by hugovw1976
AndreyB wrote:
Fri Jan 29, 2021 4:01 am
Fun thin that rusEFI and Speeduino use same TunerStudio serial protocol. Some notes on top of
By the way if this is true rusEfi should work with RealDash selecting speeduino serial 0 connected to usb.
Can some one check if this is true?

Re: Can bus & Serial Protocol ?

Posted: Fri Jan 29, 2021 3:11 pm
by AndreyB
hugovw1976 wrote:
Fri Jan 29, 2021 2:39 pm
By the way if this is true rusEfi should work with RealDash selecting speeduino serial 0 connected to usb.
Can some one check if this is true?
I believe we have a misunderstanding here. I am saying that rusEFI and speeduino run same or extremely similar _protocol_. I did not say that the payload data, the _content_ is the same. Just a reminder that _protocol_ and _payload_ are a bit different things.

At this point I believe that you have enough pointers to start your research. Just a reminder that cheapest hardware to run rusEFI is $19 STM32F407G-DISC1 so please consider getting one :)

Re: Can bus & Serial Protocol ?

Posted: Sun Jan 31, 2021 12:56 pm
by hugovw1976
AndreyB wrote:
Fri Jan 29, 2021 3:11 pm
hugovw1976 wrote:
Fri Jan 29, 2021 2:39 pm
By the way if this is true rusEfi should work with RealDash selecting speeduino serial 0 connected to usb.
Can some one check if this is true?
I believe we have a misunderstanding here. I am saying that rusEFI and speeduino run same or extremely similar _protocol_. I did not say that the payload data, the _content_ is the same. Just a reminder that _protocol_ and _payload_ are a bit different things.

At this point I believe that you have enough pointers to start your research. Just a reminder that cheapest hardware to run rusEFI is $19 STM32F407G-DISC1 so please consider getting one :)
Ok thanks I will check.