12.11. HSTX

The high-speed serial transmit (HSTX) streams data from the system clock domain to up to 8 GPIOs at a rate independent of the system clock. On RP2350, GPIOs 12 through 19 are HSTX-capable. HSTX is output-only.

Figure 126. A 32-bit-wide asynchronous FIFO provides high-bandwidth access from the system DMA. The command expander manipulates the datastream, and the output shift register portions the 32-bit data over successive HSTX clock cycles, swizzled by the bit crossbar. Outputs are double-data-rate: two bits per pin per cycle.

Block diagram of the HSTX (High-Speed Serial Transmit) system. The diagram is divided into two domains: clk_sys and clk_hstx. In the clk_sys domain, PIO Outputs (if clk_hstx is clk_sys) and an APB Async Bridge are shown. The APB Async Bridge connects to the APB (HSTX_CTRL) and the Control Registers. The Control Registers are connected to the Async FIFO (8 x 32b) and the Command Expander. The Async FIFO receives data from the AHB (HSTX_FIFO). The Command Expander outputs to the Output Shifter. The Output Shifter is connected to the Bit Crossbar w/ Optional Inversion and the Clock Generator. The Bit Crossbar outputs to the DDR Output Registers (x 8). The Clock Generator outputs to the Output Shifter and the Bit Crossbar. The DDR Output Registers output to the GPIOs. Data paths are labeled with widths: /32, /16, and /8.
Block diagram of the HSTX (High-Speed Serial Transmit) system. The diagram is divided into two domains: clk_sys and clk_hstx. In the clk_sys domain, PIO Outputs (if clk_hstx is clk_sys) and an APB Async Bridge are shown. The APB Async Bridge connects to the APB (HSTX_CTRL) and the Control Registers. The Control Registers are connected to the Async FIFO (8 x 32b) and the Command Expander. The Async FIFO receives data from the AHB (HSTX_FIFO). The Command Expander outputs to the Output Shifter. The Output Shifter is connected to the Bit Crossbar w/ Optional Inversion and the Clock Generator. The Bit Crossbar outputs to the DDR Output Registers (x 8). The Clock Generator outputs to the Output Shifter and the Bit Crossbar. The DDR Output Registers output to the GPIOs. Data paths are labeled with widths: /32, /16, and /8.

HSTX drives data through GPIOs using DDR output registers to transfer up to two bits per clock cycle per pin. The HSTX balances all delays to GPIO outputs within 300 picoseconds, minimising common-mode components when using neighbouring GPIOs as a pseudo-differential driver. This also helps maintain destination setup and hold time when a clock is driven alongside the output data.

The maximum frequency for the HSTX clock is 150 MHz, the same as the system clock. With DDR output operation, this

is a maximum data rate of 300 Mb/s per pin. There are no limits on the frequency ratio of the system and HSTX clocks, however each clock must be individually fast enough to maintain your required throughput. Very low system clock frequencies coupled with very high HSTX frequencies might encounter system DMA bandwidth limitations, since the DMA is capped at one HSTX FIFO write per system clock cycle.

12.11.1. Data FIFO

An 8-entry, 32-bit-wide FIFO buffers data between the system clock domain ( clk_sys) and the HSTX clock domain ( clk_hstx). This is accessed through the AHB FASTPERI arbiter, providing single-cycle write access from the DMA. The FIFO status is also available through this same bus interface, for faster polled processor IO; see Section 12.11.8 .

The FIFO is accessed through a bus interface separate from the control registers ( Section 12.11.7 ), which take multiple cycles to access due to the asynchronous bus crossing. This design avoids incurring bus stalls on the system DMA or the FASTPERI arbiter when accessing the FIFO.

The HSTX side also pops 32 bits at a time from the FIFO. The word data stream from the FIFO is optionally manipulated by the command expander ( Section 12.11.5 ) before being passed to the output shift register.

12.11.2. Output shift register

