This page list the outputs that can be used for GenBoard/Manual/DigitalOut configuration and testing.
Injector drivers are primarily used for driving injectors, but any (otherwise) free channel can be configured for any output. The same goes for all the drivers, including ignition and idle solenoid outputs.
For inductive loads
it must be verified that the chosen driver handles flyback.
- Injector drivers are normally populated with GenBoard/Manual/DDFlyback - make sure yours are too
- IGBTs (usually used for ignition) have internal clamping that provide an appr. 400V flyback voltage
- P259 have internal appr. 50V flyback
- stepper channels also have flyback
No flyback on
- WBO2 heater1 and 2
- SPECFET 0 and 1 (DRIVE_A and DRIVE_B)
Note: the IDL output is only ment to be used with the ON/OFF type solenoids, driving the relay (max 350mA) that drives the valve. If you want to drive a PWM controlled idle valve directly it's best to use one of the free INJ outputs they can handle much more current (max 10A) and are equipped with flyback.
Family | Number | mdh.. | Dec. Value | Pin | Name | Max Load | Comments |
SPECFET | 0 | 01 | 1 | EC18 pin 12 | Drive A | 7 A | Misc driver |
SPECFET | 1 | 11 | 17 | EC18 pin 6 | Drive B | 7 A | Misc driver |
I259 | 0 | 02 | 2 | EC36 pin 35 | Drive 00 | 7 A | Ignition Driver |
I259 | 1 | 12 | 18 | EC36 pin 33 | Drive 01 | 7 A | Ignition Driver |
I259 | 2 | 22 | 34 | EC36 pin 34 | Drive 02 | 7 A | Ignition Driver |
I259 | 3 | 32 | 50 | EC36 pin 36 | Drive 03 | 7 A | Ignition Driver |
I259 | 4 | 42 | 66 | EC36 pin 11 | Drive 04 | 7 A | Ignition Driver |
I259 | 5 | 52 | 82 | EC36 pin 12 | Drive 05 | 7 A | Ignition Driver |
I259 | 6 | 62 | 98 | EC36 pin 24 | Drive 06 | 7 A | Ignition Driver |
I259 | 7 | 72 | 114 | EC36 pin 10 | Drive 07 | 7 A | Ignition Driver |
S259 | 0 | 06 | 6 | N/A | lcd_rs | N/A | Used internally |
S259 | 1 | 16 | 22 | (Onboard) | S259 Out1 | logic | Has to be soldered |
S259 | 2 | 26 | 38 | (Onboard) | S259 Out2 | logic | Check board layout |
S259 | 3 | 36 | 54 | EC18 pin 4 | Step A | 1A | Can be used for stepper |
S259 | 4 | 46 | 70 | EC18 pin 10 | Step B | 1A | Or as separate drivers with |
S259 | 5 | 56 | 86 | EC18 pin 5 | Step C | 1A | stepper chip populated |
S259 | 6 | 66 | 102 | EC18 pin 11 | Step D | 1A | otherwise, internal logic level |
S259 | 7 | 76 | 118 | N/A | EN_ab | N/A | used internally |
P259 | 0 | 07 | 7 | EC36 pin 4 | Drive 08 | 350mA | Free for any usage |
P259 | 1 | 17 | 23 | EC36 pin 16 | Drive 09 | 350mA | Free for any usage |
P259 | 2 | 27 | 39 | (Onboard) | CL LED | 350mA | Onboard, LED1 |
P259 | 3 | 37 | 55 | (Onboard) | MISC LED | 350mA | Onboard, LED2 |
P259 | 4 | 47 | 67 | EC36 pin 3 | IDL | 350mA | Idle solenoid relay |
P259 | 5 | 57 | 83 | EC36 pin 15 | FP | 350mA | Fuel pump relay |
P259 | 6 | 67 | 99 | EC36 pin 31 | Drive 10 | 350mA | Free for any usage |
P259 | 7 | 77 | 115 | EC36 pin 30 | Drive 11 | 350mA | Free for any usage |
Notes:
- when using mdh.. command for testing (take care what is connected, eg. a coil will fry) add hexa 80 to turn the signal on: eg. mdhf2 turns I259 output 7 (that is the gate-signal for the IGBT that drives Drive07) on, while mdh72 turns it off.
- when adding hexa 80 in configuration, the signal will be inverted.
- why is the dec. value in the table ? Is that used for anything ? -- I added that because Megatune couldn't give output in hex //Emil
Summary
Above you've seen examples for ("." = hexadecimal character from 0..f)
- mdh.1
- mdh.2
- mdh.6
- mdh.7
- mdhff (channel disable => no output is actuated)
but the most interesting and flexible
- mdh.0
Several injector outputs can be switched simultaneously - mdh.0
The h[0] is very important here. Don't fool yourself by forgetting this.
Let's assume (just for the example) that tables.txt has:\nÿ1ÿ
It is very important to note the difference compared to other outputs.
While configuring ...channel=47 means the P259 output 4 (labelled idle solenoid relay, EC36 pin 3) is used (which is direct mapping), configuring 70 will not necessarily mean INJ H (because of the indirect "lookup").
- ..._channel=70
- ..._channel=f0 (same channels used as for =70, but inverted output)
- mdh70 (HW testing: turn off )
- mdhf0 (HW testing: turn on )
- mdh10 and mdh90 will turn nothing OFF/ON because 00 at index 1 (remember it is 0 based?) means nothing is selected.
- mdh00 and mdh80 will turn OFF/ON injector channels behind mask A2, that is 80 + 20 + 02, that is INJ H and INJ F and INJ B
- mdh50 and mdhd0 turns OFF/ON all injector channels, since mask FF means 80 + 40 + 20 + 10 + 08 + 04 + 02 + 01 that includes all injector channels.
Family | Number | h[0] mask | Pin | Name | Max Load | Comments |
INJFET | 0 | 01 | EC36 pin 7 | Inj A | 10 A | Injector driver |
INJFET | 1 | 02 | EC36 pin 19 | Inj B | 10 A | Injector driver |
INJFET | 2 | 04 | EC36 pin 8 | Inj C | 10 A | Injector driver |
INJFET | 3 | 08 | EC36 pin 20 | Inj D | 10 A | Injector driver |
INJFET | 4 | 10 | EC36 pin 9 | Inj E | 10 A | Injector driver |
INJFET | 5 | 20 | EC36 pin 18 | Inj F | 10 A | Injector driver |
INJFET | 6 | 40 | EC36 pin 6 | Inj G | 10 A | Injector driver |
INJFET | 7 | 80 | EC36 pin 17 | Inj H | 10 A | Injector driver |
In general it doesn't make sense to control the same injector channel from several h[0] elements (countrary to the above made-up example). Also, it doesn't make sense to assign the same output for different config..._channel. The result will be undefined (and hard to track down). Assign config..._channel=FF for unused functions, that means "disable".
See also