Commit Graph

30 Commits

Author SHA1 Message Date
rusefi b3e910008c MRE mapping 2020-11-15 17:16:58 -05:00
Matthew Kennedy 74f59ff67e fix MRE digital input mapping (#1910) 2020-10-25 19:26:04 -04:00
Andrey G 88e830d635 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
rusefi 79d267eba0 VAG radiator control 2020-10-19 23:25:23 -04:00
rusefillc aec48c294e GDI Epic #1448 2020-10-17 14:53:56 -04:00
rusefi ce87837309 migrate VSS to universal event capture #1665
docs
2020-09-03 11:56:15 -04:00
rusefi e6a15f1325 MRE 0.5.1 2020-07-04 00:02:44 -04:00
rusefi b523aa648e PB8 and PC12 not available for FSIO usage (#1538) 2020-06-26 09:05:21 -04:00
rusefi e8ff6a6a6d dreams 2020-05-22 17:52:48 -04:00
rusefi c42bae8f61 exposing some GPIO 2020-05-20 23:53:25 -04:00
rusefi 101aabd8a4 docs 2020-05-03 15:54:17 -04:00
rusefi 93ee6c36e3 https://github.com/rusefi/rusefi_documentation/issues/37 2020-04-29 18:41:40 -04:00
rusefi 22ed80f144 docs 2020-03-29 10:29:45 -04:00
rusEfi 5a21db41a4 v12 & ETB progress 2020-03-18 00:12:31 -04:00
rusefi f298817af2 mapping docs 2020-02-29 23:22:39 -05:00
rusefi 33ba33d533 MRE technical info 2020-02-24 00:12:26 -05:00
rusEfi 579cf5abb8 docs 2019-12-29 14:58:39 -05:00
rusEfi d3d17b700f docs 2019-09-12 08:37:44 -04:00
rusefi 64e9db5683 TS refresh & better MRE test configuration 2019-08-10 16:25:42 -04:00
rusefi a94eebe3ec low side channels on MRE #900
getting closer but still issues
2019-08-10 14:53:57 -04:00
rusefi 4fcecb6c26 low side channels on MRE #900
progress - now all 10 BLINK, but two are blinking together
2019-08-10 13:45:00 -04:00
rusefi 97bf87eb48 low side channels on MRE #900 2019-08-09 23:45:35 -04:00
rusEfi 2aad491810 pin number correction 2019-08-05 22:05:33 -04:00
rusEfi 9c0517f19f naming consistency 2019-08-05 22:00:07 -04:00
Matthew Kennedy c973576f8d Fix mappings for microRusefi (#853)
* fix mappings

* add pin numbers

* + pin numbers, - # sign
2019-06-23 10:37:10 -04:00
rusefi 9292efadbe TS flexibility for MRE 2019-06-07 17:38:12 -04:00
Matthew Kennedy 681177bca0 mappings (#826) 2019-06-05 14:49:51 -04:00
rusefi a2e8d02a11 board-specific usability #808 2019-05-30 18:19:27 -04:00
rusefi 236d2957ed board-specific usability #808 2019-05-30 00:39:13 -04:00
rusefi 483c891e16 board-specific usability #808 2019-05-30 00:18:41 -04:00