Commit Graph

799 Commits

Author SHA1 Message Date
GitHub build-firmware Action 60532606c1 Auto-generated configs and docs 2020-10-28 04:18:04 +00:00
GitHub build-firmware Action 6d10f2fb61 Auto-generated configs and docs 2020-10-27 12:24:46 +00:00
GitHub build-firmware Action 733be969ad Auto-generated configs and docs 2020-10-26 22:17:20 +00:00
GitHub build-firmware Action d5c929f5ba Auto-generated configs and docs 2020-10-26 11:25:24 +00:00
GitHub build-firmware Action ac9b8fee45 Auto-generated configs and docs 2020-10-26 02:28:28 +00:00
Matthew Kennedy 5a810218aa
fix MRE digital input mapping (#1910) 2020-10-25 19:26:04 -04:00
GitHub build-firmware Action 27207dde9c Auto-generated configs and docs 2020-10-23 19:48:01 +00: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
GitHub build-firmware Action ec17daeee7 Auto-generated configs and docs 2020-10-23 16:25:10 +00:00
GitHub build-firmware Action 82587e97cf Auto-generated configs and docs 2020-10-23 11:33:40 +00:00
GitHub build-firmware Action 3f9dd26478 Auto-generated configs and docs 2020-10-22 02:51:46 +00:00
Matthew Kennedy 6605877326
gppwm debug (#1895)
* dbg gppwm

* fix channel

* TS guard
2020-10-21 22:49:38 -04:00
Matthew Kennedy e0bb7ad581
disable i2c, other unused features (#1891)
* dead

* more
2020-10-20 22:24:32 -04:00
rusefi 580872d88e VAG radiator control 2020-10-19 23:25:23 -04:00
GitHub build-firmware Action dbf3b68e33 Auto-generated configs and docs 2020-10-19 12:06:22 +00:00
rusefillc 665900d76a GDI Epic #1448 2020-10-17 14:53:56 -04:00
GitHub build-firmware Action 99923b17b7 Auto-generated configs and docs 2020-10-11 23:07:39 +00:00
GitHub build-firmware Action 2d9a63b8ef Auto-generated configs and docs 2020-10-11 21:49:05 +00:00
GitHub build-firmware Action c15083efac Auto-generated configs and docs 2020-10-10 03:36:50 +00:00
GitHub build-firmware Action 2638fb63fa Auto-generated configs and docs 2020-10-09 21:19:04 +00:00
GitHub build-firmware Action d1ec5522ac Auto-generated configs and docs 2020-10-09 06:11:02 +00:00
GitHub build-firmware Action 0f52622409 Auto-generated configs and docs 2020-10-09 06:07:46 +00:00
GitHub build-firmware Action c5d4150377 Auto-generated configs and docs 2020-10-08 18:14:09 +00:00
andreika-git d88c9c404c
Hellen says fix build-signature & usb (#1866)
* Hellen says merge #1772 hardware.cpp

* Hellen says merge #1772 adc.h

* Hellen says fix build-signature & usb

Co-authored-by: rusefi <rusefillc@gmail.com>
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-10-08 12:21:22 -04:00
rusefillc efacf26554 Re-applying #1841
Revert "HW CI has failed 11 times since Oct 2 #1849"

This reverts commit 7f6a8311
2020-10-04 01:54:29 -04:00
GitHub build-firmware Action c047397cf7 Auto-generated configs and docs 2020-10-04 02:02:15 +00:00
rusefillc 7f6a831117 HW CI has failed 11 times since Oct 2 #1849
Revert "configure all sample times - fix MRE knock sampling (#1841)"

This reverts commit b3596f89
2020-10-03 21:36:09 -04:00
GitHub build-firmware Action 17c87dbd90 Auto-generated configs and docs 2020-10-03 23:29:56 +00:00
GitHub build-firmware Action 2c0db8e970 Auto-generated configs and docs 2020-10-03 14:42:14 +00:00
GitHub build-firmware Action 71d603bcc9 Auto-generated configs and docs 2020-10-03 14:27:55 +00:00
GitHub build-firmware Action 4c403fbb22 Auto-generated configs and docs 2020-10-03 14:06:31 +00:00
GitHub build-firmware Action 1b37b2a0b8 Auto-generated configs and docs 2020-10-03 00:52:49 +00:00
Matthew Kennedy b3596f8969
configure all sample times - fix MRE knock sampling (#1841)
* configure all sample times

* smpr 1 vs smpr 2

* man I can't type

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-10-02 20:49:56 -04:00
GitHub build-firmware Action 7a9a623b07 Auto-generated configs and docs 2020-10-01 04:06:05 +00:00
GitHub build-firmware Action 90b8c991da Auto-generated configs and docs 2020-10-01 00:21:49 +00:00
Matthew Kennedy c96b05fb47
show SD menu on proteus (#1837)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-30 19:18:37 -04:00
rusefi a0ee746837 Cypress artifact needs .hex file #1835 2020-09-29 18:50:51 -04:00
David Holdeman 0359e17853
add hex to bundle (#1836) 2020-09-29 17:04:41 -04:00
GitHub build-firmware Action 5f72947d6f Auto-generated configs and docs 2020-09-29 10:36:50 +00:00
Matthew Kennedy 16bfd39bac
Remove dead & useless config (#1834)
* remove dead config

* remove enum
2020-09-29 06:34:39 -04:00
GitHub build-firmware Action 6b7c42b85e Auto-generated configs and docs 2020-09-29 01:41:06 +00:00
GitHub build-firmware Action fb2fa9aa62 Auto-generated configs and docs 2020-09-29 01:20:53 +00:00
GitHub build-firmware Action 27570472cc Auto-generated configs and docs 2020-09-29 01:07:43 +00:00
David Holdeman ae9c60731a
move cd statements to common_make.sh (#1830)
* move cd to compile.sh

* rel path

* undo changes to compile.sh and move cd to common_make
2020-09-28 18:25:15 -04:00
GitHub build-firmware Action 589acfc7db Auto-generated configs and docs 2020-09-28 20:34:48 +00:00
GitHub build-firmware Action c8c673b8e0 Auto-generated configs and docs 2020-09-28 18:47:21 +00:00
Matthew Kennedy 747e78088b
add analog inputs to switches (#1829)
* add analog in to switches

* also clarify boost cut pressure

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-28 14:45:23 -04:00
rusefi 1d884a1855 docs 2020-09-27 11:37:26 -04:00
GitHub build-firmware Action 17fc77de71 Auto-generated configs and docs 2020-09-27 15:03:29 +00:00
rusefi 4fdbd9fa1a Merge remote-tracking branch 'origin/master' into master 2020-09-27 10:15:08 -04:00