Can bus & Serial Protocol ?

It's all about the code!
Post Reply
hugovw1976
Posts: 68
Joined: Fri Oct 16, 2020 3:10 pm
Github Username: hugovw1976

Can bus & Serial Protocol ?

Post 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
rusEFI_preset_14_channels-590x333.jpg (35.08 KiB) Viewed 5277 times
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Can bus & Serial Protocol ?

Post 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.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: Can bus & Serial Protocol ?

Post 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.
hugovw1976
Posts: 68
Joined: Fri Oct 16, 2020 3:10 pm
Github Username: hugovw1976

Re: Can bus & Serial Protocol ?

Post 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:
hugovw1976
Posts: 68
Joined: Fri Oct 16, 2020 3:10 pm
Github Username: hugovw1976

Re: Can bus & Serial Protocol ?

Post 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.
hugovw1976
Posts: 68
Joined: Fri Oct 16, 2020 3:10 pm
Github Username: hugovw1976

Re: Can bus & Serial Protocol ?

Post 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?
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Can bus & Serial Protocol ?

Post 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 :)
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
hugovw1976
Posts: 68
Joined: Fri Oct 16, 2020 3:10 pm
Github Username: hugovw1976

Re: Can bus & Serial Protocol ?

Post 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.
Post Reply