12V Adapter Board

Overview

Hardware adapter board providing voltage-level shifting for digital and analog outputs as well as additional analog inputs for the PROTOS miniHIL:

  • 21 analog input channels accepting 12V signals

  • 16 analog output level shifter channels 3.3V → 12V

  • 24 digital input channels compatible with both 5V → 3.3V and 12V → 3.3V logic signals

  • 20 digital output channels, 12V

  • 4 digital I/O channels, bidirectional - 5V, suitable for I2C

  • 8 digital unidirectional inputs 5V - 3.3V, 8 digital unidirectional ouptuts 3.3V - 5V, suitable for SPI/UART/…​

  • 1 channel LIN bus interface

12V adapter board

Software Support

Only the analog inputs on the adapter board require additional software on the miniHIL side. All other IOs are simply levelshifted and can be connected via wire jumpers between miniHIL and adapter board.

Driver actor for 12V ADC inputs

The adapter board is supported by the following miniHIL model library actor: AGeneric12VAdapterADCInterface (minihil.platform.extensions.Generic12VAdapter).

The actor is controlled through the PGeneric12VAdapterControl protocol. The separate inputs are exposed via PADCIn ports named adcChN (where N is the channel number).

Note The actor must be started before the adc channel ports can be used by sending a start12VAdapterADC() message to the actors ctrl port.
Note You must connect the SPI connections stated in the Analog Inputs section to use the ADC functionality of the adapter board.

Connector Interface

  • Plugs into the PROTOS miniHIL board via dual 2×36 pin connectors (CN11 / CN12).

  • External 12 V-side I/O exposed through dual-row 2×12 connectors.

Connectors:

  • J3 = miniHIL left connector (CN11, 72 pins)

  • J4 = miniHIL right connector (CN22, 72 pins)

  • J2 = 5 V special functions (2×12)

  • J5 = Analog output connector (2×12)

  • J6 = Digital output connector (2×12)

  • J7 = Digital input connector (2×12)

  • J8 = Analog input connector (2×12)

  • J9 = Co-processor connector (3.3V only!)

Important: To supply the adapter with 24V directly form the miniHIL board, SB50 on the miniHIL board must be closed (open by default). In addition the 5V supply jumper next to CN11 must be closed using a jumper or jumper wire. If the board is powered correctly the 3 power LEDs above J3 are on.

Power LEDs

Analog Inputs — 21 channels

  • 21 analog input channels accepting 12 V-range signals.

  • Resistive voltage-divider conditioning scales the 12 V range down to the G4 MCUs ADC input range.

  • Dedicated onboard microcontroller (STM32 G4) digitizes all channels via internal ADC.

  • The co-processor reports measurements to the miniHIL over an SPI link.

Note The following wires are needed for the SPI miniHIL connection:
Signal miniHIL Connector Target 1+2 Connector

MISO

PG12

PD14

MOSI

PG14

PF14

SCK

PG13

PD15

NSS

PG8

PF13


Analog Outputs — 16 channels

  • 16 analog level shifter channels 3.3V → 12V.

  • Op-amp buffers scale 3.3 V DAC signals from the miniHIL up to the 12 V range.

Ch J5 Pin miniHIL target connector

0

1

PC0

1

2

PC1

2

3

PC2

3

4

PC3

4

5

PC4

5

6

PC5

6

7

PC6

7

8

PC7

8

9

PC8

9

10

PC9

10

11

PC10

11

12

PC11

12

13

PC12

13

14

PC13

14

15

PC14

15

16

PC15


Digital Inputs — 24 channels

  • 24 digital input channels compatible with both 5 V and 12 V logic signals (min. 5 V, max. 12 V).

  • Series resistors limit input current; Schmitt-trigger buffers provide switching and noise rejection.

  • Level-shifted outputs at 3.3 V feed the miniHIL directly.

  • Maximum translated input frequency ~200kHz@12V

Ch J7 Pin miniHIL target connector

0

1

PA0

1

2

PA1

2

3

PA2

3

4

PA3

4

5

PA4

5

6

PA5

6

7

PA6

7

8

PA7

8

9

PA8

9

10

PA9

10

11

PA10

11

12

PA11

12

13

PA12

13

14

PA13

14

15

PA14

15

16

PA15

16

17

PB0

17

18

PB1

18

19

PB2

19

20

PB3

20

21

PB4

21

22

PB5

22

23

PB6

23

24

PB7


Digital Outputs — 20 channels

  • 20 digital output channels (channels 0–19).

  • MOSFET driver arrays driven from 3.3 V signals supplied by the miniHIL.

  • Maximum output frequency ~200kHz@12V

Note Output voltage configurable between 12 V and 5 V via solder jumper (12V default).
Note The output drivers are not individually short circuit protected, but the power supply limits the current and switches into pulse mode for auto recovery once the short is removed. A prolonged short circuit situation may damage the corresponding output pin driver.
Ch J6 Pin miniHIL target connector

0

1

PD0

1

2

PD1

2

3

PD2

3

4

PD3

4

5

PD4

5

6

PD5

6

7

PD6

7

8

PD7

8

9

PD8

9

10

PD9

10

11

PD10

11

12

PD11

12

13

PD12

13

14

PD13

14

15

PB14

15

16

PB13

16

17

PB12

17

18

PB11

18

19

PB10

19

20

PB9


Special-Function Level Shifting (J2)

