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