Figure 127. Every cycle, the output shift register either refills 32 bits from the FIFO or recirculates data through a right-rotate function. The rotate can be used to perform left or right shifts, and to repeat data.

Block diagram of the Output Shift Register. A 'System' input goes to a 'Data FIFO (8 x 32b async)'. The output of the Data FIFO goes to a multiplexer. The multiplexer has two inputs: '1' (from the Data FIFO) and '0' (from a 'Right-rotate SHIFT = 0-31' block). The multiplexer is controlled by 'N_SHIFTS reached?'. The output of the multiplexer goes to the 'Output Shift Register (32 bits)'. The output of the Output Shift Register is labeled '/32' and goes to a 'Bit Crossbar'.
graph LR
    System --> DataFIFO[Data FIFO 8 x 32b async]
    DataFIFO --> Mux{ }
    Mux -- 1 --> OSR[Output Shift Register 32 bits]
    Mux -- 0 --> RR[Right-rotate SHIFT = 0-31]
    OSR --> RR
    RR --> Mux
    Mux -- N_SHIFTS reached? --> OSR
    OSR -- /32 --> BC[Bit Crossbar]
  
Block diagram of the Output Shift Register. A 'System' input goes to a 'Data FIFO (8 x 32b async)'. The output of the Data FIFO goes to a multiplexer. The multiplexer has two inputs: '1' (from the Data FIFO) and '0' (from a 'Right-rotate SHIFT = 0-31' block). The multiplexer is controlled by 'N_SHIFTS reached?'. The output of the multiplexer goes to the 'Output Shift Register (32 bits)'. The output of the Output Shift Register is labeled '/32' and goes to a 'Bit Crossbar'.

The HSTX's internal data paths are 32 bits wide, but the output is narrower: no more than 16 bits can be output per HSTX cycle (8 GPIOs × DDR). The output shift register adapts these mismatched data widths. The output shift register is a 32-bit shift register, which always refills 32 bits at a time, either from the command expander output or directly from the data FIFO.

The source of data for the output shift register is configured by the CSR.EXPAND_EN field:

Whenever CSR.EN is low, the shift register is flushed to empty. Once HSTX has been configured, and EN is set high, the shift register is ready to accept data, and will pop data as soon as it becomes available.

After popping the first data word, the shift register will now shift every HSTX clock cycle until it becomes empty. The shift behaviour is configured by:

CSR.N_SHIFTS and CSR.SHIFT must only be changed when CSR.EN is low. It is safe to change these fields in the same register write that sets EN from low to high.

\( \text{SHIFT} \times \text{N\_SHIFTS} \) is not necessarily less than or equal to 32. For example, a SHIFT of 31 might be used to shift the register left by one bit per cycle, since right-rotate is a modular operation, and -1 is equal to 31 under a modulus of 32.

When the shift register is about to become empty, it will immediately refill with fresh data from the command expander or FIFO if data is available. When data is available, the shift register is never empty for any cycle. If data is not available,

the shift register becomes empty and stops shifting until more data is provided. Once data is provided, the shift register refills and begins shifting once again.

12.11.3. Bit crossbar

The bit crossbar controls which bits of the output shift register appear on which GPIOs during the first and second half of each HSTX clock cycle. There is a configuration register for each pin, BIT0 through BIT7 :

To disable DDR behaviour set SEL_N equal to SEL_P . To implement a differential output, configure two pins identically except for the INV bit, which should be set for one pin and clear for the other.

12.11.3.1. Examples: one pin

Together with the SHIFT and N_SHIFTS controls for the shift register, the pin configuration determines the data layout passed through the HSTX. Since not all of us are accustomed to thinking in four dimensions, it's worth going through some examples with a single pin:

12.11.3.2. Examples: multiple pins

The separation of shift register and bit crossbar allows both zipped and unzipped multi-bit records, once multiple pins are involved. For example, compare these two configurations:

Depending on software needs, it might be preferable to pack together all of the bits output on the same cycle (zipped records), or all of the bits that go through the same pin (unzipped records), so HSTX supports both.

