Hi,
My car as many other has two radiator fans, controlled separately. One for the cooling system and the other one for the a/c system.
Could we add a second fan relay pin field to the engine config struct?
Feature request: engineConfig field for secondary fan.
-
- contributor
- Posts: 136
- Joined: Mon Oct 13, 2014 1:04 am
- AndreyB
- Site Admin
- Posts: 14727
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Feature request: engineConfig field for secondary fan.
I would say that's exactly the use-case for FSIO?spags wrote:Could we add a second fan relay pin field to the engine config struct?
You might want something like
Code: Select all
boardConfiguration->fsioPins[0] = GPIOD_11;
strcpy(boardConfiguration->le_formulas[0], "coolant 80 >");
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14727
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Feature request: engineConfig field for secondary fan.
PS: fsioPins are already available via TunerStudio
there would be 'fsio_setting' - user-accessible settings - available on TS pretty soon
there would be 'fsio_setting' - user-accessible settings - available on TS pretty soon
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
-
- contributor
- Posts: 136
- Joined: Mon Oct 13, 2014 1:04 am
Re: Feature request: engineConfig field for secondary fan.
New fsio feature seems to cause a HardFault.
Steps to reproduce:
Flash with 5698.
Reboot board.
set_engine_type 24
Hardfault
If i remove:
setFsio(engineConfiguration, 0, GPIOD_11, "coolant 80 >");
from my config, everything works fine.
Steps to reproduce:
Flash with 5698.
Reboot board.
set_engine_type 24
Hardfault
If i remove:
setFsio(engineConfiguration, 0, GPIOD_11, "coolant 80 >");
from my config, everything works fine.
- AndreyB
- Site Admin
- Posts: 14727
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Feature request: engineConfig field for secondary fan.
Yep, there were issuesspags wrote:New fsio feature seems to cause a HardFault.

5708 should be better.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
-
- contributor
- Posts: 136
- Joined: Mon Oct 13, 2014 1:04 am
Re: Feature request: engineConfig field for secondary fan.
Ok, not crashing the board this time. Will do functional tests later today.
- AndreyB
- Site Admin
- Posts: 14727
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Feature request: engineConfig field for secondary fan.
fsioinfo should be showing the state of configuration in not-yet-very-readable formspags wrote:Ok, not crashing the board this time. Will do functional tests later today.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute