my Engine Control Module

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general. This forum is NOT for support.
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: my Engine Control Module

Post by russian »

We are still interested in 5v chips so now we have Cypress FM4 S6E2xx running ChibiOS as a prototype of alternative platform.

Most tested on S6E2CxAH - S6E2C5AH0AGV2000A (144-pin) to be exact.

Should probably mostly work on S6E2GH8 for instance S6E2GH8J0AGV20000 (176-pin).

All this at https://github.com/rusefi/rusefi/tree/m ... rds/hellen
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: my Engine Control Module

Post by russian »

Traditional "We've migrated to newer version of ChibiOS" post - this time we've migrated from 18 to 20 :)

https://www.youtube.com/watch?v=m-ExExuA8kQ
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: my Engine Control Module

Post by Giovanni »

Good job, any problem during the migration?

Giovanni
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: my Engine Control Module

Post by russian »

Zero drama with the migration. Next step porting to H7 with different ADC and else drivers :)
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: my Engine Control Module

Post by russian »

we've integrated posix ChibiOS with SocketCAN - we can now test our Lua scripts with CAN logic on PC

https://github.com/rusefi/rusefi/pull/4312/files
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: my Engine Control Module

Post by Giovanni »

Hi,

It requires some kind of adapter, right?

Giovanni
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: my Engine Control Module

Post by russian »

Giovanni wrote:It requires some kind of adapter, right?


Absolutely. On Linux SocketCAN seems to be extremely supported with options in all price ranges.
faisal
Posts: 382
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 45 times
Been thanked: 62 times

Re: my Engine Control Module

Post by faisal »

russian wrote:
Giovanni wrote:It requires some kind of adapter, right?


Absolutely. On Linux SocketCAN seems to be extremely supported with options in all price ranges.


We did several simulation drivers a while ago and used with much success, were you able to use any?

viewtopic.php?t=4861
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: my Engine Control Module

Post by russian »

faisal wrote:
We did several simulation drivers a while ago and used with much success, were you able to use any?

viewtopic.php?t=4861

ohhh, looks like we have reinvented the SocketCAN part of it
Polux
Posts: 27
Joined: Thu Apr 28, 2016 11:52 am
Been thanked: 7 times

Re: my Engine Control Module

Post by Polux »

And the Ardupilot project, also based on ChibiOs, implemented some socketCan interfaces.

Angelo
Post Reply