As a final, concrete example, take TMDS (used in DVI): here each 32-bit word contains \( 3 \times 10 \) -bit TMDS symbols, each of which is serialised to a differential pair over the course of 10 TMDS bit times. For performance, it's preferable to make each HSTX clock period equal to two TMDS bit periods, by leveraging the DDR capability. A possible configuration would therefore be:

The missing piece for TMDS is the clock, which has a period of 10 TMDS bit periods, or 5 HSTX clock periods when shifting two bits per cycle per pin. HSTX has a special-purpose clock generator so that pseudo-clock bits do not have to be packed into the FIFO data stream. The clock generator is covered in the next section.

12.11.4. Clock generator

The clock generator is a counter that provides a periodic signal over the course of n HSTX clock cycles, configured by CSR.CLKDIV. The clock period is always an integer number of HSTX clock cycles, in the range 1 to 16 inclusive. The clock generator supports both odd and even periods, using the DDR outputs to support mid-HSTX-cycle output transitions. There is only a single clock generator — to emulate multiple clocks, pack pseudo-clock bits into FIFO data.

The clock generator increments on cycles where the output shift register is shifted. Generally, the clock period will be a divisor of CSR.N_SHIFTS so that clock and data maintain a consistent alignment. In the TMDS example in the previous section, a CLKDIV of 5 would be suitable, so that the clock repeats every time the shift register refreshes. This matches the requirement for a TMDS clock period of 10 bit periods, since two bits are transferred every cycle.

The clock generator output is connected to any pin whose BITx.CLK bit is set (e.g. BIT0.CLK). To produce differential

clock outputs, connect the clock to two pins, and invert one of them.

The CSR.CLKPHASE field defines the initial phase (count) of the clock generator, configured in units of one half HSTX clock cycle. The clock generator resets whenever CSR.EN is low and holds at this initial phase. Once CSR.EN is set and the output shift register begins to shift, the clock generator advances.

Clock generator output whilst CSR.EN is low is determined by the relation of clock period and initial clock phase: if the initial clock phase is less than one half clock period, then the output is initially low. Otherwise, it is initially high. The clock generator can be thought of as being low for the first half of each generation period, and high for the second half.

The maximum CSR.CLKPHASE is only 15 half HSTX clock cycles. The maximum CSR.CLKDIV is 16 full HSTX clock cycles: initial phases of greater than or equal to 180 degrees with the maximum clock period require the inversion of the clock using the bit crossbar inversion controls.

Only change CSR.CLKPHASE and CSR.CLKDIV when CSR.EN is low. It is safe to modify them in the same register write that sets EN from low to high.

12.11.4.1. Example: centre-aligned clock

When transmitting source-synchronous data, the data sink (the receiver) must not see data transitions too late before or too soon after the active edges of the clock. Violating these setup and hold constraints can lead to undefined operation of the external data sink.

Since the HSTX output delays are all mutually balanced, you can meet these constraints by placing clock transitions halfway between data transitions, known as centre-aligned clocking.

Since this positions the clock with a temporal resolution of one half of a bit time, the maximum data rate is one bit per HSTX clock cycle per pin. Because the clock already uses DDR, you cannot use DDR to increase the data rate. Therefore for all BIT0 through BIT7, BITx.SEL_N is equal to BITx.SEL_P.

For single-data-rate data, with an active rising edge, use the following clock generator settings:

The clock is delayed by half an HSTX cycle, to offset it from the launch of the first data.

For single-data-rate data, with an active falling edge, use the following clock generator settings:

Alternatively, you could use the same settings as an active-rising edge clock, with the clock output inverted via the bit crossbar configuration.

For double-data-rate data, with active rising and active falling edges, use the following clock generator settings:

In all three cases, the data rate is the same, at 1 bit per HSTX clock cycle, per pin.

12.11.5. Command expander

Figure 128. A mixture of commands and data are popped from the FIFO. Data can be repeated or shifted through the expansion shift register, and optionally passed through an encoder before passing on to the output shift register.

