Commit Graph

2317 Commits

Author SHA1 Message Date
Josh Stewart e3afe69955 Minor fixes from last PR pull 2020-08-16 09:55:13 +10:00
Vitor Moreno B. Sales 8299c74d38
[AE] Introduce ReqFuel % multiplier (#332)
Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-08-16 09:44:03 +10:00
Josh Stewart 20ee2c88a5 Combine multiply MAP options into single dropdown 2020-08-16 09:36:20 +10:00
Josh Stewart 356b8da8f0 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-08-16 09:01:44 +10:00
Josh Stewart 73938e9640 Test work on progammable outputs UI 2020-08-16 09:01:40 +10:00
Vitor Moreno B. Sales f84bdade64
[PW Math] Introduce fixed MAP multiply (#347)
* [PW Math] Introduce fixed MAP multiply

* Compilation fix

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-08-16 08:59:36 +10:00
Josh Stewart 99abe431db Take 2 on fixing PW tests 2020-08-14 13:34:23 +10:00
Josh Stewart a6aafee534 Updated PW tests to ensure that work following the introduction of incorporate AFR 2020-08-14 13:17:16 +10:00
Antti Muurikainen 0c78b13c9f
First commit on incorporate AFR (#402) 2020-08-13 22:48:26 +10:00
Josh Stewart 5336e18e87 Fix regression from 50ce97cd that caused problems with negative trigger angles 2020-08-13 15:41:35 +10:00
Josh Stewart 0376be2aed Force use of int16_t for stm32 temp calibrations 2020-08-12 16:23:40 +10:00
Vitor Moreno B. Sales b29fa21775
Programmable outputs (#396)
* Programmable outputs

* Prevent array overflow

* Show fullStatus variables names on dialog

* Further fixes

* Update with master

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-08-12 14:21:36 +10:00
Josh Stewart ad4683014d Warnings cleanup 2020-08-12 12:05:31 +10:00
Josh Stewart 9624985299 Revert TS to using 1023 values for ADC calibration to allow custom WB entry 2020-08-11 17:25:20 +10:00
Josh Stewart 53c0dedde1 Complete new calibration routines for testing 2020-08-11 12:07:12 +10:00
Josh Stewart a1aa4f25d9 Add automatic build to Travis for stm32f407 black 2020-08-10 14:19:09 +10:00
Tjeerd 6faab8e485
Update on eeprom emulation (#424)
* Fix building for FRAM with globals.h setting

On request of vitor boss. A lot has been changed around  to make the selection of EEPROM emulation  type from the globals.h (including FRAM selection)

* Add support for EEPROM emulation on internal flash of STM32F7

* Updates on SPI Flash EEPROM

* Fix building for BACKUPSRAM as EEPROM.

* Add put() and get() functions to the EEPROM emulation. This is needed for the latest terminstor and other calibrations routines

Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2020-08-10 08:58:00 +10:00
Josh Stewart d4899c0200 Tweaks to VSS sampling 2020-08-10 08:54:53 +10:00
Josh Stewart 0e8cb0bb9e Change stm32 boards to use 10-bit ADC and match other boards 2020-08-10 08:54:36 +10:00
Josh Stewart f4d000e5c3 Add upload of teensy35 and Dropbear master firmwares to speeduino.com server 2020-08-08 12:39:53 +10:00
Josh Stewart 9a6be330f4 Prevent interrupts when calculating tooth to tooth time (Resolves #430) 2020-08-08 09:53:26 +10:00
Josh Stewart c8480cc6a7 Add VSS sampling 2020-08-07 19:32:31 +10:00
Josh Stewart 7db6c7a834 Only do VVT angle lookup on missing tooth if it is enabled 2020-08-07 19:32:19 +10:00
Josh Stewart 3215d78b41 Fix typo on teensy35 timer init 2020-08-07 15:51:31 +10:00
Josh Stewart 0fe885344f Mostly working temp calibrations (See #422) 2020-08-07 14:30:56 +10:00
Josh Stewart 50ce97cde8 Performance tweaks on decoders 2020-08-05 15:11:51 +10:00
Josh Stewart 1d23023260 Check for serial tx buffer fill and delay sends if needed 2020-08-02 11:20:28 +10:00
noisymime-test f0b2c86d02
Added unit test for DFCO (#426)
* Update README.md

* Added DFCO unit test

* Update README.md

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-08-02 09:05:10 +10:00
Tjeerd 22efa47bc5
new pinout STM32F407 board V0.5.0 and 0.5.1 (#423)
* new pinout STM32F407

* Put the #if directive on the correct side of the case 60: line.

Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2020-07-30 15:02:09 +10:00
Josh Stewart 14972b3848 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-07-30 09:15:48 +10:00
Josh Stewart 899831bdad MISRA cleanup 2020-07-30 09:15:24 +10:00
celso acyr 1d45f0d733
Fixed step value. (#390)
* Iac automatic resolution

Fix idle stepper, work direct with values < 255 and keep existing mode

* Fixed Hysteresis for stepper

0 value bug the counter.

* Fix value

Changed value to 255.

* Ensure no overflow on iacMaxSteps

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-07-30 09:14:10 +10:00
Josh Stewart a0fceef008 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-07-29 13:09:56 +10:00
Josh Stewart a086ab5dfb Minor VVT2 fix 2020-07-29 13:09:52 +10:00
Pasi Kemppainen cc2b95da8d
Add "Half sync" indicator (#370)
* Half sync indicator for 3 different trigger patterns.

Added half sync indicator which shows that there is only primary trigger present for missing tooth, dual wheel and miata 9905 trigger patterns

* missing tooth required some adjusting

* forgot to remove stm32 pin mapping. I have it in other PR

* Leave only for missing tooth

Co-authored-by: Pasi Kemppainen <pazi88@users.noreply.github.com>
Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-07-29 11:07:43 +10:00
Josh Stewart 72531f9c9c Fix incorrect memory alignment in Pg 10 2020-07-27 23:47:52 +10:00
Autohome2 58200f8707
07072020 obdp3 (#411)
* fix to serial0 and serial3 when offset is 0 uses wrong command

* fix to serial0 and serial3 when offset is 0 uses wrong command

* fix hex num

* add teensy canbus library
teensy can read and write functions enabled

* update to teensyduino 1.49

* part 1 prepare structure for obd can port works
rename old can_command() to secondarySerial_command() for secondary serial and create new can_command for real CAN instruction decode.
fix masking for teensy 3x and 4

* set mega as default build

* last part of main obd2 canbus for teensy MCU

* tested obd2 for teensy3.5

* Only init CAN on Teensy with 3.5. Otherwise this will lockup on 4.1

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-07-27 12:34:05 +10:00
Josh Stewart 2dd28278a2 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-07-27 10:12:03 +10:00
Josh Stewart 605363ff98 PIn mappings for T4.1 on Dropbear 2020-07-27 10:10:28 +10:00
Josh Stewart ac915536a3 Pull Teensy interrupts into board file 2020-07-27 10:09:50 +10:00
Vitor Moreno B. Sales 31541cca2d
[VVT] PID work (#412)
* [VVT] PID work

Tested on a half  moon CAM pattern as working, it should work on others too.

Added option to reverse the PWM output

Co-Authored-By: pazi88 <48950874+pazi88@users.noreply.github.com>

* Fix typo

Co-Authored-By: diy-efi <diy-efi@users.noreply.github.com>

* Add second VVT pwm on same timer

All precious VVT variables was renamed to VVT1 and added VVT2 stuff.

Tested with logic analyzer.

* Define VVT2 for other boards

Added vvt2Pin

* Just update on first tooth

Co-authored-by: pazi88 <48950874+pazi88@users.noreply.github.com>
Co-authored-by: diy-efi <diy-efi@users.noreply.github.com>
2020-07-27 09:05:02 +10:00
Josh Stewart 0b9452981a Merge branch 'master' of https://github.com/noisymime/speeduino 2020-07-23 09:45:26 +10:00
Josh Stewart bce06ec4cf New test write calibration methods for the consolidation 2020-07-23 09:44:48 +10:00
Josh Stewart c8d07527ba Teensy 4.1 compatibility fixes 2020-07-23 09:39:51 +10:00
Mateusz Muszyński 5b342d27bd
Water methanol injection (#417). Refer #154
* Add water methanol injection

* Set signature back to default

* Set signature back to default

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-07-22 11:27:21 +10:00
Tjeerd b9bab9cbfc
Changed platformio.ini to build with the newest visual studio code and PIO. (#418)
Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2020-07-19 20:31:00 +10:00
Josh Stewart d5bc11e006 Fix bug with the delayed inj priming that could cause lockup 2020-07-14 14:05:07 +10:00
Josh Stewart 4e1a429ff6 Fix the travis test so that it uses Teensy41 2020-07-14 13:58:25 +10:00
Josh Stewart e17874553f Change the TEENSY40 config to be TEENSY41 2020-07-14 13:57:36 +10:00
Teemo Vaas 92ab0a847c
Vbatt reading overflow fixed. sensors.ino (#409)
* Update sensors.ino

Prevent vbatt reading form going negative due to the vatVoltCorrect and overflowing the uint variable.
Variable changed to signed int  and added check to correct if gone negative.
Thought given that all filters using the temp variable shoud remain working.

* Update sensors.ino
2020-07-08 15:29:56 +10:00