Commit Graph

1350 Commits

Author SHA1 Message Date
Matthew Kennedy 1b07647e72 Software knock detection (#1730)
* s

* science

* set pin mode

* turn stuff off so it fits

* filtering maybe

* filtering actually works

* generate filter parameters internally

* shorter window

* guard behind enable flag

* use checked in filter

* add biquad reset

* tracing

* const

* exec order

* do it from a thread

* smaller buffer, comment

* configure with header

* only for proteus

* oops

* unused

* not needed

* guards

* pin config

* don't need that include

* precook filter steady state

* define sample rate

* config enable switch
2020-08-28 21:13:50 -04:00
rusefi bdbee0d38b VVT support for VAG trigger #883 2020-08-24 02:01:50 -04:00
rusefi 7299c79810 more fixing build? 2020-08-21 22:07:55 -04:00
Matthew Kennedy 8ab4c5c765 Analog input filtering (#1680)
* improve biquad

* cleanup

* add filtering to subscriptions

* config sensors

* comment

* doesn't need to be that fast

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-21 19:47:12 -04:00
rusefi 4cd5f146f4 bugfix - PPS second channel was not initialized 2020-08-19 00:46:57 -04:00
Andrei 178c55e62b vss_exti untested 2020-08-13 18:27:31 +03:00
rusefi a7edab2db6 disable trigger_hw_input should work for PAL and VVT 2020-08-09 00:20:01 -04:00
rusefi 528d03a90b trigger and VSS hw integrated testing #1668 2020-08-08 18:28:43 -04:00
rusefi 2051551617 TS SD integration #1653 2020-08-07 17:20:16 -04:00
rusefi 6eecba28b1 TS SD integration #1653 2020-08-07 16:37:36 -04:00
rusefi 6e114a9a23 TS SD integration #1653 2020-08-07 16:27:21 -04:00
rusefi 09ffc1a8e6 TS SD integration #1653 2020-08-07 15:53:11 -04:00
rusefi 7ce6eb2e1b TS SD integration #1653 2020-08-07 15:01:25 -04:00
rusefi 8d0f47b940 TS SD integration #1653 2020-08-07 00:59:00 -04:00
rusefi ba6c490cb6 TS SD integration #1653 2020-08-06 23:34:47 -04:00
rusefi 0ebe7ba059 TS SD integration #1653 2020-08-06 22:05:26 -04:00
rusefi 8f2f8bc132 TS SD integration #1653 2020-08-06 01:15:41 -04:00
rusefi 4d63814714 TS SD integration #1653 2020-08-02 23:09:38 -04:00
rusefi e4a4377780 TS SD integration #1653 2020-08-02 22:31:11 -04:00
rusefi 9a33e922af The Big Refactoring of 2019: folder structure #723 2020-08-02 20:46:40 -04:00
rusefi 915f8c50d9 TS SD integration #1653 2020-08-02 17:58:57 -04:00
rusefi 0a8f1f293a typo 2020-08-01 18:59:09 -04:00
Matthew Kennedy c1a0b4424d init 2020-07-29 02:50:23 -07:00
Matthew Kennedy f2de8e425f dead 2020-07-29 02:49:37 -07:00
Matthew Kennedy 6b7a3b0861 explicit 2020-07-29 02:49:31 -07:00
Matthew Kennedy 5dbfdc01dc shadowed 2020-07-29 02:49:23 -07:00
rusefi fa9eddd0e7 SD logging 2020-07-09 20:08:18 -04:00
rusefi d9a1fd9f99 docs 2020-07-04 21:38:52 -04:00
dron0gus 8ffa7e518f stm32/kinetis_pins.cpp: remove PORTS array - duplicates ports array (#1527) 2020-06-21 15:59:18 -04:00
rusefi d3ba22063c refactoring 2020-06-21 15:40:59 -04:00
kon 9af150bd41 BMW E90 Kombi (#1494)
* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* second can bus, first steps

* added most important messages; no more errors

* cleaned up can messages

* post rebase/merge fixes

* more rebase/merge fixes

* even more rebase/merge fixes

* more fixes, removed auto-gen files

* removed more auto-gen files...
2020-06-14 16:59:43 -04:00
Matthew Kennedy d13bd0b77c Hardware pwm (#1283)
* hard pwm

* fix, comments

* PC6-9 and PD12-15

* PB6-9

* dynamic frequency

* f7 mcuconf

* format

* relocate to common, support variable frequency

* error handling

* oops

* fix test build

* noop kinetis

* better guards

* guard for bl

* guards don't work if they have typos

* more mapping

* oops

* don't use for slow pwm

* enable pwm

* guard properly

* save a little memory

* use less mem

* correct timers

* all your ram are belong to us

* update limit & comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-28 16:02:41 -04:00
rusefi 804f4b9db5 better file name 2020-05-25 13:02:05 -04:00
rusefi 36f13323ea more readable error message thank you Matt! 2020-05-23 17:20:46 -04:00
rusefi 9509d93e2a partial rollback 2020-05-23 17:13:46 -04:00
Matthew Kennedy a2313a853c switch some firmware warnings to errors (#1465)
* warnings as errors

* throw instead of exit

* test massaging

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-23 10:46:28 -04:00
rusefi 6453e891e6 "TLE8888 SR Unexpected response" does not work as intended fix #1466 2020-05-22 22:56:19 -04:00
rusefi bf8ceda67d "TLE8888 SR Unexpected response" does not work as intended #1466 2020-05-22 08:23:49 -04:00
rusefi 5dc4a6ca71 helping build 2020-05-22 01:14:42 -04:00
rusefi 14b0b5dc4c more info into error message 2020-05-22 01:05:07 -04:00
rusefi 9dee72cf3e progress 2020-05-21 22:33:48 -04:00
Matthew Kennedy 0a278375fd Binary logging to SD (#1461)
* binary log

* remove old text logging

* change file extension

* just use a bare buffer

* more mem :(

* double ugh

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-21 15:52:58 -04:00
Matthew Kennedy 441fe43dab warnings (#1462)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-21 01:08:07 -04:00
Matthew Kennedy 61b8bfb7e3 free up timers for hardware PWM (#1459)
* free up timers

* put that back
2020-05-20 19:14:42 -04:00
rusefi a2648c4d52 WBO 2020-05-20 19:01:55 -04:00
NOx-z 8e03ef09b7 Mc33 timings (#1453)
* mc33 flash check

* DI sanity checks for setting HV config

* mc33 timings

Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
2020-05-20 02:35:18 -04:00
Matthew Kennedy d6186c1cf3 pass in write length (#1447) 2020-05-17 17:27:26 -04:00
rusefi a2ce3805a8 docs? 2020-05-17 17:08:04 -04:00
Matthew Kennedy 8cbddc70f6 improve file format (#1446) 2020-05-17 17:02:22 -04:00
NOx-z 89ff56e844 Mc33 vccp uv (#1445)
* mc33 flash check

* DI sanity checks for setting HV config

* mc33 VccP (7v) under voltage detection - before and after DRIVEN, useful for regulator broken - or DC-DC logic converter broken

Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
2020-05-17 16:28:05 -04:00