gis_logo.png

Datasheet for the EPD_DIAGS_7 GIS Soft IP Embedded Logic

Register Definitions

Offset in core for bus CSR : 0x00022000

epd_diags_7 Fire Pulse Manager Encoder / PD diagnostics - used to monitor encoder / PD inputs
Register Name Byte Addr Offset Field Bits Type subtype Reset Description
CSR_EPD_DIAGS_7_INIT 0x0 7 Diagnostic reset
INIT 0 w 0x0 initialize the full diagnostic block
RST_COUNTERS 1 w 0x0 reset only edge counters
RST_MEASUR 2 w 0x0 reset only time-based velocity/acceleration measurement registers
RST_DIR 3 w 0x0 reset only the logic for direction detection
RST_ENC_FIFO 4 w 0x0 reset only the encoder fifo
RST_POS 5 w 0x0 reset only the position detection register
RST_PD_FIFO 6 w 0x0 reset only the PD fifo
CSR_EPD_DIAGS_7_RD_ENC_FIFO 0x4 1 wp 0x0 Read Enc FIFO
CSR_EPD_DIAGS_7_RD_PD_FIFO 0x8 1 wp 0x0 Read the PD fifo
CSR_EPD_DIAGS_7_INPUT_STATUS 0xc 17 Instantaneous status of input signals
RS422_P1 0 r 0x00 RS422 encoder phase-1
RS422_P2 1 r 0x00 RS422 encoder phase-2
RS422_ZP 2 r 0x00 RS422 encoder zero-phase
RS422_PD 3 r 0x00 RS422 Product Detect
TTL_P1 4 r 0x00 TTL encoder phase-1
TTL_P2 5 r 0x00 TTL encoder phase-2
TTL_ZP 6 r 0x00 TTL encoder zero-phase
TTL_PD_PNP 7 r 0x00 TTL (PNP) Product Detect
TTL_PD_NPN 8 r 0x00 TTL (NPN) Product Detect
FILT_P1 9 r 0x00 EMS filtered p1
FILT_P2 10 r 0x00 EMS filtered p2
FILT_ZP 11 r 0x00 EMS filtered zp
FILT_PD 12 r 0x00 EMS filtered pd
ENC_PULSE 13 r 0x00 enc_pulse (after jitter removal)
PD_OUT 14 r 0x00 PD output
DROP_WATCH 15 r 0x00 drop watch)
FIRE_REQ 16 r 0x00 fire request
CSR_EPD_DIAGS_7_PHASE1_COUNTER 0x10 32 r 0x0 Encoder Phase-1 (filtered) edge counter
CSR_EPD_DIAGS_7_PHASE2_COUNTER 0x14 32 r 0x0 Encoder Phase-2 (filtered) edge counter
CSR_EPD_DIAGS_7_ZERO_PHASE_COUNTER 0x18 32 r 0x0 Encoder Zero-Phase (filtered) edge counter
CSR_EPD_DIAGS_7_PD_COUNTER 0x1c 32 r 0x0 PD (filtered) edge counter
CSR_EPD_DIAGS_7_ENC_PULSE_COUNTER 0x20 32 r 0x0 encoder pulse counter (after jitter removal)
CSR_EPD_DIAGS_7_PD_OUTPUT_COUNTER 0x24 32 r 0x0 PD output edge counter
CSR_EPD_DIAGS_7_FIRE_REQUEST_COUNTER 0x28 32 r 0x0 Fire-Request counter
CSR_EPD_DIAGS_7_DELTA_TIME_MEAS 0x2c 32 r 0x0 Delta-time measurement
CSR_EPD_DIAGS_7_DELTAMIN_TIME_MEAS 0x30 32 r 0x0 Delta-time-min measurement
CSR_EPD_DIAGS_7_DELTAMAX_TIME_MEAS 0x34 32 r 0x0 Delta-time-max measurement
CSR_EPD_DIAGS_7_DELTA_TIME_PREV_MEAS 0x38 32 r 0x0 Previous delta-time measurement
CSR_EPD_DIAGS_7_DELTA_TIME_MEAS_STEP 0x3c 16 w 0x0 Delta-time measurement step
CSR_EPD_DIAGS_7_ABS_POS 0x40 32 r 0x0 Detected absolution position (DEPRECATED)
CSR_EPD_DIAGS_7_DIR_THRES 0x44 32 Direction detection control
POS_DIR_THRES 15:0 w 0x007F threshold for positive direction detection
NEG_DIR_THRES 31:16 w 0xFF81 threshold for negative direction detection
CSR_EPD_DIAGS_7_DIR_CNT 0x48 32 Direction status
DIR_CNT 15:0 r 0x0 direction count
DIR_CHANGE_CNT 31:16 r 0x0 direction change count
CSR_EPD_DIAGS_7_ENC_SAMPLING_PERIOD 0x4c 28 w 0x0 Encoder sampling period (encoder FIFO)
CSR_EPD_DIAGS_7_ENC_FIFO_MNG_W 0x50 16 encoder FIFO management
IRQ_GEN_THRES 9:0 w 0x0 FIFO IRQ threshold
RESERVED-0 15:10 rsv 0 Reserved bits
CSR_EPD_DIAGS_7_ENC_FIFO_MNG_R 0x54 16 encoder FIFO management
FIFO_LEVEL 9:0 r 0x0 fifo level
RESERVED-1 14:10 rsv 0 Reserved bits
FIFO_OVERFLOW 15 r 0x0 fifo overflow flag
CSR_EPD_DIAGS_7_ENC_FIFO_OUTPUT 0x58 32 r 0x0 Encoder FIFO output
CSR_EPD_DIAGS_7_PD_FIFO_MNG_W 0x5c 16 encoder FIFO management
IRQ_GEN_THRES 7:0 w 0x0 FIFO IRQ threshold
RESERVED-0 14:8 rsv 0 Reserved bits
PD_LOG_SRC 15 w 0x0 PD log source: 0 => PD-FIFO associated to PD pulse at the input of the Pulse-Generator, 1 => PD-FIFO associated to output of the PD Queue on the first channel
CSR_EPD_DIAGS_7_PD_FIFO_MNG_R 0x60 16 encoder FIFO management
FIFO_LEVEL 7:0 r 0x0 fifo level
RESERVED-1 14:8 rsv 0 Reserved bits
FIFO_OVERFLOW 15 r 0x0 fifo overflow flag
CSR_EPD_DIAGS_7_PD_FIFO_OUTPUT 0x64 32 r 0x0 PD FIFO output
CSR_EPD_DIAGS_7_PD_WATCHDOG_CTRL 0x68 2 PD watchdog control
WATCHDOG_EN 0 w 0x0 PD watchdog enable
WATCHDOG_CLR 1 w 0x0 PD watchdog clear
CSR_EPD_DIAGS_7_PD_WATCHDOG_STATUS 0x6c 1 r 0x0 watchdog status
CSR_EPD_DIAGS_7_PD_WATCHDOG_THRES 0x70 32 w 0x0 PD watchdog threshold
CSR_EPD_DIAGS_7_IRQ_MNG 0x74 12 Diagnostic block IRQ management
IRQ_EN 2:0 w 0x0 IRQ enable
RESERVED-0 3 rsv 0 Reserved bits
IRQ_CLR 6:4 w 0x0 IRQ clear
RESERVED-1 7 rsv 0 Reserved bits
IRQ_MASK 10:8 w 0x0 IRQ mask
RESERVED-2 11 rsv 0 Reserved bits
CSR_EPD_DIAGS_7_IRQ_VALUE 0x78 3 r 0x0 IRQ value

