USB and TLE8888 not working for F4 or F767 #764
This commit is contained in:
parent
f62731cc99
commit
f3a6ce0769
|
@ -304,7 +304,7 @@ void setTle8888TestConfiguration(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
engineConfiguration->ignitionMode = IM_INDIVIDUAL_COILS;
|
||||
engineConfiguration->crankingInjectionMode = IM_SEQUENTIAL;
|
||||
|
||||
engineConfiguration->tle8888_cs = GPIOH_5;
|
||||
engineConfiguration->tle8888_cs = GPIOD_5;
|
||||
engineConfiguration->directSelfStimulation = true;
|
||||
|
||||
boardConfiguration->ignitionPins[0] = GPIOG_3;
|
||||
|
|
|
@ -287,6 +287,10 @@ void applyNewHardwareSettings(void) {
|
|||
}
|
||||
#endif /* EFI_ELECTRONIC_THROTTLE_BODY */
|
||||
|
||||
#if (BOARD_TLE6240_COUNT > 0)
|
||||
stopSmartCsPins();
|
||||
#endif /* (BOARD_MC33972_COUNT > 0) */
|
||||
|
||||
#if EFI_VEHICLE_SPEED
|
||||
stopVSSPins();
|
||||
#endif /* EFI_VEHICLE_SPEED */
|
||||
|
@ -312,6 +316,10 @@ void applyNewHardwareSettings(void) {
|
|||
|
||||
enginePins.unregisterPins();
|
||||
|
||||
#if (BOARD_TLE6240_COUNT > 0)
|
||||
startSmartCsPins();
|
||||
#endif /* (BOARD_MC33972_COUNT > 0) */
|
||||
|
||||
#if EFI_SHAFT_POSITION_INPUT
|
||||
startTriggerInputPins();
|
||||
#endif /* EFI_SHAFT_POSITION_INPUT */
|
||||
|
|
|
@ -104,8 +104,8 @@ struct tle8888_config tle8888_cfg = {
|
|||
.spi_config = {
|
||||
.circular = false,
|
||||
.end_cb = NULL,
|
||||
.ssport = GPIOF,
|
||||
.sspad = 0U,
|
||||
.ssport = NULL,
|
||||
.sspad = 0,
|
||||
.cr1 =
|
||||
SPI_CR1_16BIT_MODE |
|
||||
SPI_CR1_SSM |
|
||||
|
|
Loading…
Reference in New Issue