ocan_mib: Register Map¶
Generated by tools/regmap.py from hdl/ocan_mib/regs/ocan_regs.yml, do not edit.
The same description generates the VHDL package ocan_regs_pkg and the C header sw/ocan_regs.h.
Byte addresses of 32-bit registers on the AXI4-Lite port (9-bit address); unused addresses and bits read as zero. The ID register reads 0x4F434101.
| Access | Meaning |
|---|---|
| RO | Read only |
| RW | Read and write |
| W1 | Write one: command; reads as zero |
| W1C | Sticky flag; write one to clear |
| RC | Read only; any write to the register clears it |
Registers¶
| Address | Register | Description |
|---|---|---|
| 0x000 | ID | Identification of the core and version of the register map |
| 0x004 | GENERICS | Generics of the node |
| 0x008 | DOMINANT_LIMIT | Dominant monitor |
| 0x00C | CLK_FREQUENCY | Frequency of Clk |
| 0x010 | CONTROL | Control of the controllers and of the application port |
| 0x014 | BIT_TIMING | Bit timing of both controllers (clause 5.4.3); written only while CONTROL.ENABLE = '0' and with values in range, otherwise ERRORS.CFG_REFUSED |
| 0x040 | NODE | Network management and node status |
| 0x044 | REDUNDANCY | Bus redundancy management |
| 0x048 | LINK_A | Controller A: error counters and fault confinement state (clause 5.6.2b, 5.6.2c) |
| 0x04C | LINK_B | Controller B: error counters and fault confinement state (clause 5.6.2b, 5.6.2c) |
| 0x050 | COB_ID_MISMATCH | COB-ID compare of ocan_dispatch (clause 6.10d) |
| 0x054 | TPDO_STATUS | Transmit PDOs |
| 0x080 | EVENTS | Event flags |
| 0x084 | EVENTS_IRQ_EN | Interrupt enables of EVENTS, one per flag in the bit of the flag |
| 0x088 | PDO_EVENTS | PDO flags, bit n - 1 of a field for PDO n |
| 0x08C | PDO_EVENTS_IRQ_EN | Interrupt enables of PDO_EVENTS, one per flag in the bit of the flag |
| 0x090 | ERRORS | Error flags |
| 0x094 | ERRORS_IRQ_EN | Interrupt enables of ERRORS, one per flag in the bit of the flag |
| 0x098 | LINK_ERRORS | Error flags of the controllers, bits 5:0 controller A, bits 13:8 controller B |
| 0x09C | LINK_ERRORS_IRQ_EN | Interrupt enables of LINK_ERRORS, one per flag in the bit of the flag |
| 0x0A0 | IRQ_STATUS | Flag registers with a set and enabled flag; the interrupt output is the OR of the bits |
| 0x0C0 | LINK_A_COUNTS0 | Error events of controller A (saturating at 255; a write clears the register) |
| 0x0C4 | LINK_A_COUNTS1 | Error events of controller A (saturating at 255; a write clears the register) |
| 0x0C8 | LINK_B_COUNTS0 | Error events of controller B (saturating at 255; a write clears the register) |
| 0x0CC | LINK_B_COUNTS1 | Error events of controller B (saturating at 255; a write clears the register) |
| 0x100 | RPDO1_HI | Receive PDO 1, data bytes 0 to 3 (Rpdo_Data(63 downto 32)); a read takes RPDO1_LO for the next read of it; zero above NumRpdo_g |
| 0x104 | RPDO1_LO | Receive PDO 1, data bytes 4 to 7, as taken by the last read of RPDO1_HI |
| 0x108 | RPDO2_HI | Receive PDO 2, data bytes 0 to 3 (Rpdo_Data(127 downto 96)); a read takes RPDO2_LO for the next read of it; zero above NumRpdo_g |
| 0x10C | RPDO2_LO | Receive PDO 2, data bytes 4 to 7, as taken by the last read of RPDO2_HI |
| 0x110 | RPDO3_HI | Receive PDO 3, data bytes 0 to 3 (Rpdo_Data(191 downto 160)); a read takes RPDO3_LO for the next read of it; zero above NumRpdo_g |
| 0x114 | RPDO3_LO | Receive PDO 3, data bytes 4 to 7, as taken by the last read of RPDO3_HI |
| 0x118 | RPDO4_HI | Receive PDO 4, data bytes 0 to 3 (Rpdo_Data(255 downto 224)); a read takes RPDO4_LO for the next read of it; zero above NumRpdo_g |
| 0x11C | RPDO4_LO | Receive PDO 4, data bytes 4 to 7, as taken by the last read of RPDO4_HI |
| 0x120 | TPDO1_HI | Transmit PDO 1, next data bytes 0 to 3; to Tpdo_Data(63 downto 32) at TPDO_CONTROL.UPDATE or REQUEST; zero above NumTpdo_g |
| 0x124 | TPDO1_LO | Transmit PDO 1, next data bytes 4 to 7 |
| 0x128 | TPDO2_HI | Transmit PDO 2, next data bytes 0 to 3; to Tpdo_Data(127 downto 96) at TPDO_CONTROL.UPDATE or REQUEST; zero above NumTpdo_g |
| 0x12C | TPDO2_LO | Transmit PDO 2, next data bytes 4 to 7 |
| 0x130 | TPDO3_HI | Transmit PDO 3, next data bytes 0 to 3; to Tpdo_Data(191 downto 160) at TPDO_CONTROL.UPDATE or REQUEST; zero above NumTpdo_g |
| 0x134 | TPDO3_LO | Transmit PDO 3, next data bytes 4 to 7 |
| 0x138 | TPDO4_HI | Transmit PDO 4, next data bytes 0 to 3; to Tpdo_Data(255 downto 224) at TPDO_CONTROL.UPDATE or REQUEST; zero above NumTpdo_g |
| 0x13C | TPDO4_LO | Transmit PDO 4, next data bytes 4 to 7 |
| 0x140 | TPDO_CONTROL | Transmit PDOs, bit n - 1 of a field for PDO n |
| 0x180 | APP_REQ | Request of the application port in the mailbox (CONTROL.APP_ENABLE = '1') |
| 0x184 | APP_REQ_HI | Data of a write request, bits 63:32 of App_ReqData |
| 0x188 | APP_REQ_LO | Data of a write request, bits 31:0 of App_ReqData |
| 0x18C | APP_RSP_HI | Data of the response, bits 63:32 of App_RspData |
| 0x190 | APP_RSP_LO | Data of the response, bits 31:0 of App_RspData |
| 0x194 | APP_RSP_LEN | Number of data bytes of the response |
| 0x198 | APP_RSP_ABORT | Abort code of the response |
| 0x19C | APP_RSP_CONTROL | Completion of the request in the mailbox |
| 0x1A0 | TIME_COARSE | Local SCET, seconds (Time_Coarse); a read takes TIME_FINE for the next read of it |
| 0x1A4 | TIME_FINE | Local SCET, sub-seconds as taken by the last read of TIME_COARSE |
| 0x1A8 | TIME_CONTROL | Local Time PDO |
| 0x1C0 | ERRINJ_SELECT | Target and window of the error injection (ErrInjRegs_g = true; zero otherwise) |
| 0x1C4 | ERRINJ_MASK0 | Bits to invert in window w0 (ErrInjRegs_g = true; zero otherwise) |
| 0x1C8 | ERRINJ_MASK1 | Bits to invert in window w1, in the same clock cycle (ErrInjRegs_g = true; zero otherwise) |
| 0x1CC | ERRINJ_CONTROL | Error injection commands (ErrInjRegs_g = true; zero otherwise) |
Fields¶
ID¶
Address 0x000: Identification of the core and version of the register map.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | ID | RO | 0x4F434101 | Bits 31:8 the prefix of the core in ASCII (0x4F4341, OCA), as in the other Open Space HDL cores; bits 7:0 the version of the register map (1) |
GENERICS¶
Address 0x004: Generics of the node.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 26:24 | SYNC_STAGES | RO | SyncStages_g | Synchroniser stages of the bus inputs and of the reset release, 2 to 4 |
| 20:16 | FINE_BITS | RO | FineBits_g | Bits of sub-seconds of the local time, 0 to 24 |
| 14:12 | NUM_TPDO | RO | NumTpdo_g | Transmit PDOs, 0 to 4 |
| 10:8 | NUM_RPDO | RO | NumRpdo_g | Receive PDOs, 0 to 4 |
| 4 | ERRINJ_REGS | RO | ErrInjRegs_g | Error injection registers (ERRINJ_SELECT to ERRINJ_CONTROL) |
| 3 | AUTO_RECOVER | RO | AutoRecover_g | '1' bus-off recovery after 128 occurrences of 11 recessive bits, '0' on CONTROL.RECOVER |
| 2 | TIME_PDOS | RO | TimePdos_g | Spacecraft Time PDO and Local Time PDO (clause 7) |
| 1 | MINIMAL_SET | RO | MinimalSet_g | '1' minimal protocol set of clause 9, '0' slave of clause 6 |
| 0 | BUS_ACCESS | RO | BusAccess_g | Bus access architecture (clause 8.2): '0' selective, '1' parallel |
DOMINANT_LIMIT¶
Address 0x008: Dominant monitor.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 9:0 | LIMIT | RO | DominantLimit_g | Bit times of a dominant transmit output after which a controller stops, 13 to 1023 |
CLK_FREQUENCY¶
Address 0x00C: Frequency of Clk.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | HZ | RO | ClkFrequency_g | Frequency of Clk in Hz (the millisecond tick and the local time) |
CONTROL¶
Address 0x010: Control of the controllers and of the application port.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 10 | REENABLE_B | W1 | 0 | Re-enable controller B after a dominant timeout (Ctrl_Reenable(1)) |
| 9 | REENABLE_A | W1 | 0 | Re-enable controller A after a dominant timeout (Ctrl_Reenable(0)) |
| 8 | RECOVER | W1 | 0 | Start the bus-off recovery (Ctrl_Recover; with AutoRecover_g = false) |
| 1 | APP_ENABLE | RW | 0 | '1' requests of the application port go to the mailbox (APP_REQ); '0' every request ends with 0602 0000h |
| 0 | ENABLE | RW | AutoEnable_g | The controllers take part in the buses while '1' and the NODE-ID is valid (Ctrl_Enable) |
BIT_TIMING¶
Address 0x014: Bit timing of both controllers (clause 5.4.3); written only while CONTROL.ENABLE = '0' and with values in range, otherwise ERRORS.CFG_REFUSED.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 30:28 | SJW | RW | Sjw_g | Resynchronisation jump width in time quanta, 1 to min(4, TSEG2) |
| 27:24 | TSEG2 | RW | Tseg2_g | PHASE_SEG2 in time quanta, 2 to 15 |
| 20:16 | TSEG1 | RW | Tseg1_g | PROP_SEG + PHASE_SEG1 in time quanta, 2 to 31 |
| 9:0 | PRESCALER | RW | Prescaler_g | Clock cycles per time quantum, 1 to 1023 (0 counts as 1) |
NODE¶
Address 0x040: Network management and node status.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 26 | TIME_SET | RO | The local time has been set (Stat_TimeSet) | |
| 25 | SDO_OPEN | RO | A segmented SDO transfer is open (Stat_SdoOpen) | |
| 24 | PDO_ENABLED | RO | PDOs are enabled: NMT state Operational (Stat_PdoEnabled) | |
| 23:16 | ERR_REG | RO | Error register 1001h (Stat_ErrReg) | |
| 15 | NODE_ID_VALID | RO | The NODE-ID of the pins is valid (Node_IdValid) | |
| 14:8 | NODE_ID | RO | NODE-ID (Node_Id) | |
| 1:0 | NMT_STATE | RO | NMT state: 0 Initialisation, 1 Pre-operational, 2 Operational, 3 Stopped |
REDUNDANCY¶
Address 0x044: Bus redundancy management.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 23:16 | MASTER_HB_STATE | RO | State in the last master heartbeat (Stat_MasterHbState) | |
| 15:8 | CTOGGLE | RO | Ctoggle (Stat_Ctoggle) | |
| 5:4 | MASTER_HB_PRESENT | RO | Master heartbeat present, bit 4 bus A, bit 5 bus B (Stat_MasterHbPresent) | |
| 2 | SWITCHING | RO | A bus switch is in progress (Stat_LinkSwitching) | |
| 1 | SELECTING | RO | Bus selection process at start-up (Stat_Selecting) | |
| 0 | ACTIVE_BUS | RO | Active bus: '0' bus A, '1' bus B (Stat_ActiveBus) |
LINK_A¶
Address 0x048: Controller A: error counters and fault confinement state (clause 5.6.2b, 5.6.2c).
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 29 | DOM_TIMEOUT | RO | Stopped by a dominant timeout until CONTROL.REENABLE_A (Stat_LinkDomTimeout(0)) | |
| 28 | BUS_IDLE | RO | Bus idle (Stat_LinkBusIdle(0)) | |
| 25:24 | STATE | RO | Fault confinement state: 0 error active, 1 error passive, 3 bus off | |
| 23:16 | REC | RO | Receive error counter | |
| 8:0 | TEC | RO | Transmit error counter |
LINK_B¶
Address 0x04C: Controller B: error counters and fault confinement state (clause 5.6.2b, 5.6.2c).
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 29 | DOM_TIMEOUT | RO | Stopped by a dominant timeout until CONTROL.REENABLE_B (Stat_LinkDomTimeout(1)) | |
| 28 | BUS_IDLE | RO | Bus idle (Stat_LinkBusIdle(1)) | |
| 25:24 | STATE | RO | Fault confinement state: 0 error active, 1 error passive, 3 bus off | |
| 23:16 | REC | RO | Receive error counter | |
| 8:0 | TEC | RO | Transmit error counter |
COB_ID_MISMATCH¶
Address 0x050: COB-ID compare of ocan_dispatch (clause 6.10d).
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 11:0 | MISMATCH | RO | One bit per COB-ID entry whose copies disagree (Stat_CobIdMismatch) |
TPDO_STATUS¶
Address 0x054: Transmit PDOs.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 3:0 | BUSY | RO | Request of transmit PDO n pending, bit n - 1 (Stat_TpdoBusy) |
EVENTS¶
Address 0x080: Event flags.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 9 | APP_REQUEST | W1C | 0 | A request of the application port is in the mailbox (APP_REQ) |
| 8 | LINK_ARB_LOST | W1C | 0 | Arbitration lost (Evt_LinkArbLost) |
| 7 | SDO_ABORT_RX | W1C | 0 | SDO abort received (Evt_SdoAbortRx) |
| 6 | SDO_ABORT_TX | W1C | 0 | SDO abort sent (Evt_SdoAbortTx) |
| 5 | TIME_SYNC | W1C | 0 | Local time sampled at the SYNC (Evt_TimeSync) |
| 4 | TIME_SET | W1C | 0 | Local time set (Evt_TimeSet) |
| 3 | BDEFAULT_UPDATE | W1C | 0 | Bdefault updated (Evt_BdefaultUpdate) |
| 2 | RESET_COMM | W1C | 0 | Reset communication (Evt_ResetComm) |
| 1 | RESET_APP | W1C | 0 | Reset the application of the device (Evt_ResetApp) |
| 0 | SYNC | W1C | 0 | SYNC received (Sync_Valid) |
EVENTS_IRQ_EN¶
Address 0x084: Interrupt enables of EVENTS, one per flag in the bit of the flag.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 9:0 | ENABLE | RW | 0 | '1' the flag raises the interrupt |
PDO_EVENTS¶
Address 0x088: PDO flags, bit n - 1 of a field for PDO n.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 23:20 | TPDO_TIMEOUT | W1C | 0 | Transmit PDO without completion within 256 ticks (Err_TpdoTimeout) |
| 19:16 | TPDO_BUSY | W1C | 0 | Request while the PDO was busy (Err_TpdoBusy) |
| 15:12 | RPDO_LENGTH | W1C | 0 | Receive PDO with fewer than 8 bytes (Err_RpdoLength) |
| 11:8 | TPDO_ABORTED | W1C | 0 | Transmit PDO aborted (Evt_TpdoAborted) |
| 7:4 | TPDO_SENT | W1C | 0 | Transmit PDO sent (Evt_TpdoSent) |
| 3:0 | RPDO_RECEIVED | W1C | 0 | New data of the receive PDO (Rpdo_Valid) |
PDO_EVENTS_IRQ_EN¶
Address 0x08C: Interrupt enables of PDO_EVENTS, one per flag in the bit of the flag.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 23:0 | ENABLE | RW | 0 | '1' the flag raises the interrupt |
ERRORS¶
Address 0x090: Error flags.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 16 | CFG_REFUSED | W1C | 0 | Write to BIT_TIMING while CONTROL.ENABLE = '1' or with a value out of range |
| 15 | TIME_TX_TIMEOUT | W1C | 0 | Local Time PDO without completion (Err_TimeTxTimeout) |
| 14 | TIME_RX_DROP | W1C | 0 | Spacecraft Time PDO dropped (Err_TimeRxDrop) |
| 13 | TIME_TX_BUSY | W1C | 0 | Local Time PDO request while one is pending (Err_TimeTxBusy) |
| 12 | SDO_ACC_TIMEOUT | W1C | 0 | SDO access of the object dictionary without an answer (Err_SdoAccTimeout) |
| 11 | SDO_TX_TIMEOUT | W1C | 0 | SDO reply without completion (Err_SdoTxTimeout) |
| 10 | SDO_RX_DROP | W1C | 0 | SDO request dropped (Err_SdoRxDrop) |
| 9 | COB_ID | W1C | 0 | COB-ID error of ocan_dispatch (Err_CobId) |
| 8 | PROTOCOL | W1C | 0 | Protocol error of a received frame (Err_Protocol) |
| 7 | APP_TIMEOUT | W1C | 0 | Request of the application port without a response within 256 ticks (Err_AppTimeout) |
| 6 | PARAM_COPY | W1C | 0 | Copies of a parameter disagreed and were repaired (Err_ParamCopy) |
| 5 | MASTER_HB_DLC | W1C | 0 | Master heartbeat with a wrong DLC (Err_MasterHbDlc) |
| 4 | TOGGLE_END | W1C | 0 | Bus toggling ended after Ntoggle (Err_ToggleEnd) |
| 3 | MASTER_HB_MISSING | W1C | 0 | Master heartbeat missing (Err_MasterHbMissing) |
| 2 | NMT_TX_TIMEOUT | W1C | 0 | Heartbeat or boot-up without completion (Err_NmtTxTimeout) |
| 1 | NODE_ID | W1C | 0 | Invalid NODE-ID code at the pins (Err_NodeId) |
| 0 | NMT_CS | W1C | 0 | NMT command with an unknown command specifier (Err_NmtCs) |
ERRORS_IRQ_EN¶
Address 0x094: Interrupt enables of ERRORS, one per flag in the bit of the flag.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 16:0 | ENABLE | RW | 0 | '1' the flag raises the interrupt |
LINK_ERRORS¶
Address 0x098: Error flags of the controllers, bits 5:0 controller A, bits 13:8 controller B.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 13:8 | B | W1C | 0 | Controller B, as A |
| 5:0 | A | W1C | 0 | Controller A: bit 0 bit error, 1 stuff error, 2 CRC error, 3 form error, 4 acknowledgement error, 5 dominant timeout (Err_Link*(0)) |
LINK_ERRORS_IRQ_EN¶
Address 0x09C: Interrupt enables of LINK_ERRORS, one per flag in the bit of the flag.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 13:0 | ENABLE | RW | 0 | '1' the flag raises the interrupt (bits 7:6 have no flag) |
IRQ_STATUS¶
Address 0x0A0: Flag registers with a set and enabled flag; the interrupt output is the OR of the bits.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 3 | LINK_ERRORS | RO | LINK_ERRORS and LINK_ERRORS_IRQ_EN have a common bit | |
| 2 | ERRORS | RO | ERRORS and ERRORS_IRQ_EN have a common bit | |
| 1 | PDO_EVENTS | RO | PDO_EVENTS and PDO_EVENTS_IRQ_EN have a common bit | |
| 0 | EVENTS | RO | EVENTS and EVENTS_IRQ_EN have a common bit |
LINK_A_COUNTS0¶
Address 0x0C0: Error events of controller A (saturating at 255; a write clears the register).
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:24 | FORM | RC | 0 | Form errors |
| 23:16 | CRC | RC | 0 | CRC errors |
| 15:8 | STUFF | RC | 0 | Stuff errors |
| 7:0 | BIT | RC | 0 | Bit errors |
LINK_A_COUNTS1¶
Address 0x0C4: Error events of controller A (saturating at 255; a write clears the register).
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 15:8 | DOM_TIMEOUT | RC | 0 | Dominant timeouts |
| 7:0 | ACK | RC | 0 | Acknowledgement errors |
LINK_B_COUNTS0¶
Address 0x0C8: Error events of controller B (saturating at 255; a write clears the register).
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:24 | FORM | RC | 0 | Form errors |
| 23:16 | CRC | RC | 0 | CRC errors |
| 15:8 | STUFF | RC | 0 | Stuff errors |
| 7:0 | BIT | RC | 0 | Bit errors |
LINK_B_COUNTS1¶
Address 0x0CC: Error events of controller B (saturating at 255; a write clears the register).
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 15:8 | DOM_TIMEOUT | RC | 0 | Dominant timeouts |
| 7:0 | ACK | RC | 0 | Acknowledgement errors |
RPDO1_HI¶
Address 0x100: Receive PDO 1, data bytes 0 to 3 (Rpdo_Data(63 downto 32)); a read takes RPDO1_LO for the next read of it; zero above NumRpdo_g.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RO | 0 | Byte 0 in bits 31:24, byte 3 in bits 7:0 |
RPDO1_LO¶
Address 0x104: Receive PDO 1, data bytes 4 to 7, as taken by the last read of RPDO1_HI.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RO | 0 | Byte 4 in bits 31:24, byte 7 in bits 7:0 |
RPDO2_HI¶
Address 0x108: Receive PDO 2, data bytes 0 to 3 (Rpdo_Data(127 downto 96)); a read takes RPDO2_LO for the next read of it; zero above NumRpdo_g.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RO | 0 | Byte 0 in bits 31:24, byte 3 in bits 7:0 |
RPDO2_LO¶
Address 0x10C: Receive PDO 2, data bytes 4 to 7, as taken by the last read of RPDO2_HI.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RO | 0 | Byte 4 in bits 31:24, byte 7 in bits 7:0 |
RPDO3_HI¶
Address 0x110: Receive PDO 3, data bytes 0 to 3 (Rpdo_Data(191 downto 160)); a read takes RPDO3_LO for the next read of it; zero above NumRpdo_g.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RO | 0 | Byte 0 in bits 31:24, byte 3 in bits 7:0 |
RPDO3_LO¶
Address 0x114: Receive PDO 3, data bytes 4 to 7, as taken by the last read of RPDO3_HI.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RO | 0 | Byte 4 in bits 31:24, byte 7 in bits 7:0 |
RPDO4_HI¶
Address 0x118: Receive PDO 4, data bytes 0 to 3 (Rpdo_Data(255 downto 224)); a read takes RPDO4_LO for the next read of it; zero above NumRpdo_g.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RO | 0 | Byte 0 in bits 31:24, byte 3 in bits 7:0 |
RPDO4_LO¶
Address 0x11C: Receive PDO 4, data bytes 4 to 7, as taken by the last read of RPDO4_HI.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RO | 0 | Byte 4 in bits 31:24, byte 7 in bits 7:0 |
TPDO1_HI¶
Address 0x120: Transmit PDO 1, next data bytes 0 to 3; to Tpdo_Data(63 downto 32) at TPDO_CONTROL.UPDATE or REQUEST; zero above NumTpdo_g.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RW | 0 | Byte 0 in bits 31:24, byte 3 in bits 7:0 |
TPDO1_LO¶
Address 0x124: Transmit PDO 1, next data bytes 4 to 7.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RW | 0 | Byte 4 in bits 31:24, byte 7 in bits 7:0 |
TPDO2_HI¶
Address 0x128: Transmit PDO 2, next data bytes 0 to 3; to Tpdo_Data(127 downto 96) at TPDO_CONTROL.UPDATE or REQUEST; zero above NumTpdo_g.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RW | 0 | Byte 0 in bits 31:24, byte 3 in bits 7:0 |
TPDO2_LO¶
Address 0x12C: Transmit PDO 2, next data bytes 4 to 7.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RW | 0 | Byte 4 in bits 31:24, byte 7 in bits 7:0 |
TPDO3_HI¶
Address 0x130: Transmit PDO 3, next data bytes 0 to 3; to Tpdo_Data(191 downto 160) at TPDO_CONTROL.UPDATE or REQUEST; zero above NumTpdo_g.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RW | 0 | Byte 0 in bits 31:24, byte 3 in bits 7:0 |
TPDO3_LO¶
Address 0x134: Transmit PDO 3, next data bytes 4 to 7.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RW | 0 | Byte 4 in bits 31:24, byte 7 in bits 7:0 |
TPDO4_HI¶
Address 0x138: Transmit PDO 4, next data bytes 0 to 3; to Tpdo_Data(255 downto 224) at TPDO_CONTROL.UPDATE or REQUEST; zero above NumTpdo_g.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RW | 0 | Byte 0 in bits 31:24, byte 3 in bits 7:0 |
TPDO4_LO¶
Address 0x13C: Transmit PDO 4, next data bytes 4 to 7.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RW | 0 | Byte 4 in bits 31:24, byte 7 in bits 7:0 |
TPDO_CONTROL¶
Address 0x140: Transmit PDOs, bit n - 1 of a field for PDO n.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 11:8 | REQUEST | W1 | 0 | Copy TPDOn_HI and TPDOn_LO to the data of the PDO and request it (Tpdo_Req) in the same clock cycle |
| 3:0 | UPDATE | W1 | 0 | Copy TPDOn_HI and TPDOn_LO to the data of the PDO, for the PDOs of the synchronous types |
APP_REQ¶
Address 0x180: Request of the application port in the mailbox (CONTROL.APP_ENABLE = '1').
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31 | PENDING | RO | 0 | A request waits for its response (APP_RSP_CONTROL.SEND) |
| 28 | WRITE | RO | 0 | '1' write, '0' read |
| 27:24 | LEN | RO | 0 | Number of data bytes of a write, 0 to 8 |
| 23:16 | SUB | RO | 0 | Sub-index |
| 15:0 | INDEX | RO | 0 | Index, 2003h to 9FFFh |
APP_REQ_HI¶
Address 0x184: Data of a write request, bits 63:32 of App_ReqData.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RO | 0 | Bits 63:32 of App_ReqData |
APP_REQ_LO¶
Address 0x188: Data of a write request, bits 31:0 of App_ReqData.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RO | 0 | Bits 31:0 of App_ReqData |
APP_RSP_HI¶
Address 0x18C: Data of the response, bits 63:32 of App_RspData.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RW | 0 | Bits 63:32 of App_RspData |
APP_RSP_LO¶
Address 0x190: Data of the response, bits 31:0 of App_RspData.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | DATA | RW | 0 | Bits 31:0 of App_RspData |
APP_RSP_LEN¶
Address 0x194: Number of data bytes of the response.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 3:0 | LEN | RW | 0 | Number of data bytes of a read response, 0 to 8 (App_RspLen) |
APP_RSP_ABORT¶
Address 0x198: Abort code of the response.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | CODE | RW | 0 | 0 for success, otherwise the SDO abort code (App_RspAbort) |
APP_RSP_CONTROL¶
Address 0x19C: Completion of the request in the mailbox.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 0 | SEND | W1 | 0 | Send the response of APP_RSP_HI to APP_RSP_ABORT (App_RspValid); no effect without a pending request |
TIME_COARSE¶
Address 0x1A0: Local SCET, seconds (Time_Coarse); a read takes TIME_FINE for the next read of it.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | SECONDS | RO | Seconds |
TIME_FINE¶
Address 0x1A4: Local SCET, sub-seconds as taken by the last read of TIME_COARSE.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 23:0 | FRACTION | RO | 0 | Sub-seconds in units of 2^-24 s; the bits below 24 - FineBits_g are zero (Time_Fine) |
TIME_CONTROL¶
Address 0x1A8: Local Time PDO.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 0 | REQUEST | W1 | 0 | Request of the Local Time PDO, transmission types 0, 254 and 255 (Time_Req) |
ERRINJ_SELECT¶
Address 0x1C0: Target and window of the error injection (ErrInjRegs_g = true; zero otherwise).
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 20:16 | WINDOW1 | RW | 0 | Window w1 of ERRINJ_MASK1: bits 32 w1 to 32 w1 + 31 of the target |
| 8 | TARGET | RW | 0 | '0' the protected parameters of ocan_od (558 bits, windows 0 to 17), '1' the protected state of ocan_nmt (14 bits, window 0) |
| 4:0 | WINDOW0 | RW | 0 | Window w0 of ERRINJ_MASK0: bits 32 w0 to 32 w0 + 31 of ErrInj_OdBitFlip or ErrInj_NmtBitFlip |
ERRINJ_MASK0¶
Address 0x1C4: Bits to invert in window w0 (ErrInjRegs_g = true; zero otherwise).
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | MASK | RW | 0 | Bit i inverts bit 32 w0 + i of the target; bits beyond the width of the target are ignored |
ERRINJ_MASK1¶
Address 0x1C8: Bits to invert in window w1, in the same clock cycle (ErrInjRegs_g = true; zero otherwise).
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 31:0 | MASK | RW | 0 | Bit i inverts bit 32 w1 + i of the target; with w1 = w0 the OR with ERRINJ_MASK0 |
ERRINJ_CONTROL¶
Address 0x1CC: Error injection commands (ErrInjRegs_g = true; zero otherwise).
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| 9:8 | LINK_TX_DOMINANT | RW | 0 | Force the transmit bit of controller A (bit 8) or B (bit 9) dominant (ErrInj_LinkTxDominant) |
| 5 | LINK_STOP_FLIP_B | W1 | 0 | Invert the complement of the stop state of controller B for one clock cycle (ErrInj_LinkStopFlip(1)) |
| 4 | LINK_STOP_FLIP_A | W1 | 0 | Invert the complement of the stop state of controller A for one clock cycle (ErrInj_LinkStopFlip(0)) |
| 0 | INJECT | W1 | 0 | Invert the bits of ERRINJ_MASK0 and ERRINJ_MASK1 in their windows in one clock cycle (ErrInj_OdValid or ErrInj_NmtValid) |