Block diagram of the command expander architecture. Data from the FIFO is split into three paths: 1) A 16-bit path to the 'Command + Count Register (16 bits)'. 2) A 32-bit path to the 'Expansion Shift Register (32 bits)'. 3) A path to the 'Right-rotate x_SHIFT 0 to 31' block. The 'Expansion Shift Register' output goes to the 'Encoder'. The 'Right-rotate' block also receives input from the 'Expansion Shift Register' and outputs to the 'Encoder'. The 'Encoder' output goes to the 'To output shift register'.
graph LR
    FIFO[From FIFO] --> Split1(( ))
    Split1 --> CCR[Command + Count Register 16 bits]
    Split1 --> Split2(( ))
    Split2 --> ESR[Expansion Shift Register 32 bits]
    Split2 --> Split3(( ))
    Split3 --> RR[Right-rotate x_SHIFT 0 to 31]
    Split3 --> Encoder[Encoder]
    ESR --> Encoder
    RR --> Encoder
    Encoder --> OSR[To output shift register]
  
Block diagram of the command expander architecture. Data from the FIFO is split into three paths: 1) A 16-bit path to the 'Command + Count Register (16 bits)'. 2) A 32-bit path to the 'Expansion Shift Register (32 bits)'. 3) A path to the 'Right-rotate x_SHIFT 0 to 31' block. The 'Expansion Shift Register' output goes to the 'Encoder'. The 'Right-rotate' block also receives input from the 'Expansion Shift Register' and outputs to the 'Encoder'. The 'Encoder' output goes to the 'To output shift register'.

The command expander can be inserted inline between the data FIFO and the output shift register to manipulate the stream of data words. In general, the output stream is larger than the input stream, hence the name expander. The command expander is enabled by setting CSR.EXPAND_EN. Only modify this field when CSR.EN is low. It is safe to modify this field in the same register write that sets EN from low to high. When the command expander is disabled, data passes directly from the data FIFO to the output shift register without being modified by the expander.

When the command expander is enabled, the data FIFO carries a mixture of data and commands for the expander. Each command consists of a 4-bit opcode and a 12-bit length, packed in the 16 LSBs of a data FIFO word, with the opcode in bits 15 through 12, and the length in bits 11 through 0. The available commands are:

When the HSTX is first enabled, if the command expander is enabled, it expects the first word in the data FIFO to be a command. If this command is not a NOP, it will be followed by some amount of data, then another command. Operation continues in this manner, with runs of data interspersed with commands. A command always acts as a prefix to the data that follows it in the FIFO.

The count field determines the number of words output by this command to the output shift register downstream, from 1 to 4095. A count of 0 is reserved to mean "infinite". The number of words that this command reads from the data FIFO in order to produce the specified quantity of downstream data depends on the command and the EXPAND_SHIFT.ENC_N_SHIFTS and EXPAND_SHIFT.RAW_N_SHIFTS register fields.

The expansion shift register always pops from the FIFO once at the beginning of the command. After this point, commands bearing the x_REPEAT suffix continue to circulate the same contents through the shift register, rotating right by EXPAND_SHIFT.ENC_SHIFT or EXPAND_SHIFT.RAW_SHIFT each time the output shift register pulls new data from the command expander. Use a shift of 0 to repeat identical data without shifting. This is useful, for example, for transmitting runs of the same TMDS control symbol during horizontal blanking periods in DVI.

RP2350 only implements a TMDS encoder, reserving the remaining opcode space for additional encoders in the future. RAW and RAW_REPEAT commands bypass the encoder. TMDS and TMDS_REPEAT commands are TMDS-encoded before being passed to the output shift register. NOP commands have no data, therefore whether they bypass the encoder or not is a philosophical question beyond the scope of this datasheet.

