Commit Graph

30 Commits

Author SHA1 Message Date
rusefi 1561015ab1 MRE mapping 2020-11-15 17:16:58 -05:00
Matthew Kennedy 5a810218aa
fix MRE digital input mapping (#1910) 2020-10-25 19:26:04 -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
rusefi 580872d88e VAG radiator control 2020-10-19 23:25:23 -04:00
rusefillc 665900d76a GDI Epic #1448 2020-10-17 14:53:56 -04:00
rusefi 5d739d8976 migrate VSS to universal event capture #1665
docs
2020-09-03 11:56:15 -04:00
rusefi 1dab19373a MRE 0.5.1 2020-07-04 00:02:44 -04:00
rusefi 9730080873 PB8 and PC12 not available for FSIO usage (#1538) 2020-06-26 09:05:21 -04:00
rusefi 8df838ec8c dreams 2020-05-22 17:52:48 -04:00
rusefi c25afadb94 exposing some GPIO 2020-05-20 23:53:25 -04:00
rusefi ae1bd9c55d docs 2020-05-03 15:54:17 -04:00
rusefi 965c06c079 https://github.com/rusefi/rusefi_documentation/issues/37 2020-04-29 18:41:40 -04:00
rusefi 19ff4ff2e6 docs 2020-03-29 10:29:45 -04:00
rusEfi d558b1372e v12 & ETB progress 2020-03-18 00:12:31 -04:00
rusefi 948bb2e70a mapping docs 2020-02-29 23:22:39 -05:00
rusefi 97d68ccbfa MRE technical info 2020-02-24 00:12:26 -05:00
rusEfi 2d59d23ce2 docs 2019-12-29 14:58:39 -05:00
rusEfi e15e705f45 docs 2019-09-12 08:37:44 -04:00
rusefi f8315fa5c2 TS refresh & better MRE test configuration 2019-08-10 16:25:42 -04:00
rusefi 4ddf0ba5a2 low side channels on MRE #900
getting closer but still issues
2019-08-10 14:53:57 -04:00
rusefi ef79fb15ba 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 961d6d8c5b low side channels on MRE #900 2019-08-09 23:45:35 -04:00
rusEfi 6f06b4e436 pin number correction 2019-08-05 22:05:33 -04:00
rusEfi dfc80861a3 naming consistency 2019-08-05 22:00:07 -04:00
Matthew Kennedy a542e5df63 Fix mappings for microRusefi (#853)
* fix mappings

* add pin numbers

* + pin numbers, - # sign
2019-06-23 10:37:10 -04:00
rusefi 66903595b7 TS flexibility for MRE 2019-06-07 17:38:12 -04:00
Matthew Kennedy 8d0dde0fa8 mappings (#826) 2019-06-05 14:49:51 -04:00
rusefi 2c844b551f board-specific usability #808 2019-05-30 18:19:27 -04:00
rusefi 18b6eeef1a board-specific usability #808 2019-05-30 00:39:13 -04:00
rusefi f40e0be614 board-specific usability #808 2019-05-30 00:18:41 -04:00