External DPM Interrupts
netX 90 features 2 external interrupt signals for all DPM channels: Signals DIRQ and SIRQ. Since SIRQ is unused in current Hilscher LFWs, there is actually only 1 interrrupt signal related to the DPM activity
DPM_DIRQ / SPI_DIRQ signal
The DIRQ signal (depending on the used host interface parallel or serial) is triggered and reset automatically by DPM access
netX Firmware writes handshake flags: DIRQ activated
Host read handshake flags: DIRQ deactivated
The polarity of the DIRQ signal (high/low active) can be configured in the DPM hardware configuration.
DPM_SIRQ / SPI_SIRQ signal
currently not used by Hilscher LFWs (loadable firmwares)
Internal DPM Interrupts
The granularity of interrupts for the internal DPM is higher than for the external DPM.
Each handshake register, i.e. each DPM channel, features its own interrupt.
netx90_app.h
IRQ | Name | DPM channel mapping |
---|
.. |
|
|
|
32 | hsc0_IRQn | handshake cell 0 | System Channel |
33 | hsc1_IRQn | handshake cell 1 | Sync-Hanshake Flags |
34 | hsc2_IRQn | handshake cell 2 | Communication Channel 0 |
35 | hsc3_IRQn | handshake cell 3 | Communication Channel 1 |
36 | hsc4_IRQn | handshake cell 4 | Communication Channel 2 |
37 | hsc5_IRQn | handshake cell 5 |
|
38 | hsc6_IRQn | handshake cell 6 |
|
39 | hsc7_IRQn | handshake cell 7 |
|
40 | hsc8to15_IRQn | handshake cell 8..15 |
|
.. |
|
|
|