Pb-dout8, Software references, 4 error analysis – Kontron PB-DOUT8 User Manual

Page 34

Advertising
background image

PB-DOUT8

Page 4 - 6

Software References

22 Oct 98

Man. ID 17984, Rev. Index 0110

Legend:

“0”

Read bit as “0”. This data bit is not used, write “0”:

MIE “Master interrrupt enable” bit:

“0” = board is not generating interrupt,
“1” = board is generating interrupt.

SI

Sum of interrupts:
“0” = non of the 8 channels is generating an interrupt,
“1” = one or more of the 8 channels is generating an interrupt.

BUSI VMEbus interrupt:

If both SI and MIE are equal to “1” BUSI is set by the Hardware Logic and an inter-
rupt request is sent to the carrier board on which your PB-DOUT8 is installed.
Thus, BUSI directly represents the status of the PB-DOUT8 IRQ line.

Inside the interrupt service routine, the MIE bit must be written with “0”. The BUSI
bit will be cleared by the Hardware and the PB-DOUT8 interrupt request will be
cleared.

After handling all error flags of all high side switches, the SI flag will be reset to “0”
by the PB-DOUT8 logic.

To enable further interrupt in case of any errors, the application interrupt service
routine needs to write a “1” to the MIE bit.

IV7..3Programmable interrupt vector:

IV7...3 can be programmed, IV2...IV0 cannot be programmed and are preset to
“1”. IV7...IV0 are equal to $0F after reset.

4.4 Error Analysis

The PB-DOUT8 output module supports the following diagnostics modes:

External power supply ON/OFF

Overtemperature

Short circuit to GND

Short circuit to VCC

Open load

Undervoltage detection

Overvoltage detection

Table 4-2: IRQ Control Register ($77)

MSB

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

LSB

Read

IV7

IV6

IV5

IV4

IV3

BUSI

SI

MIE

Write

IV7

IV6

IV5

IV4

IV3

BUSI

SI

MIE

Reset

0

0

0

0

0

0

0

0

Advertising