The EXPAND_SHIFT register has two copies for each of its fields. Fields prefixed with RAW_ are used for RAW and RAW_REPEAT commands. All other commands use fields prefixed with ENC_, which pass through the encoder. For example, in DVI, TMDS control symbols using RAW_REPEAT commands may be unshifted. Pixel data using TMDS commands may be shifted out one pixel at a time, so it is useful to have banked shift controls.

The EXPAND_SHIFT.ENC_N_SHIFTS and EXPAND_SHIFT.RAW_N_SHIFTS fields control how often the expansion shift register is refilled for encoded and raw commands respectively. x_REPEAT commands ignore these fields since they never refill from the FIFO, and function similarly to the CSR.N_SHIFTS field that controls the output shift register.

The command expander can only pop from the data FIFO once per cycle, so heavy use of commands (particularly NOP

commands) can impact HSTX throughput. For use cases that output from the HSTX on every cycle, configure the output shift register with CSR.N_SHIFTS > 1. This is required because the command expander cannot output data on the cycle where it pops a command from the FIFO, so the expansion shift register is empty for at least one cycle.

12.11.6. PIO-to-HSTX coupled mode

HSTX can connect up to 8 PIO pin outputs to the bit crossbar. Only use the bit crossbar when clk_hstx connects directly to clk_sys( CLK_HSTX_CTRL.AUXSRC must select clk_sys).

NOTE

Running the two clocks at the same frequency is not sufficient. You must select clk_sys directly.

To enable coupled mode, set CSR.COUPLED_MODE. The COUPLED_SEL field in the same register selects the PIO instance, 0 through 2, to couple to HSTX. When coupled mode is enabled, IO outputs 12 through 19 inclusive on the selected PIO instance appear at bit crossbar PSEL_N and PSEL_P indices 31:24, replacing the most significant 8 bits of the output shift register from the point of view of the bit crossbar.

This mode allows PIO programs to make use of the HSTX's DDR outputs. You can use this mode to drive a clock at the full system clock rate or to position clock transitions relative to data transitions with half-system-clock-cycle resolution.

The PIO outputs used for couple mode are always bits 19 through 12 of the pin outputs driven from that GPIO, independent of GPIOBASE. When GPIOBASE is 0, the PIO outputs used for coupled mode are those that would normally appear on the HSTX pins. When GPIOBASE is 16, this uses the PIO outputs that would appear on GPIOs 28 through 35.

The operation of PIO is not affected in any way by coupled mode being enabled.

Outputs presented through the HSTX coupled mode interface have one additional system clock cycle of delay compared to those presented directly from PIO to the pads.

12.11.7. List of control registers

The control registers start at a base address of 0x400c0000(defined as HSTX_CTRL_BASE in the SDK). They are accessed through an asynchronous bus crossing, so each bus access takes several cycles, the exact figure depending on the ratio of clk_sys and clk_hstx.

Table 1253. List of HSTX_CTRL registers

Offset 0x42fc8 0x42fcc 0x42fd0 0x42fd4 0x42fd8Name DEVID DEVTYPE PIDR4 PIDR5 PIDR6Info Device Configuration register Device Type Identifier register CoreSight Periperal ID4 CoreSight Periperal ID5 CoreSight Periperal ID6
shift register withCSR .N_SHIFTS > 1. This is required because the command expander cannot output data on the cycle
HSTX can connect up to 8 PIO pin outputs to the bit crossbar. Only use the bit crossbar whenclk_hstx connects directly
to clk_sys ( CLK_HSTX_CTRL  NOTE.AUXSRC must selectclk_sys).
To enable coupled mode, setCSR.COUPLED_MODE. The COUPLED_SEL field in the same register selects the PIO instance,
instance appear at bit crossbarPSEL_N and PSEL_P register from the point of view of the bit crossbar.indices 31:24, replacing the most significant 8 bits of the output shift
independent ofGPIOBASE . WhenGPIOBASE is 0, the PIO outputs used for coupled mode are those that would normally
appear on theHSTX pins. When GPIOBASEis 16, this uses the PIO outputs that would appear on GPIOs 28 through 35.
The control registers start at a base address of0x400c0000 (defined as HSTX_CTRL_BASE in the SDK). They are
on the ratio of on the ratio of Table 1253. List ofclk_sys and clk_hstx. clk_sys and clk_hstx.
Offset HSTX_CTRL registersNameInfo
0x00 0x00CSR CSR
0x04BIT0Data control register for output bit 0
0x08BIT1Data control register for output bit 1
0x0cBIT2Data control register for output bit 2
0x10BIT3Data control register for output bit 3
0x14BIT4Data control register for output bit 4
0x18BIT5Data control register for output bit 5
0x1cBIT6Data control register for output bit 6
0x20BIT7Data control register for output bit 7
0x24EXPAND_SHIFTConfigure the optional shifter inside the command expander
0x28EXPAND_TMDSConfigure the optional TMDS encoder inside the command expander

