Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETB HW QC #253

Closed
rusefillc opened this issue Oct 29, 2023 · 2 comments
Closed

ETB HW QC #253

rusefillc opened this issue Oct 29, 2023 · 2 comments

Comments

@rusefillc
Copy link
Contributor

we need to confirm ETB soldering on 112-17 and other boards

@rusefillc rusefillc self-assigned this Oct 29, 2023
rusefillc added a commit to rusefi/libfirmware that referenced this issue Oct 29, 2023
rusefillc added a commit to rusefi/rusefi that referenced this issue Oct 29, 2023
rusefillc added a commit to rusefi/rusefi that referenced this issue Oct 29, 2023
rusefillc added a commit to rusefi/rusefi that referenced this issue Oct 30, 2023
rusefillc added a commit that referenced this issue Oct 30, 2023
rusefillc added a commit that referenced this issue Oct 30, 2023
@rusefillc
Copy link
Contributor Author

rusefillc commented Oct 30, 2023

запрограммировал прямое управление - но выходы ETB не мигают

		directWritePad(io->controlPin, 1);
		directWritePad(io->directionPin1, direction);

конфигурация

    engineConfiguration->etbIo[0].controlPin = Gpio::MM100_OUT_PWM6;
    // DIR pin
	engineConfiguration->etbIo[0].directionPin1 = Gpio::MM100_SPI2_MISO;
   	// Disable pin
   	engineConfiguration->etbIo[0].disablePin = Gpio::MM100_SPI2_MOSI;

проблема: мультиметром вижу ожидаемое мигание 0<>.3в на TLE9201 DIR пине 1, но 0в на PWM пин 12. это дефект софта или высокий уровень пина controlPin не будет виден мультиметром?

rusefillc added a commit to rusefi/rusefi that referenced this issue Oct 30, 2023
@rusefillc
Copy link
Contributor Author

был дефект софта. после добавления управления disablePin мультиметр стал видеть активность в выходных пинах tle9201

		directWritePad(io->disablePin, 0); // disable pin is inverted - here we ENABLE. direct pin access due to qcDirectPinControlMode

при этом всё равно 0в на PWM кстати

следующая проблема: на обоих выходных пинах мультиметр видит 7в или 12в при отключении от платы стимулирования

при подкючении платы стимулирования на пине постоянные 12в и АЦП не видит разницы. в каком режиме плата стимуляции должна считывать TLE9201 активность?

ERROR! Line 40@1 FAILED! (set 0, received 1 2.821v)
               sending line=40 value=1
               Setting ADDR 7
        ADC says 40 2.819v
                      ADC says HIGH 40@2 2.823v
               sending line=40 value=0
               Setting ADDR 7
        ADC says 40 2.820v
                      ADC says HIGH 40@3 2.823v
ERROR! Line 40@3 FAILED! (set 0, received 1 2.823v)
sending DC
               Setting ADDR 7
               sending line=40 value=1
               Setting ADDR 7
        ADC says 40 2.818v
                      ADC says HIGH 40@0 2.821v
               sending line=40 value=0
               Setting ADDR 7
        ADC says 40 2.816v
                      ADC says HIGH 40@1 2.822v
ERROR! Line 40@1 FAILED! (set 0, received 1 2.822v)
               sending line=40 value=1
               Setting ADDR 7
        ADC says 40 2.817v
                      ADC says HIGH 40@2 2.822v
               sending line=40 value=0
               Setting ADDR 7
        ADC says 40 2.816v
                      ADC says HIGH 40@3 2.820v
ERROR! Line 40@3 FAILED! (set 0, received 1 2.820v)
               Setting ADDR 7
               sending line=40 value=1
               Setting ADDR 7
        ADC says 40 2.819v
                      ADC says HIGH 40@0 2.819v
               sending line=40 value=0
               Setting ADDR 7
        ADC says 40 2.817v

rusefillc pushed a commit to rusefi/rusefi that referenced this issue Oct 30, 2023
rusefillc added a commit to rusefi/rusefi that referenced this issue Oct 30, 2023
rusefillc added a commit that referenced this issue Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant