Board subaru: fix pinout. again and again (#3203)
This commit is contained in:
parent
da5aaeda2b
commit
c893238d71
|
@ -265,6 +265,7 @@ void setBoardDefaultConfiguration(void) {
|
||||||
setAlgorithm(LM_ALPHA_N PASS_CONFIG_PARAMETER_SUFFIX);
|
setAlgorithm(LM_ALPHA_N PASS_CONFIG_PARAMETER_SUFFIX);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Schematic RefDef DA3 */
|
||||||
static const struct mc33810_config mc33810_odd = {
|
static const struct mc33810_config mc33810_odd = {
|
||||||
.spi_bus = &SPID5,
|
.spi_bus = &SPID5,
|
||||||
.spi_config = {
|
.spi_config = {
|
||||||
|
@ -291,7 +292,7 @@ static const struct mc33810_config mc33810_odd = {
|
||||||
[2] = {.port = GPIOI, .pad = 4}, /* INJ 5 */
|
[2] = {.port = GPIOI, .pad = 4}, /* INJ 5 */
|
||||||
[3] = {.port = GPIOB, .pad = 9}, /* INJ 7 */
|
[3] = {.port = GPIOB, .pad = 9}, /* INJ 7 */
|
||||||
/* ignition pre-dirvers */
|
/* ignition pre-dirvers */
|
||||||
[4] = {.port = GPIOB, .pad = 3}, /* IGN 1 */
|
[4] = {.port = GPIOB, .pad = 3}, /* IGN 4 */
|
||||||
[5] = {.port = GPIOB, .pad = 4}, /* IGN 3 */
|
[5] = {.port = GPIOB, .pad = 4}, /* IGN 3 */
|
||||||
[6] = {.port = GPIOB, .pad = 5}, /* IGN 7 */
|
[6] = {.port = GPIOB, .pad = 5}, /* IGN 7 */
|
||||||
[7] = {.port = GPIOB, .pad = 8}, /* IGN 5 */
|
[7] = {.port = GPIOB, .pad = 8}, /* IGN 5 */
|
||||||
|
@ -300,6 +301,7 @@ static const struct mc33810_config mc33810_odd = {
|
||||||
.en = {.port = GPIOI, .pad = 7}
|
.en = {.port = GPIOI, .pad = 7}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Schematic RefDef DA22 */
|
||||||
static const struct mc33810_config mc33810_even = {
|
static const struct mc33810_config mc33810_even = {
|
||||||
.spi_bus = &SPID5,
|
.spi_bus = &SPID5,
|
||||||
.spi_config = {
|
.spi_config = {
|
||||||
|
@ -326,10 +328,10 @@ static const struct mc33810_config mc33810_even = {
|
||||||
[2] = {.port = GPIOE, .pad = 5}, /* INJ 6 */
|
[2] = {.port = GPIOE, .pad = 5}, /* INJ 6 */
|
||||||
[3] = {.port = GPIOE, .pad = 6}, /* INJ 8 */
|
[3] = {.port = GPIOE, .pad = 6}, /* INJ 8 */
|
||||||
/* ignition pre-dirvers */
|
/* ignition pre-dirvers */
|
||||||
[4] = {.port = GPIOC, .pad = 14}, /* IGN 2 */
|
[4] = {.port = GPIOI, .pad = 9}, /* IGN 8 */
|
||||||
[5] = {.port = GPIOC, .pad = 13}, /* IGN 4 */
|
[5] = {.port = GPIOC, .pad = 15}, /* IGN 6 */
|
||||||
[6] = {.port = GPIOC, .pad = 15}, /* IGN 6 */
|
[6] = {.port = GPIOC, .pad = 14}, /* IGN 2 */
|
||||||
[7] = {.port = GPIOI, .pad = 9}, /* IGN 8 */
|
[7] = {.port = GPIOC, .pad = 13}, /* IGN 1 */
|
||||||
},
|
},
|
||||||
/* en shared between two chips */
|
/* en shared between two chips */
|
||||||
.en = {.port = nullptr, .pad = 0}
|
.en = {.port = nullptr, .pad = 0}
|
||||||
|
|
|
@ -54,8 +54,8 @@ pins:
|
||||||
- pin: 8
|
- pin: 8
|
||||||
id: MC33810_1_GD_2
|
id: MC33810_1_GD_2
|
||||||
class: outputs
|
class: outputs
|
||||||
function: Ignition 6
|
function: Ignition 2
|
||||||
ts_name: D08 - Ignition Cyl 6
|
ts_name: D08 - Ignition Cyl 2
|
||||||
type: ign
|
type: ign
|
||||||
|
|
||||||
- pin: 9
|
- pin: 9
|
||||||
|
@ -68,8 +68,8 @@ pins:
|
||||||
- pin: 10
|
- pin: 10
|
||||||
id: MC33810_1_GD_3
|
id: MC33810_1_GD_3
|
||||||
class: outputs
|
class: outputs
|
||||||
function: Ignition 2
|
function: Ignition 1
|
||||||
ts_name: D10 - Ignition Cyl 2
|
ts_name: D10 - Ignition Cyl 1
|
||||||
type: ign
|
type: ign
|
||||||
|
|
||||||
- pin: 11
|
- pin: 11
|
||||||
|
@ -104,8 +104,8 @@ pins:
|
||||||
- pin: 16
|
- pin: 16
|
||||||
id: MC33810_1_GD_1
|
id: MC33810_1_GD_1
|
||||||
class: outputs
|
class: outputs
|
||||||
function: Ignition 1
|
function: Ignition 6
|
||||||
ts_name: D16 - Ignition Cyl 1
|
ts_name: D16 - Ignition Cyl 6
|
||||||
type: ign
|
type: ign
|
||||||
|
|
||||||
- pin: 17
|
- pin: 17
|
||||||
|
|
Loading…
Reference in New Issue