The adapter board contains additional IOs for 3.3V <→ 5V level shifting. These may be used as needed. The unidirectional IOs are optimized for propagation delay and may be used for synchronous and asynchronous digital data busses. Bidirectional IOs are commonly used for I2C.

Digital I/O (4 channels, bidirectional — suitable for I2C)

J2 Pin miniHIL target connector

16

PH0

18

PH1

20

PH2

22

PH3

Unidirectional I/O (8 channels per direction - suitable for SPI/UART/…​):

J2 Pin miniHIL target connector Direction

1

PG0

miniHIL → DUT

2

PG4

DUT → miniHIL

3

PG1

miniHIL → DUT

4

PG5

DUT → miniHIL

5

PG2

miniHIL → DUT

6

PG6

DUT → miniHIL

7

PG3

miniHIL → DUT

8

PG7

DUT → miniHIL

9

PG8

miniHIL → DUT

10

PG12

DUT → miniHIL

11

PG9

miniHIL → DUT

12

PG13

DUT → miniHIL

13

PG10

miniHIL → DUT

14

PG14

DUT → miniHIL

15

PG11

miniHIL → DUT


LIN Bus Interface — 1 channel

Single LIN bus transceiver providing a physical LIN bus line (12V) with RX and TX translation for the miniHIL MCU.

Signal miniHIL target connector J6 pin Direction

MH_LIN_TX

PF0

miniHIL → Bus

MH_LIN_RX

PG15

Bus → miniHIL

LIN_BUS

J6 pin 22

Physical bus


Power Supply

Rail Source

Supply input (13–36 V)

Taken from the miniHIL if SB50 is closed (nominally 24 V)

12 V

Buck converter step-down from supply input

5 V

Buck converter step-down from 12 V

3.3 V

LDO from 5 V

  • Power-on status LED.

Pin quick reference (sorted by miniHIL target connector)

miniHIL target connector Function Adapter Connector Adapter Connector Pin

PA0

DigIn_0

J7

1

PA1

DigIn_1

J7

2

PA2

DigIn_2

J7

3

PA3

DigIn_3

J7

4

PA4

DigIn_4

J7

5

PA5

DigIn_5

J7

6

PA6

DigIn_6

J7

7

PA7

DigIn_7

J7

8

PA8

DigIn_8

J7

9

PA9

DigIn_9

J7

10

PA10

DigIn_10

J7

11

PA11

DigIn_11

J7

12

PA12

DigIn_12

J7

13

PA13

DigIn_13

J7

14

PA14

DigIn_14

J7

15

PA15

DigIn_15

J7

16

PB0

DigIn_16

J7

17

PB1

DigIn_17

J7

18

PB2

DigIn_18

J7

19

PB3

DigIn_19

J7

20

PB4

DigIn_20

J7

21

PB5

DigIn_21

J7

22

PB6

DigIn_22

J7

23

PB7

DigIn_23

J7

24

PB9

DigOut_19

J6

20

PB10

DigOut_18

J6

19

PB11

DigOut_17

J6

18

PB12

DigOut_16

J6

17

PB13

DigOut_15

J6

16

PB14

DigOut_14

J6

15

PC0

AnOut_0

J5

1

PC1

AnOut_1

J5

2

PC2

AnOut_2

J5

3

PC3

AnOut_3

J5

4

PC4

AnOut_4

J5

5

PC5

AnOut_5

J5

6

PC6

AnOut_6

J5

7

PC7

AnOut_7

J5

8

PC8

AnOut_8

J5

9

PC9

AnOut_9

J5

10

PC10

AnOut_10

J5

11

PC11

AnOut_11

J5

12

PC12

AnOut_12

J5

13

PC13

AnOut_13

J5

14

PC14

AnOut_14

J5

15

PC15

AnOut_15

J5

16

PD0

DigOut_0

J6

1

PD1

DigOut_1

J6

2

PD2

DigOut_2

J6

3

PD3

DigOut_3

J6

4

PD4

DigOut_4

J6

5

PD5

DigOut_5

J6

6

PD6

DigOut_6

J6

7

PD7

DigOut_7

J6

8

PD8

DigOut_8

J6

9

PD9

DigOut_9

J6

10

PD10

DigOut_10

J6

11

PD11

DigOut_11

J6

12

PD12

DigOut_12

J6

13

PD13

DigOut_13

J6

14

PD14

SPI3_MISO

J9 (co-proc)

PD15

SPI3_SCK

J9 (co-proc)

PF0

MH_LIN_TX

J6

22 (LIN_BUS)

PF13

SPI3_NSS

J9 (co-proc)

PF14

SPI3_MOSI

J9 (co-proc)

PG0

SPI_MHOut_0

J2

1

PG1

SPI_MHOut_1

J2

3

PG2

SPI_MHOut_2

J2

5

PG3

SPI_MHOut_3

J2

7

PG4

SPI_MHIn_0

J2

2

PG5

SPI_MHIn_1

J2

4

PG6

SPI_MHIn_2

J2

6

PG7

SPI_MHIn_3

J2

8

PG8

UART_MHOut_0

J2

9

PG9

UART_MHOut_1

J2

11

PG10

UART_MHOut_2

J2

13

PG11

UART_MHOut_3

J2

15

PG12

UART_MHIn_0

J2

10

PG13

UART_MHIn_1

J2

12

PG14

UART_MHIn_2

J2

14

PG15

MH_LIN_RX

J6

22 (LIN_BUS)

PH0

DigIO_0

J2

16

PH1

DigIO_1

J2

18

PH2

DigIO_2

J2

20

PH3

DigIO_3

J2

22