HSTX_CTRL: CSR Register

Offset: 0x00

Table 1254. CSR Register

BitsDescriptionTypeReset
31:28

CLKDIV: Clock period of the generated clock, measured in HSTX clock cycles. Can be odd or even. The generated clock advances only on cycles where the shift register shifts.

For example, a clkdiv of 5 would generate a complete output clock period for every 5 HSTX clocks (or every 10 half-clocks).

A CLKDIV value of 0 is mapped to a period of 16 HSTX clock cycles.

RW0x1
27:24

CLKPHASE: Set the initial phase of the generated clock.

A CLKPHASE of 0 means the clock is initially low, and the first rising edge occurs after one half period of the generated clock (i.e. CLKDIV/2 cycles of clk_hstx). Incrementing CLKPHASE by 1 will advance the initial clock phase by one half clk_hstx period. For example, if CLKDIV=2 and CLKPHASE=1:

  • * The clock will be initially low
  • * The first rising edge will be 0.5 clk_hstx cycles after asserting first data
  • * The first falling edge will be 1.5 clk_hstx cycles after asserting first data

This configuration would be suitable for serialising at a bit rate of clk_hstx with a centre-aligned DDR clock.

When the HSTX is halted by clearing CSR_EN, the clock generator will return to its initial phase as configured by the CLKPHASE field.

Note CLKPHASE must be strictly less than double the value of CLKDIV (one full period), else its operation is undefined.

RW0x0
23:21Reserved.--
20:16

N_SHIFTS: Number of times to shift the shift register before refilling it from the FIFO. (A count of how many times it has been shifted, not the total shift distance.)

A register value of 0 means shift 32 times.

RW0x05
15:13Reserved.--
12:8

SHIFT: How many bits to right-rotate the shift register by each cycle.

The use of a rotate rather than a shift allows left shifts to be emulated, by subtracting the left-shift amount from 32. It also allows data to be repeated, when the product of SHIFT and N_SHIFTS is greater than 32.

RW0x06
7Reserved.--
6:5COUPLED_SEL: Select which PIO to use for coupled mode operation.RW0x0
Bits Register 31:21 20 19:16 15:12 11:0column_2Description ARCHITECT : Defines the architect of the component. Bits [31:28] are the PRESENT : Defines that the DEVARCH register is present REVISION : Defines the architecture revision of the component ARCHVER : Defines the architecture version of the component ARCHPART : Defines the architecture of the componentType RO RO RO RO ROReset 0x23b 0x1 0x0 0x1 0xa02
3:2Reserved.--
1EXPAND_EN: Enable the command expander. When 0, raw FIFO data isRW0x0
0ENsimultaneously with setting EN. : When EN is 1, the HSTX will shift out data as it appears in the FIFO. As long as there is data, the HSTX shift register will shift once per clock cycle, and the frequency of popping from the FIFO is determined by the ratio ofRW0x0
Table 1255. BIT0, Bits BIT1, …, BIT6, BIT7DescriptionTypeReset
Registers 31:18Reserved.--
17CLK: Connect this output to the generated clock, rather than the data shift to generate an antiphase clock.RW0x0
16INV: Invert this data output (logical NOT)RW0x0
15:13Reserved.--
12:8SEL_N: Shift register data bit select for the second half of the HSTX clock cycleRW0x00

