Commit Graph

691 Commits

Author SHA1 Message Date
rusefillc e34094e13d
Prepare for multi-channel boards (#72)
* Prepare for multi-channel boards

(cherry picked from commit 8b713cebfc)

* this belongs in wideband_board_config.h they say

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-06-24 14:51:22 -07:00
rusefillc 725d30c07c
sorry those help sometimes (#70) 2022-06-24 14:44:44 -07:00
rusefillc f6b4b3a34c
f1_dave: PA1 is pump PWM output, should be alternate (#75)
(cherry picked from commit b31e642943)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-06-22 11:10:51 -07:00
rusefillc 4ee8610645
More stack (#74)
(cherry picked from commit eb20d28bad)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-06-22 11:10:16 -07:00
Matthew Kennedy 88278fe7e6 bin 2022-05-18 23:51:17 -07:00
Matthew Kennedy d4742d81e7 angry comment 2022-05-18 23:50:58 -07:00
Matthew Kennedy ea8c1a7d1a send temperature for real 2022-05-18 23:49:34 -07:00
Matthew Kennedy 62f5b9e7ae clamp temperature estimation 2022-05-18 23:45:42 -07:00
Andrey G d3e460a9a6
Uart debug (#64)
* heater: export state and description

* pump_dac: save and export Ipump

* float interpolation helpers

* Show heater state, heater duty, temperature and fault over uart

* uart: more stack for thread
2022-05-11 01:41:07 -07:00
Matthew Kennedy 2167016c16 format 2022-05-07 11:15:11 -07:00
rusefillc b9b94fcadc
Temperature (#63)
* integer id interpolation

* Calculate sensor temperature based on Ri

* Sensor Ri around 25C

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-05-07 11:12:20 -07:00
Andrey G 87763c55a4
f1_dave: port: use designated initializers (#65) 2022-05-06 22:36:44 -07:00
Matthew Kennedy 2a2b438fc6 static 2022-04-06 17:23:18 -07:00
Andrey G bc0686c826
Smarter state machine to use internal vbatt when CAN not connected (#57)
* Smarter state machine to use internal vbatt when CAN not connected

* Style
2022-04-06 14:07:39 -07:00
Andrey G bcc62880da
f1_dave: board cleanup and pinmux fixes (#56)
* f1_dave: clean-up board.h

* f1_dave: PB6 should be output+alternate

Set using VAL_GPIOBCRL, no need to call palSetPadMode

* f1_dave: PB12 ESR driver, should be high speed (hi current)

* f1_dave: PB13 - Blue LED should be output push-pull

* f1_dave: fix pinmuxes, add comments
2022-04-06 14:07:00 -07:00
Matthew Kennedy 354888f2b8 comments 2022-04-06 01:31:35 -07:00
Matthew Kennedy 66b891bf79 heater controller pulls from CAN world instead of push 2022-04-06 01:22:09 -07:00
Matthew Kennedy dc077caff1 api to get internal battery voltage 2022-04-06 01:08:40 -07:00
Matthew Kennedy ea262c3822 battery voltage config 2022-04-06 01:07:29 -07:00
Matthew Kennedy b838c414fa sample battery voltage 2022-04-06 01:07:18 -07:00
Matthew Kennedy b6985f6416 Merge branch 'master' of https://github.com/mck1117/wideband 2022-04-06 00:55:28 -07:00
rusefillc 636d8a30bc
ChibiOS: use rusefi/master.wideband branch (#54)
* ChibiOS: use rusefi/master.wideband branch

* Actually update the submodule pointer
2022-04-05 14:47:01 -07:00
rusefillc 3f3cb4a7ad
PB6 with hardware mod is the simplest way forward (#50)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-04-05 14:46:46 -07:00
Matthew Kennedy c84a47a870 Merge branch 'master' of https://github.com/mck1117/wideband 2022-04-04 14:21:32 -07:00
rusefillc a981063a8b
UART (#52)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-04-04 14:18:08 -07:00
Matthew Kennedy 16082be7d7 model tweaks 2022-03-29 16:11:04 -07:00
Matthew Kennedy 2849b984dd some per board config 2022-01-28 11:21:38 -08:00
Matthew Kennedy a376b54b55 report duty as float 2022-01-26 10:56:58 -08:00
rusefillc 3a5dc0208e
static (#49)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-01-25 19:11:57 -08:00
rusefillc db9180f385
badge (#48)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-01-25 17:41:26 -08:00
rusefillc 29329989b2
Attach binaries (#47)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-01-25 17:41:11 -08:00
Matthew Kennedy 86034506b0 can runs at 24mhz 2022-01-13 12:09:44 -08:00
rusefillc d9b83379f3
CAN options (#42)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-01-13 10:55:03 -08:00
Matthew Kennedy 660dad473c let's go back to 48 2022-01-13 10:45:12 -08:00
Matthew Kennedy 23a05968d3 run at 64MHz 2022-01-13 10:28:33 -08:00
rusefillc 51775e719b
ID pins to pinout header (#41)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-01-11 17:44:46 -08:00
Matthew Kennedy 818860d6f5 image 2022-01-10 01:50:46 -08:00
Matthew Kennedy 206a5c8544 Merge branch 'master' of https://github.com/mck1117/wideband 2022-01-10 01:49:51 -08:00
Matthew Kennedy a182b77152 Merge branch '20210110-hotfix' 2022-01-10 01:49:45 -08:00
Matthew Kennedy e012aabeef image 2022-01-10 01:48:38 -08:00
Matthew Kennedy a2991bd771 image 2022-01-10 01:48:29 -08:00
Matthew Kennedy 437efb1cc6 adjust CL timeout parameters 2022-01-10 01:46:43 -08:00
Matthew Kennedy 6557809da2 send heater duty 2022-01-04 11:16:46 -08:00
Matthew Kennedy 4f2fd95c46 f1 analog mapping 2022-01-04 11:08:17 -08:00
Matthew Kennedy 085b0419db clarify for f1 2022-01-04 11:06:01 -08:00
Matthew Kennedy b910db45ba f1 board.h 2022-01-04 11:03:09 -08:00
Matthew Kennedy b420d7aa56 Revert "open question but probably useful (#31)"
This reverts commit dd4b3dd081.
2022-01-04 10:41:35 -08:00
rusefillc dd4b3dd081
open question but probably useful (#31) 2022-01-04 10:40:03 -08:00
Matthew Kennedy 4bb9ac6162 fault decoder ring 2022-01-01 21:12:08 -08:00
Matthew Kennedy 2bda28226a extract fault 2022-01-01 21:10:55 -08:00