Commit Graph

691 Commits

Author SHA1 Message Date
rusefillc d8f8783d8c
OpenBLT: extract common code for f1 boards (#255)
(cherry picked from commit b892ed7520b20f00f1dbae88001798453a5bb07d)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:17:22 -07:00
rusefillc 5ae6cfbb41
f1_dual_rev1: fix LD file (#254)
(cherry picked from commit e9c0a26692d5f7bd8c0f1c46a2fd9b74edd223bf)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:16:45 -07:00
rusefillc 4667e991d4
max3185x: support also max31856 (#253)
(cherry picked from commit 703985dc709afad2df0ff69d929751894da51b34)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:16:28 -07:00
rusefillc e52e4a0768
f1_dual_rev1: fix SPI1 remap (#252)
(cherry picked from commit 38037e8b46ea4f9c2dd370560e6138ed35ade2f7)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:12:12 -07:00
rusefillc f8ad24484f
dual-rev1 Secondary uart settings (#247)
* f1_dual_rev1: secondary TS port (BT)

* f1_dual_rev1: two TS serial ports: primary over BT, secondary over J3

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 14:45:37 -07:00
rusefillc 025b687673
auxout: no need to invert PWM signal in software (#248)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 14:45:08 -07:00
rusefillc 9534851a66
livedata: temp is now packed int16 (#250)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 13:11:55 -07:00
rusefillc 94de9fd776
TS: report Nernst AC too, convert Nernst voltages to uint16 (#249)
* TS: report Nernst AC too, convert Nernst voltages to uint16

* TS: report Nernst AC too, convert Nernst voltages to uint16

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-05-03 14:51:34 -07:00
rusefillc 9519ad51dd
indication: advanced indication with per-channel status led (#235)
* indication: advanced indication with per-channel status led

(cherry picked from commit b486dfe682622c9835cf00457834cebf6e34da2f)

* f1_dual_rev1: enable advanced indication

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-03 13:18:05 -07:00
rusefillc c79964979c
f1_common: default AUXOUT value is AFR voltage (#232)
with 'default' scaling 8.5 to 18.0 AFR is represented with 0.0 to
5.0V

(cherry picked from commit 5f18b10147fc72a8c5db2e8d665cc507125de0f0)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-03 11:46:52 -07:00
rusefillc b1bf9bf185
Rev 1pwm (#242)
* f1_dual_rev1: fix analog aux output PWM definitions

(cherry picked from commit 50e346dfcb9f223c6e0ee6cdc700cb376b536834)

* fix pwm definitions

(cherry picked from commit ce9e69b997290bbd7abcfe5af2926b1d556070cf)

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-03 11:46:32 -07:00
rusefillc 67f4aa45fe
uart: introduce TS_SECONDARY_SERIAL_PORT (#245)
(cherry picked from commit 9d8bbe38d1e63384ef0d66d3330363c894f2901b)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-03 11:46:13 -07:00
rusefillc c7a8365ea3
f1_dual_rev1: update ADC, measure Un_sense, avoid clamping (#244)
(cherry picked from commit 26f12766968a1999e1f12e06720ecbc334a91add)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-28 22:02:09 -07:00
rusefillc 8bd19fcc2c
Aux2 (#243)
* auxout: manually fill pwm config

(cherry picked from commit a01876bc034264de5d6930bf2cc49cf0fc0cbb0a)

* auxout: some boards use primary PWM outputs instead of complementary

(cherry picked from commit c13b95441e7b284a36445c261199e96580e94ebd)

* auxout: implement ripple cancelation using inverted PWM

(cherry picked from commit 77cbc04990421b24021639b098ea6040af3a12f8)

* f1_common: default AUXOUT value is AFR voltage

with 'default' scaling 8.5 to 18.0 AFR is represented with 0.0 to
5.0V

(cherry picked from commit 0c62ab8f509ff0ab3ab4260e308ad4b55bd64e40)

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-28 22:01:13 -07:00
rusefillc 25c5e249d9
Dual 1 (#241)
* f1_dual_rev1: add pinmux settings for port F and G

To supress compiler warning.

(cherry picked from commit 89876fe8eaad933308b63a4b0b1666deb75bfc84)

* f1_dual_rev1: fix remaps

-disable JTAG to free PA15, PB3, PB4
-use SPI3 for EGT chips without remaping

(cherry picked from commit 598f1aa0779ba6e90ccf2eb74445d074f2bfbc75)

* f1_dual_rev1: disable unused TIM1, TIM2

(cherry picked from commit 9e71c3813fd09c080c0eb2f1e63fe82b475efb4f)

* f1_dual_rev1: run at 72MHz from HSE

(cherry picked from commit eaa4577ef85bdfdba637c203646883202a1f8e02)

* f1_dual_rev1: fix can timings

(cherry picked from commit 6437b3d92047adefe6534efaa57062bdda449d37)

* f1_dual_rev1: add CAN timings for 125L, 250K and 1Mbps

(cherry picked from commit bc988d10dda43bfc8b4566de274e3b99bc6b8a5e)

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-27 14:12:48 -07:00
rusefillc 78faa25b15
better file name to facilitate upload/download (#240)
for instance see https://rusefi.com/online/ini/rusefi/2023/04/21/
2023-04-27 12:59:23 -07:00
rusefillc ef1c89a51d
Dual rev1 (#229)
* f1_dual: revision 1

(cherry picked from commit 855585fcf66d5ca8d1d549236c1c472bbfcaa356)

* github: build f1_dual_rev1

(cherry picked from commit 8ac01d43831b5231303a430cdf56fcabafe9c990)

* pump_dac: support DAC as utput interface

(cherry picked from commit 5240ec1a9ed88110e63785b1611223bb4f6a023c)

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-27 12:56:27 -07:00
rusefillc 9d618d228e
auxout: designated initializers (#230)
(cherry picked from commit d458a094b64de13e8a1540dc0fb4facade6b332f)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-27 12:55:05 -07:00
rusefillc 4ca946b91a
uart: rename UART_DEBUG to DEBUG_SERIAL_PORT (#236)
Also allow coexistance of DEBUG_SERIAL_PORT and TS_ENABLED

(cherry picked from commit 87cb7d1309cb8aac38f2e4e979252690df0cbb39)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-27 12:54:32 -07:00
rusefillc 5c06f03439
doc (#237) 2023-04-27 12:53:37 -07:00
rusefillc 27deaf524b
doc (#234)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-04-27 12:53:21 -07:00
rusefillc b5947eab1d
doc (#233)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-27 12:53:15 -07:00
rusefillc 82fa49a099
code comment typo (#239) 2023-04-27 12:52:06 -07:00
Andrey G 998d75557d
dac: fix overflow (#238) 2023-04-26 14:01:14 -07:00
rusefillc 21202975b9
TS: serial: do not disable serial after failed BT init attemp (#231)
Instead enable it on default baudrate and wait for direct connection

(cherry picked from commit 4f2aa57bee6a50195768ffb0e7d7d2ff374048e4)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-20 11:22:59 -07:00
rusefillc 2f90b66fdb
f1_rev2: remove duplicated definitions (#227)
(cherry picked from commit 10b482e759cf2f0aa0d55e53ad540737586e3991)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-17 16:25:44 -07:00
rusefillc 898fa20c2b
Dac helper (#226)
* dac: move helpers to separate cpp and h

(cherry picked from commit aee71931db269fc256ab43e1fb84b71c77e215d7)

* dac: HAL_USE_DAC guards

(cherry picked from commit 5517844e4d0f79c7cf8c5bb097c110541063bddf)

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-17 14:11:34 -07:00
rusefillc 36d57e7d73
TS: report heater effective voltage (#225)
(cherry picked from commit c37180517d5522876a7efb7fcc17a3ca40ffee9f)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-17 14:10:38 -07:00
rusefillc 0abaae13e7
f1_dual: remove duplicated definitions (#224)
(cherry picked from commit 57b3ac51770fb7676d1bd93daac9384d44f18667)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-17 14:08:45 -07:00
rusefillc 26564a0efc
More on magic constants (#223)
* More on magic constants

* More on magic constants

* More on magic constants #223
2023-04-12 19:46:30 -07:00
Matthew Kennedy a588f15808 board can override CAN format 2023-03-28 00:01:21 -07:00
Matthew Kennedy 0b27e6a8e7 Merge branch 'master' of https://github.com/mck1117/wideband 2023-03-27 23:08:08 -07:00
Matthew Kennedy 0e1161b6d7 cleanup 2023-03-27 23:08:05 -07:00
rusefillc ebc39b3690
f1_rev3: used MCU has gpio port F and G (in bigger package) (#221)
Set safe state for gpio ports F and G to keep compiler happy.

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-03-24 14:59:06 -07:00
Matthew Kennedy 9d4fabeda7 Use temperature thresholds instead of ESR thresholds 2023-03-22 14:59:52 -07:00
rusefillc e9343db75f
fail fast (#216)
* fail fast

* More of bash magic

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-21 11:20:48 -07:00
Andrey G e9b942df31
heater_control: hanle no supply state (#219) 2023-03-21 11:20:19 -07:00
Matthew Kennedy 85e61227ab this is port specific 2023-03-15 18:08:40 -07:00
Matthew Kennedy 00cc305d02 GetCanConfig 2023-03-15 18:07:31 -07:00
Matthew Kennedy 5cc1199d49 missing dep for crc32 2023-03-06 21:36:12 -08:00
Matthew Kennedy 120b37c4b7 Merge branch 'master' of https://github.com/mck1117/wideband 2023-03-06 21:28:36 -08:00
Matthew Kennedy 9c7b9364c7 don't need to specify full path, just folder for dst 2023-03-06 21:28:31 -08:00
Matthew Kennedy b3c7f2a685 we don't need to put the bin in the repo 2023-03-06 21:28:20 -08:00
rusefillc 84c7c4c576
time to squash (#213)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-06 21:26:32 -08:00
rusefillc 6364c7cb2c
TS: use BOARD_NAME in Test and Version commands reply (#211)
* TS: use BOARD_NAME in Test and Version commands reply

* making source code two bytes smaller

* making source code two bytes smaller

* making source code two bytes smaller

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-06 21:18:54 -08:00
Matthew Kennedy 7411f42d21 more generous regex 2023-03-06 21:17:19 -08:00
Matthew Kennedy 43def3f982 output to deliver dir, so that ci picks it up 2023-03-06 21:12:49 -08:00
rusefillc 2364366a50
Use openblt files (#214)
* Attach from 'deliver' folder

* Attach from 'deliver' folder

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-06 21:04:21 -08:00
rusefillc fa2b205583
Openblt composite hex (#212)
* composite OpenBLT+Wideband hex file

* Install srecord for srec_cat

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-06 01:32:34 -08:00
rusefillc 248794965d
main: do not forget to call startTunerStudioConnectivity() (#210)
Currently useless.

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-27 15:27:25 -08:00