only:m74_9

This commit is contained in:
rusefi 2024-01-14 00:14:21 -05:00
parent 93a862022b
commit f96a19c4ab
2 changed files with 13 additions and 9 deletions

View File

@ -46,11 +46,11 @@ static void setupEtb() {
// PWM - pwm control (enable high, coast low)
// DIS - disables motor (enable low)
// // PWM pin
// engineConfiguration->etbIo[0].controlPin = Gpio::C7;
// // DIR pin
// engineConfiguration->etbIo[0].directionPin1 = Gpio::A8;
// // Disable pin
// PWM pin
engineConfiguration->etbIo[0].controlPin = Gpio::B14;
// DIR pin
engineConfiguration->etbIo[0].directionPin1 = Gpio::B15;
// // Disable pin todo clarify if we have it?
// engineConfiguration->etbIo[0].disablePin = Gpio::C8;
// we only have pwm/dir, no dira/dirb
@ -82,11 +82,11 @@ void setBoardDefaultConfiguration() {
engineConfiguration->spi1sckPin = Gpio::E13;
engineConfiguration->spi1SckMode = PO_DEFAULT;
// todo engineConfiguration->triggerInputPins[0] = ;
// todo engineConfiguration->camInputs[0] = ;
engineConfiguration->triggerInputPins[0] = Gpio::F8;
engineConfiguration->camInputs[0] = Gpio::B9;
// todo engineConfiguration->clt.adcChannel = EFI_ADC_;
// todo engineConfiguration->iat.adcChannel = EFI_ADC_;
// todo engineConfiguration->clt.adcChannel = EFI_ADC_; // ADC3 PF5
// todo engineConfiguration->iat.adcChannel = EFI_ADC_; // ADC3 PF6
// todo engineConfiguration->map.sensor.hwChannel = EFI_ADC_;
// ?k high side/?k low side = ? ratio divider todo is the value below right?

View File

@ -2,6 +2,8 @@ pins:
# Connector A
- pin: AA1
function: Crank position sensor (pin A)
id: F8
class: event_inputs
type: vr
- pin: AA2
@ -114,6 +116,8 @@ pins:
- pin: AG2
function: Camshaft position sensor signal
type: hall
id: [B9, B9]
class: [event_inputs, switch_inputs]
- pin: AG4
id: L9779_OUT_3