Register/field type key:

TypeDescription
cConstant, with value defined by "reset" attribute
rsvSame as constant, except no reset value and always 0. Can be mixed with write types.
wWrite register (and read—no write only type). Register defined in register block and reset to "reset" attribute value. Split into fields (if applicable) for signalling and output, where attribute associated with fields, not register.
wpWrite with pulse. Register is not declared in block, but write bus split into fields as output port signals, and a pulse generated on write to register address. Register reads back 0. The "reset" attribute is for documentation only, as set externally.
w0Same as w, but auto-clears to 0 (and thus always reads as 0). At output port, signal will go high for one cycle when bit is written with a 1 (no effect if written to a 0). No "reset" attribute, as must always be 0.
rRead only value. Input ports generated for each field (where applicable), and concatenated on returned read data bus.
rpSimilar to r, but a pulse generated on a read access to the register address to allow peripheral logic to update value. The "reset" attribute is for documentation only, as set externally.
rwpSimilar to wp, but also generates a (separate) pulse on a read access to the register
bitdefDefines the bits used in the read, set, clear registers
  
SubypeDescription
unsignedRegister/field is specified as an unsigned value.
signedRegister/field is specified as a signed value.
<blank>Register/field sign status is not explicitly defined and defaults to unsigned.

Usage Notes

Diagnostics for the Fire Pulse Manager for use when the SEB-EPD inputs are connected. Details on confluence via this link This is optionally instantiated in FPM_7 based on a generic. (presence will be reported in fpm_ctrl registers.

When the ESW wants to read the encoder fifo, the ESW should: a. write '1' to register rd_enc_fifo to prepare the encoder fifo output; b. read the encoder fifo output from register enc_fifo_output.

When the ESW wants to read the product detect fifo, the ESW should: a. write '1' to register rd_pd_fifo to prepare the product detect fifo output;b. read the product detect fifo output from register pd_fifo_output.

 


Copyright © 2024 Global Inkjet Systems. Generated by gen_htm.py —2024-10-30 09:43