HSTX_CTRL: BIT0, BIT1, ..., BIT6, BIT7 Registers

Offsets: 0x04, 0x08, ..., 0x1c, 0x20

Description

Data control register for output bit n

Table 1255. BIT0, BIT1, ..., BIT6, BIT7 Registers

Bits 31:0 Bits 31:0 Bits 31:28column_2Description Description Input value for GPIO0…31. Description QSPI_SD : Input value on QSPI SD0 (MOSI), SD1 (MISO), SD2 and SD3 pinsType RO Type RO Type ROReset - Reset 0x00000000 Reset 0x0
7:5Reserved.--
4:0SEL_P: Shift register data bit select for the first half of the HSTX clock cycleRW0x00
Table 1256. Bits EXPAND_SHIFTDescriptionTypeReset
Register 31:29Reserved.--
28:24ENC_N_SHIFTS: Number of times to consume from the shift register before refilling it from the FIFO, when the current command is an encoded data command (e.g. TMDS). A register value of 0 means shift 32 times.RW0x01
23:21Reserved.--
20:16ENC_SHIFT: How many bits to right-rotate the shift register by each time data command (e.g. TMDS).RW0x00
15:13Reserved.--
12:8RAW_N_SHIFTS: Number of times to consume from the shift register before A register value of 0 means shift 32 times.RW0x01
7:5Reserved.--
4:0RAW_SHIFT: How many bits to right-rotate the shift register by each time data is pushed to the output shifter, when the current command is a raw data command.RW0x00
Table 1257. Bits EXPAND_TMDSDescriptionTypeReset
Register 31:24Reserved.--
23:21L2_NBITS: Number of valid data bits for the lane 2 TMDS encoder, startingRW0x0
from bit 7 of the rotated data. Field values of 0 bits.→ 7 encode counts of 1 → 8
20:16L2_ROT: Right-rotate applied to the current shifter data before the lane 2 TMDS encoder.RW0x00
15:13L1_NBITS: Number of valid data bits for the lane 1 TMDS encoder, startingRW0x0
from bit 7 of the rotated data. Field values of 0 bits.→ 7 encode counts of 1 → 8
12:8L1_ROT: Right-rotate applied to the current shifter data before the lane 1 TMDS encoder.RW0x00

HSTX_CTRL: EXPAND_SHIFT Register

Offset: 0x24

Description

Configure the optional shifter inside the command expander

Table 1256.
EXPAND_SHIFT
Register

HSTX_CTRL: EXPAND_TMDS Register

Offset: 0x28

Description

Configure the optional TMDS encoder inside the command expander

Table 1257.
EXPAND_TMDS
Register

BitsDescriptionTypeReset
7:5L0_NBITS : Number of valid data bits for the lane 0 TMDS encoder, starting from bit 7 of the rotated data. Field values of 0 → 7 encode counts of 1 → 8 bits.RW0x0
4:0L0_ROT : Right-rotate applied to the current shifter data before the lane 0 TMDS encoder.RW0x00

12.11.8. List of FIFO registers

The FIFO registers start at a base address of 0x50600000 (defined as HSTX_FIFO_BASE in the SDK).

Table 1258. List of HSTX_FIFO registers

OffsetNameInfo
0x0STATFIFO status
0x4FIFOWrite access to FIFO

HSTX_FIFO: STAT Register

Offset: 0x0

Description

FIFO status

Table 1259. STAT Register

BitsDescriptionTypeReset
31:11Reserved.--
10WOF : FIFO was written when full. Write 1 to clear.WC0x0
9EMPTYRO-
8FULLRO-
7:0LEVELRO0x00

HSTX_FIFO: FIFO Register

Offset: 0x4

Table 1260. FIFO Register

BitsDescriptionTypeReset
31:0Write access to FIFOWF0x00000000