Commit Graph

1109 Commits

Author SHA1 Message Date
rusefillc 67789a4b2f GDI 2020-10-28 01:01:54 -04:00
Matthew Kennedy 09b41bb1bb
Everything in lambda! (#1893)
* lambda

* default configs, fix build

* config, gauge, UI

* more digits

* change menu text

* fix that while I'm here

* doesn't need extra word

* todo note

* tests

* last test

* missed a config

* update java

* store target lambda

* more java

* format

* hopefully enough java for CI to pass
2020-10-26 18:15:17 -04:00
Andrey G 8e11675afd
Tle8888 big update 1 (#1892)
* smart gpio: fix tle8888 direct pin mapping for MRE

* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888

* TLE8888: cleanup

* TLE8888: do not reset driver private data on WD/undervoltage reset

* TLE8888: diagnostic updates

* TLE8888 driver: BIG driver rework

* TLE8888: check SPI answers for abnormal states

Reply with other than requested register can be a sign of:
-Power-On-Reset, then OpStat0 will be replyed
-WatchDog reset, then FWDStat1 will be replyed
-Invalid communication frame, then Diag0 will be replyed

Keep tracking last accessed register and check with the next reply.

* TLE8888: debug clean-up

* TLE8888: implement spi array write

This reduce CS inactive state time between two consequent accesses
from 8.8 uS to 1.4 uS

* TLE8888: fix PP outputs in OD mode

* TLE8888: cleanup register definitions

* TLE8888: run separate driver thread for each chip instance

Calculating poll interval for few chips become more complex, avoid
this running thread for each device.

* TLE8888: fix cypress and kinetic compilation

Both platforms define its own MAX and cause redifination error if
common.h is included in driver.

* MRE: update mapping.yaml and fix direct pin mapping for TLE8888

* TLE8888: diagnnostic: disable switch off in case of overcurrent

For all output, use current limiting instead

* TLE8888: check for overvoltage on OUT8..OUT13

* TLE8888: add TODO note about how to recover from failure condition

Currently TLE8888 automaticly recovers only from overcurrent and
(may be) overtemperature conditions.
Short to bat cause output disable (bit in OECONFIG is reset) and
needs driver/host intervention.

* TLE8888: save few bytes of RAM

* TLE8888: Lada Kalina is test mule for IDLE stepper on TLE8888

Don't forget to enable PP mode for TLE8888 outputs 21..24:
uncomment line 1087 in tle8888.c

* TLE8888: reorder code, cleanup

* TLE8888: mode all debug/statisctic to per-chip struct

* TLE8888: rework poll interval calculation

* MRE: use TLE8888 pins instead of MCU gpios that drives TLE8888 #2
2020-10-23 12:25:30 -04:00
Matthew Kennedy 4e249889a6
implement fuel pressure sensors (#1897)
* add

* remove old

* remove more old

* makefile

* fix init

* patch up other stuff

* actually fix it this time

* raw output channels

* gauges, UI

* scaled channel

* fix field ordering
2020-10-23 07:31:47 -04:00
rusefi a7a475a1df B6 2020-10-23 00:39:22 -04:00
rusefillc c0c1eefd55 GDI Epic #1448 2020-10-22 01:48:28 -04:00
rusefi e12e3f9dc6 progress 2020-10-22 00:57:11 -04:00
rusefi 580872d88e VAG radiator control 2020-10-19 23:25:23 -04:00
rusefi 15dcecb9c5 GDI Epic #1448 2020-10-17 20:17:53 -04:00
rusefillc 665900d76a GDI Epic #1448 2020-10-17 14:53:56 -04:00
rusefillc bd7dcf1709 HW CI has failed 11 times since Oct 2 #1849 2020-10-16 13:54:12 -04:00
rusefillc ba906c2cee GDI Epic #1448 2020-10-13 00:35:04 -04:00
rusefi fc5f47a653 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:16:41 -04:00
rusefi 94a6399e56 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:05:56 -04:00
rusefillc cd4c665ea0 SD enable 2020-10-06 01:15:17 -04:00
rusefillc 5f15b8e48b tachPulsePerRev needs a safer default, MRE config needs a value 2020-10-06 00:56:49 -04:00
Matthew Kennedy 16bfd39bac
Remove dead & useless config (#1834)
* remove dead config

* remove enum
2020-09-29 06:34:39 -04:00
David Holdeman 337106cd24
DebounceButton A/C switch (#1782)
* change acSwitch name, add mode

* fix

* remove some adc stuff

* remove some adc stuff

* semicolon stupid

* left behind

* add readpinstate

* wrong var name

* add functions back

* fix name

* bool, not void, plus fix name

* move

* not sure what I broke

* try setMockValue

* namespace

* whoops missed one

* switch values because adc was set up for pullup

* try 5

* comment for now

* comment for now

* uncomment tests, add function to mock, add mock to efiReadPin

* fixes

* for F's sake

* if

* add defy

* pass params

* use ASSERT_TRUE/FALSE

* advance time

* remove ifdef from readPin

* try moving if

* move to separate func

* move extern

* move include

* try engine_test_helper

* am confuse

* move func to else

* include hal

* add efi prod check

* remove include

* try extern

* move include

* semicolon stupid

* move extern again

* include

* move mockPinStates

* size

* add if

* add comment

* clean on instantiation
2020-09-10 22:16:20 -04:00
Matthew Kennedy 509a1b072d
fix miata default (#1781) 2020-09-09 17:11:07 -04:00
Matthew Kennedy d2d0ffa1ee
remove tach output pin (#1779)
* remove from cfg

* cfg

* rip out impl

* efi gpio
2020-09-09 16:52:23 -04:00
rusefi 67f305f48a microRusEFI used as Body Control Module BCM BCU 2020-09-07 17:59:59 -04:00
rusefi 39d09bc976 microRusEFI used as Body Control Module BCM BCU 2020-09-06 20:21:01 -04:00
rusefi 52cb30f9ea microRusEFI used as Body Control Module BCM BCU 2020-09-06 20:09:26 -04:00
rusefi c0b0622773 microRusEFI used as Body Control Module BCM BCU 2020-09-06 19:43:54 -04:00
Matthew Kennedy 0e14e51179
reorder ADC channel index (#1763)
* change config

* correct logic

* clearing these no longer needed

* test expected this to be set
2020-09-06 18:25:26 -04:00
rusefi 6f0267fb7e blinking more LEDs 2020-08-31 17:15:04 -04:00
rusefi d059cb4616 blinking more LEDs 2020-08-31 14:26:34 -04:00
rusefi c1e7c315d4 blinking more LEDs 2020-08-31 13:44:58 -04:00
rusefi 45917215f1 blinking more LEDs 2020-08-31 13:27:56 -04:00
rusefi f5e2382439 B6 2020-08-29 19:01:44 -04:00
rusefi 613faa90cd verboseVVTDecoding 2020-08-29 17:05:54 -04:00
rusefi 6f6eb0f561 BCM 2020-08-29 14:29:34 -04:00
rusefi e532710b87 B6 2020-08-29 10:06:28 -04:00
rusefi 2ddf6ad717 VVT support for VAG trigger #883 2020-08-25 16:19:23 -04:00
rusefi 3c3fe0a73b v12 2020-08-23 15:09:23 -04:00
rusefi 466f412c7b docs 2020-08-21 14:59:24 -04:00
rusefi 494057f30d v12 progress 2020-08-21 14:09:51 -04:00
rusefi ceeba4d677 v12 2020-08-19 22:03:27 -04:00
rusefi 1f0e39fc6f v12 2020-08-19 01:09:39 -04:00
rusefi 5fdebbdabc v12 2020-08-19 00:35:09 -04:00
rusefi a15352bb19 1.6 VAF tune 2020-08-11 22:17:53 -04:00
rusefi 33d31d16f7 trigger and VSS hw integrated testing #1668 2020-08-08 12:03:24 -04:00
rusefi 5925ca5125 trigger and VSS hw integrated testing #1668 2020-08-08 11:45:02 -04:00
Matthew Kennedy 2ba340bce4 no bins 2020-08-03 12:21:49 -07:00
Matthew Kennedy 51804a4eb9 no more setFuelMap 2020-08-03 12:14:11 -07:00
Matthew Kennedy 6591af7e05 defaults 2020-08-02 16:21:53 -07:00
rusefi 1d4ebd29bc NA6 progress 2020-08-02 12:08:35 -04:00
rusefi efcf0532da NA6 progress 2020-08-02 11:09:18 -04:00
rusefi 997c316013 NA6 progress 2020-08-02 10:18:14 -04:00
rusefi bba404ac41 dropping legacy stuff 2020-08-01 19:17:58 -04:00
rusefillc e009d60b29
Merge pull request #1632 from mck1117/remove-plain-maf
goodbye, plain maf
2020-08-01 09:16:38 -04:00
rusefi 185a023ada NA6 progress 2020-07-31 22:43:32 -04:00
Matthew Kennedy cb01b8a07c remove 2020-07-31 15:03:09 -07:00
Matthew Kennedy 978fa20916 Merge remote-tracking branch 'upstream/master' into remove-plain-maf 2020-07-31 14:56:29 -07:00
rusefi b2c0a6b3a5 NA6 progress 2020-07-31 14:20:50 -04:00
rusefi dffb544da0 NA6 progress 2020-07-31 14:06:30 -04:00
Matthew Kennedy 1e6bf7e775 guard 2020-07-30 21:39:12 -07:00
rusefi 44daac5baf NA6 progress 2020-07-30 00:04:18 -04:00
rusefi 45f61e2b88 progress 2020-07-29 23:27:42 -04:00
rusefi 1703152427 reducing code duplication? 2020-07-29 23:01:55 -04:00
rusefi 196337a8de NA6 progress 2020-07-29 22:48:41 -04:00
rusefi 009e5b0c66 NA6 progress 2020-07-29 22:24:58 -04:00
rusefi 615e9207fa NA6 progress 2020-07-29 22:17:34 -04:00
rusefi f177b5977d NA6 progress 2020-07-29 22:16:31 -04:00
rusefi e2abdabee2 NA6 progress 2020-07-29 21:53:59 -04:00
rusefi 582b1efdde NA6 progress 2020-07-29 21:04:17 -04:00
rusefi 239eda352c NA6 progress 2020-07-29 19:53:11 -04:00
rusefi a7df277fca NA6 progress 2020-07-29 14:53:36 -04:00
Matthew Kennedy bb60e13c3a configs 2020-07-29 01:35:39 -07:00
Matthew Kennedy 67e4fcb2a2 goodbye plain maf 2020-07-23 02:46:45 -07:00
rusefi 893f833489 NA tune 2020-07-09 15:57:54 -04:00
rusefi 1dab19373a MRE 0.5.1 2020-07-04 00:02:44 -04:00
rusefi 89011897b0 making debugTriggerSync more visible to users & removing from VVT defaults 2020-06-15 16:47:06 -04:00
rusefi 426d4e7c0c u9 u10 2020-05-23 10:50:32 -04:00
rusefi 0760250c7e oooops :( 2020-05-22 13:24:04 -04:00
rusefi db2e6ec60f HW test progress 2020-05-21 21:45:01 -04:00
rusefi 845a9994a4 MRE pre-sets 2020-05-21 21:00:34 -04:00
rusefi 82e788ef3a MRE pre-sets 2020-05-21 20:44:14 -04:00
rusefi aac7712df5 test fixture progress 2020-05-21 18:36:32 -04:00
rusefi 18760bb699 toyota 2jz progress 2020-05-15 16:35:18 -04:00
rusefi 159789dc5b NB2 MAF 2020-05-12 23:37:30 -04:00
rusefi 1f692c4a9b 34-2 3 cam Toyota wheel progress 2020-05-10 18:03:11 -04:00
rusefi a9b15e3cee that's embarrassing 2020-05-10 02:36:01 -04:00
rusefi bb8a8149f8 34-2 3 cam Toyota wheel progress 2020-05-10 02:12:47 -04:00
rusefi 919afd35e8 removing some unneeded flexibility 2020-05-10 01:34:43 -04:00
rusefi d18bf76fb5 34-2 3 cam Toyota wheel progress 2020-05-10 00:42:33 -04:00
rusefi 8d91cc65cc 34-2 3 cam Toyota wheel progress 2020-05-09 23:47:51 -04:00
rusefi 4082a53f56 default engine make/code 2020-05-08 17:31:03 -04:00
Matthew Kennedy 2c9cb4e291
remove "plain MAP" mode (#1398)
* consumers

* enums, input, config

* java

* default config cleanup
2020-05-05 15:04:55 -04:00
rusefi c5eff0d262 MRE adapter 2020-05-03 15:21:32 -04:00
rusefi 5e11f634a5 unifying Frankenso and MRE defaults 2020-05-03 12:11:47 -04:00
rusefi fe25c8162a Attempting cj125 2020-05-01 17:52:25 -04:00
rusefi 965c06c079 https://github.com/rusefi/rusefi_documentation/issues/37 2020-04-29 18:41:40 -04:00
rusefi 9259d101e7 https://rusefi.com/forum/viewtopic.php?p=36268#p36268 2020-04-26 23:03:50 -04:00
rusefi 8f13ae2e14 better defaults 2020-04-26 19:16:54 -04:00
Matthew Kennedy 1bad5f3047
don't store self stim in config (#1356)
* kill

* add bench test

* fix
2020-04-23 22:38:14 -04:00
rusefi c52c7e2f1f TLE8888 mode flexibility 2020-04-23 16:57:37 -04:00
rusefi e4f3989603 hardware continues integration needs a high RPM high tooth count test case
#1351
2020-04-23 01:26:30 -04:00
rusefi ba0dad82e9 Better handling in case of ETB idle without ETB #1332 2020-04-20 00:23:32 -04:00
rusefi a11166d992 dreaming about 63 volts 2020-04-15 21:28:44 -04:00