22. Programmable logic array (PLAY)

This section is applied only to STM32H543/553xx devices.

22.1 PLAY introduction

The programmable logic array allows the user to create custom logic and state machines without the need for external programmable logic devices, such as FPGAs. The PLAY provides a number of programmable logic elements, in the form of look-up tables (LUTs), each of which have four inputs and one output. The output can be programmed to be any logical function of the four inputs. More complex functions can be created by cascading logic elements.

Inputs to and outputs from the logic array can be selected from a choice of external I/Os, internal signals or software programmable register bits. External inputs can be synchronized to the internal clock and filtered to remove short pulses, or connected directly to the logic array if purely combinatorial or asynchronous functions are required.

Each logic element output can be registered using the internal clock, or another signal. Registered outputs can be fed back to the logic array inputs to create finite state machines. Transitions on the outputs can set flags, which can generate interrupts to the processor. The state of the flags can be read and reset by software. The raw states of the logic element outputs can also be read by software or by an external debugger. This provides visibility of the logic array state to simplify debugging of the programmed logic functions.

The array is configured via memory-mapped registers. Configuration is simple and intuitive. Configuration registers are protected against accidental programming by a lock bit. The configuration is maintained in case of a warm system reset.

22.2 PLAY main features

22.3 PLAY functional description

These are shown in Figure 115.

22.3.1 PLAY block diagram

Figure 115. PLAY block diagram

Figure 115. PLAY block diagram. The diagram shows the internal structure of the PLAY block. External inputs include play_clk, PLAY_IN[15:0], play_in0[7:1] to play_in15[7:1], APB, play_rstn, and play_app_rstn. The internal logic array consists of an Input interconnect, a Sync & Filter unit, a Reg unit, a Config unit, a stack of Logic elements (each containing a LUT), and an Output interconnect. The Flags unit is also part of the logic array. The output signals are play_out[15:0] and PLAY_OUT[15:0], and the interrupt signal is play_irq. The diagram is labeled MSv74232V2.
Figure 115. PLAY block diagram. The diagram shows the internal structure of the PLAY block. External inputs include play_clk, PLAY_IN[15:0], play_in0[7:1] to play_in15[7:1], APB, play_rstn, and play_app_rstn. The internal logic array consists of an Input interconnect, a Sync & Filter unit, a Reg unit, a Config unit, a stack of Logic elements (each containing a LUT), and an Output interconnect. The Flags unit is also part of the logic array. The output signals are play_out[15:0] and PLAY_OUT[15:0], and the interrupt signal is play_irq. The diagram is labeled MSv74232V2.

22.3.2 PLAY pins and internal signals

Table 181. PLAY pins

Pin namePin typeDescription
PLAY_IN[15:0]Digital inputsExternal inputs to the PLAY
PLAY_OUT[15:0]Digital outputsExternal outputs from the PLAY

Table 182. PLAY internal signals

Signal nameSignal typeDescription
play_in[15:0]_[7:1]Digital inputsPLAY internal inputs
play_out[15:0]Digital outputsPLAY internal outputs
play_clkClock inputPLAY clock from RCC

Table 182. PLAY internal signals (continued)

Signal nameSignal typeDescription
pclkClock inputAPB bus clock
play_irqInterrupt requestGlobal interrupt
play_rstnReset inputGlobal reset (includes config)
play_app_rstnReset inputApplication reset (excludes config)
play_priv0, play_priv1Digital outputsPrivilege attribute indicators

Table 183 lists the signals connected to the PLAY inputs. Up to 16 inputs can be selected for connection to the logic array, one from each row. See Section 22.3.4: Input selection for details.

Table 183. PLAY logic array inputn signal selection
input nPLAY_FILTnCFG.PREMUXSEL[2:0]
01234567
0play_in0_0play_in0_1play_in0_2play_in0_3play_in0_4play_in0_5play_in0_6play_in0_7
PLAY_IN0tim2_trgotim3_trgoSPI1_MOSIEVENTOUTadc1_awd2lptim2_ch2lptim1_ch2
1play_in1_0play_in1_1play_in1_2play_in1_3play_in1_4play_in1_5play_in1_6play_in1_7
PLAY_IN1tim2_oc3tim3_oc3SPI1_SCLKSPI2_NSSUSART1_TXcomp2_outcomp1_out
2play_in2_0play_in2_1play_in2_2play_in2_3play_in2_4play_in2_5play_in2_6play_in2_7
PLAY_IN2tim2_oc4tim3_oc4tim2_trgoSPI2_MOSIUSART1_CKrcc_mco2rcc_mco1
3play_in3_0play_in3_1play_in3_2play_in3_3play_in3_4play_in3_5play_in3_6play_in3_7
PLAY_IN3lptim1_ch1lptim2_ch1tim2_oc3SPI2_SCLKNMIadc2_awd1adc1_awd1
4play_in4_0play_in4_1play_in4_2play_in4_3play_in4_4play_in4_5play_in4_6play_in4_7
PLAY_IN4lptim1_ch2lptim2_ch2tim2_oc4tim3_trgoLOCKUPadc2_awd2adc1_awd2
5play_in5_0play_in5_1play_in5_2play_in5_3play_in5_4play_in5_5play_in5_6play_in5_7
PLAY_IN5comp1_outcomp2_outlptim1_ch1tim3_oc3SPI1_NSSUSART2_TXUSART1_TX
6play_in6_0play_in6_1play_in6_2play_in6_3play_in6_4play_in6_5play_in6_6play_in6_7
PLAY_IN6rcc_mco1rcc_mco2lptim1_ch2tim3_oc4SPI1_MOSIUSART2_CKUSART1_CK
7play_in7_0play_in7_1play_in7_2play_in7_3play_in7_4play_in7_5play_in7_6play_in7_7
PLAY_IN7adc1_awd1adc2_awd1comp1_outlptim2_ch1SPI1_SCLK0NMI
8play_in8_0play_in8_1play_in8_2play_in8_3play_in8_4play_in8_5play_in8_6play_in8_7
PLAY_IN8adc1_awd2adc2_awd2rcc_mco1lptim2_ch2tim2_trgoEVENTOUTLOCKUP
9play_in9_0play_in9_1play_in9_2play_in9_3play_in9_4play_in9_5play_in9_6play_in9_7
PLAY_IN9USART1_TXUSART2_TXadc1_awd1comp2_outtim2_oc3SPI2_NSSSPI1_NSS
10play_in10_0play_in10_1play_in10_2play_in10_3play_in10_4play_in10_5play_in10_6play_in10_7
PLAY_IN10USART1_CKUSART2_CKadc1_awd2rcc_mco2tim2_oc4SPI2_MOSISPI1_MOSI
11play_in11_0play_in11_1play_in11_2play_in11_3play_in11_4play_in11_5play_in11_6play_in11_7
PLAY_IN11NMI0USART1_TXadc2_awd1lptim1_ch1SPI2_SCLKSPI1_SCLK
Table 183. PLAY logic array inputn signal selection (continued)
input nPLAY_FILTnCFG.PREMUXSEL[2:0]
01234567
12play_in12_0play_in12_1play_in12_2play_in12_3play_in12_4play_in12_5play_in12_6play_in12_7
PLAY_IN12LOCKUPEVENTOUTUSART1_CKadc2_awd2lptim1_ch2tim3_trgotim2_trgo
13play_in13_0play_in13_1play_in13_2play_in13_3play_in13_4play_in13_5play_in13_6play_in13_7
PLAY_IN13SPI1_NSSSPI2_NSSNMIUSART2_TXcomp1_outtim3_oc3tim2_oc3
14play_in14_0play_in14_1play_in14_2play_in14_3play_in14_4play_in14_5play_in14_6play_in14_7
PLAY_IN14SPI1_MOSISPI2_MOSILOCKUPUSART2_CKrcc_mco1tim3_oc4tim2_oc4
15play_in15_0play_in15_1play_in15_2play_in15_3play_in15_4play_in15_5play_in15_6play_in15_7
PLAY_IN15SPI1_SCLKSPI2_SCLKSPI1_NSS0adc1_awd1lptim2_ch1lptim1_ch1

Table 184. PLAY output connections

Signal nameExternal pinsInternal signals
play_out0PLAY_OUT0TIM2_etr16
TIM3_etr16
lptim1_ext_trig7
lptim2_ext_trig7
play_out1PLAY_OUT1TIM1_brk[3]
TIM8_brk[3]
play_out2PLAY_OUT2TIM1_brk2[3]
TIM8_brk2[3]
play_out3PLAY_OUT3TIM2_ti1_4
TIM3_ti1_4
lptim1_in1_mux2
lptim2_in1_mux2
play_out4PLAY_OUT4TIM2_ti2_3
TIM3_ti2_3
lptim1_in2_mux2
lptim2_in2_mux2
play_out5PLAY_OUT5TIM2_ti3_1
TIM3_ti3_1
lptim1_ic1_mux3
lptim2_ic1_mux3
play_out6PLAY_OUT6TIM2_ti4_1
TIM3_ti4_1
play_out7PLAY_OUT7adc1_ext_trg20
adc2_ext_trg20
adc3_ext_trg20
play_out8PLAY_OUT8-

Table 184. PLAY output connections (continued)

Signal nameExternal pinsInternal signals
play_out9PLAY_OUT9adc1_jext_trg20
adc2_jext_trg20
adc3_jext_trg20
play_out10PLAY_OUT10-
play_out11PLAY_OUT11dac_trg14
play_out12PLAY_OUT12dac_trg15
play_out13PLAY_OUT13dts_ts1_trg4
play_out14PLAY_OUT14EXTI_event_64
play_out15PLAY_OUT15GPDMA_trig_72

22.3.3 PLAY reset and clocks

The PLAY has two reset inputs:

The PLAY configuration registers are reset by:

All other registers, including the PLAY logic element output registers, are reset by:

The PLAY configuration and control registers are clocked by:

The synchronisation and filters are clocked by:

The PLAY logic element output registers are clocked by:

22.3.4 Input selection

There are 16 inputs to the logic array, in0 to in15, which can be connected to external I/Os or internal signals coming from other functional units.

Each logic array input can connect to one of eight signals. A pre-multiplexer selects which signal is connected to an input. The pre-multiplexer for logic array input n is configured by the PLAY_FILTnCFG.PREMUXSEL[2:0] register field (see Figure 116). Only one signal can be chosen per input.

Figure 116. Input multiplexing Figure 116. Input multiplexing diagram showing PLAY_IN0 with signals play_in0_0, play_in0_1, ..., play_in0_7 multiplexed via PLAY_FILT0CFG.PREMUXSEL[2:0] to Logic array input in0, and PLAY_IN15 with signals play_in15_0, play_in15_1, ..., play_in15_7 multiplexed via PLAY_FILT15CFG.PREMUXSEL[2:0] to Logic array input in15.
Figure 116. Input multiplexing diagram showing PLAY_IN0 with signals play_in0_0, play_in0_1, ..., play_in0_7 multiplexed via PLAY_FILT0CFG.PREMUXSEL[2:0] to Logic array input in0, and PLAY_IN15 with signals play_in15_0, play_in15_1, ..., play_in15_7 multiplexed via PLAY_FILT15CFG.PREMUXSEL[2:0] to Logic array input in15.

The mapping of signals to logic array inputs is shown in Table 183. The left hand column contains the logic array input number. The columns to the right show the play_in signal name as well as the source signal to which it is connected, for each setting of PLAY_FILTnCFG.PREMUXSEL[2:0]. Some source signal names appear more than once in the table, which means they can be mapped to more than one input. This offers more flexibility when mapping source signals to logic array inputs.

22.3.5 Input filtering and edge detection

Inputs pass through a filter stage, which can be configured to remove short pulses or glitches and generate a pulse if an edge is detected (see Figure 117).

Figure 117. Input filter and edge detection Figure 117. Input filter and edge detection diagram: Input connects to Sync block, then into Filter and a bypass path around Filter to a multiplexer controlled by PLAY_FILTnCFG.WIDTH[7:0]. The multiplexer output goes to Edge detect and bypasses Edge detect to a second multiplexer controlled by PLAY_FILTnCFG.EDGEDET[1:0], leading To input interconnect.
Figure 117. Input filter and edge detection diagram: Input connects to Sync block, then into Filter and a bypass path around Filter to a multiplexer controlled by PLAY_FILTnCFG.WIDTH[7:0]. The multiplexer output goes to Edge detect and bypasses Edge detect to a second multiplexer controlled by PLAY_FILTnCFG.EDGEDET[1:0], leading To input interconnect.

Filtering

Every input has a filter which removes pulses shorter than a programmable number of play_clk clock cycles (after synchronization). The filter samples the input at the play_clk clock frequency and starts a counter if it detects a change in state. If the input transitions again before the counter reaches zero, the counter is stopped and reloaded, and the filter output state remains unchanged. If the counter reaches zero, it is reloaded and the filter output state toggles.

The minimum pulse width for input n can be programmed from 1 to 255 cycles in register bits PLAY_FILTCFGn.WIDTH[7:0]. Note that the filter introduces a delay equal to the programmed minimum pulse width.

Figure 118 illustrates the operation of the filter for PLAY_FILTCFGn.WIDTH[7:0] = 3. Pulses whose width is less than three periods of play_clk (Tplay_clk) are filtered. Pulses whose width is three periods or more propagate through the filter, with a delay of three Tplay_clk periods.

Figure 118. Filter operation example

Timing diagram for Figure 118 showing play_clk, Input before synchronization, Input after synchronization, and Filter output. It includes parameters like T_play_clk, 2.T_play_clk, 3.T_play_clk, and 4.T_play_clk. A note indicates 'pulse is filtered'.

The diagram shows the relationship between a clock signal and two input signals before and after synchronization, and the resulting filtered output. The clock signal, play_clk, has a period \(T_{play\_clk}\). The input signal before synchronization is a wide pulse. After synchronization, the input signal is sampled at the clock edges. The filter output shows a pulse that is filtered, with a width of \(2.T_{play\_clk}\). The diagram also shows a configuration parameter PLAY_FILTCFGn.WIDTH[7:0] = 3. A note indicates 'pulse is filtered'.

Timing diagram for Figure 118 showing play_clk, Input before synchronization, Input after synchronization, and Filter output. It includes parameters like T_play_clk, 2.T_play_clk, 3.T_play_clk, and 4.T_play_clk. A note indicates 'pulse is filtered'.

The filter can be bypassed by setting PLAY_FILTCFGn.WIDTH[7:0] = 0.

Edge detection and pulse generation

For all inputs there is an optional edge detection feature which detects a transition and generates a positive pulse of one play_clk clock period. This can be used to detect and lengthen pulses which are shorter than the play_clk clock period, or to trigger actions on an edge rather than a level. The edge detection feature is enabled for input n by programming the PLAY_FILTCFGn.EDGEDET[1:0] field with direction of the transition (rising, falling or both edges). Setting the field to 0 disables and bypasses the edge detection.

If the filter is enabled (PLAY_FILTCFGn.WIDTH[7:0] > 0), the edge detector generates a pulse when an edge is detected at the output of the filter (see Figure 119). Note that if both rising and falling edges are programmed, back-to-back transitions on successive clocks generate a double length pulse.

Figure 119. Edge detector operation (rising and falling edge) with filter enabled

Timing diagram for Figure 119 showing play_clk, Filter output, and Edge detector output. It includes parameters like T_play_clk and PLAY_FILTCFGn.EDGEDET[1:0] = 3.

The diagram shows the operation of an edge detector with a filter enabled. It displays the play_clk signal, the Filter output, and the Edge detector output. The edge detector output shows positive pulses generated at the rising and falling edges of the filter output. The configuration parameter is PLAY_FILTCFGn.EDGEDET[1:0] = 3, indicating both rising and falling edges are detected. The clock period is \(T_{play\_clk}\).

Timing diagram for Figure 119 showing play_clk, Filter output, and Edge detector output. It includes parameters like T_play_clk and PLAY_FILTCFGn.EDGEDET[1:0] = 3.

To lengthen a pulse shorter than one play_clk period, the filter must be bypassed. This is done by setting PLAY_FILTCFGn.WIDTH[7:0] = 0. The synchronization is done by the edge detection unit. When an edge is detected on the input signal, a positive pulse is generated after a delay of between one and two play_clk periods (see Figure 120).

Figure 120. Edge detector operation (rising and falling edge) with filter bypassed Timing diagram for edge detector operation with filter bypassed. It shows three signals: play_clk, Input, and Edge detector output. The play_clk is a periodic square wave. The Input signal has several pulses. The Edge detector output shows pulses that are synchronized to the play_clk edges. The width of the output pulses is determined by the input pulse width and the clock period. The diagram is labeled with T_play_clk and PLAY_FILTER_CFG.EDGEDET[1:0] = 3. A reference code MSv74234V1 is in the bottom right corner.

The diagram illustrates the edge detector operation when the filter is bypassed. It shows three signals over time: play_clk, Input, and Edge detector output. The play_clk is a periodic square wave. The Input signal has several pulses. The Edge detector output shows pulses that are synchronized to the play_clk edges. The width of the output pulses is determined by the input pulse width and the clock period. The diagram is labeled with \(T_{play\_clk}\) and PLAY_FILTER_CFG.EDGEDET[1:0] = 3. A reference code MSv74234V1 is in the bottom right corner.

Timing diagram for edge detector operation with filter bypassed. It shows three signals: play_clk, Input, and Edge detector output. The play_clk is a periodic square wave. The Input signal has several pulses. The Edge detector output shows pulses that are synchronized to the play_clk edges. The width of the output pulses is determined by the input pulse width and the clock period. The diagram is labeled with T_play_clk and PLAY_FILTER_CFG.EDGEDET[1:0] = 3. A reference code MSv74234V1 is in the bottom right corner.

If both rising and falling edges are programmed, and the input pulse width is less than one play_clk period, only one output pulse is generated. Note however that if two transitions occur either side of a clock edge, a double length pulse is generated.

Synchronization

All input signals are considered to be asynchronous to the play_clk clock. If any synchronous logic is connected downstream, it is mandatory to synchronize the inputs to the play_clk clock, to avoid meta-stability. Synchronization introduces a delay of 1 to 2 play_clk periods.

Synchronization is performed by enabling the filter or the edge detector. If both the filter and edge detector are bypassed (PLAY_FILTER_CFG.WIDTH[7:0] = 0 and PLAY_FILTER_CFG.EDGEDET[1:0] = 0), the input signal is propagated directly to the logic array without synchronization.

Caution: If both edge detector and filter are bypassed, the input must only be used to drive purely combinatorial logic.

22.3.6 Software programmable inputs

The PLAY_SWIN register contains 16 bits which are connected to inputs swin0 to swin15. This allows software programmable functionality to be included in the logic expression. This can be used for example to enable or disable functionality, or to trigger state transitions, by software. These inputs also allow testing of the programmed logic array functionality.

The PLAY_SWIN register bits can be set independently by writing a 1 to the corresponding bits in the PLAY_SWIN_SET register. In the same way they can be reset by writing a 1 to the corresponding bits in the PLAY_SWIN_CLR register. It is also possible to read and write the bits directly in the PLAY_SWIN register.

Every time there is a write to the PLAY_SWIN, PLAY_SWIN_SET or PLAY_SWIN_CLR register, a positive pulse is generated on the swin_we signal. The pulse lasts one play_clk cycle, starting from the moment the register value is updated (see Figure 121). The swin_we signal is connected to the input interconnect and can be used as a clock enable for any of the logic element output registers. This means that writing to the PLAY_SWIN register can trigger a state transition conditioned by the new values on swin0 to swin15, for example.

Figure 121. swin_we pulse timing

Timing diagram showing play_clk, swin[15:0] with data mmmm and nnnn, and swin_we pulse signal.

MSv74251V1

Timing diagram showing play_clk, swin[15:0] with data mmmm and nnnn, and swin_we pulse signal.

22.3.7 Logic elements

The logic array provides 16 logic elements (LEs), each containing a 4-input, single output look-up table (LUT) and a register (Figure 122).

Figure 122. Logic element

Block diagram of a logic element showing inputs lein[3:0] entering a 16-entry LUT (d[0] through d[15]), producing Direct output - leoutd and Registered output - leoutr via a register clocked by play_clk and clock enable through an AND gate.

MSv74239V1

Block diagram of a logic element showing inputs lein[3:0] entering a 16-entry LUT (d[0] through d[15]), producing Direct output - leoutd and Registered output - leoutr via a register clocked by play_clk and clock enable through an AND gate.

Look-up table (LUT)

The LUT is a 16 x 1-bit memory which generates a single output, leoutd, whose value is a function of the four LUT inputs, lein[3:0] which make up the address. The LUT is programmed at configuration time with the required state of the output for every possible combination of lein[3:0].

To implement a Boolean logic expression, the full truth table for the expression must be detailed.

This is demonstrated using the following logic expression as an example:

leoutd = lein[0] AND lein[1] OR lein[2] AND lein[3]

This expression corresponds to the diagram in Figure 123.

Figure 123. Example logic expression 1

Logic diagram for Example logic expression 1. It shows four inputs: lein[0], lein[1], lein[2], and lein[3]. lein[0] and lein[1] are inputs to an AND gate. lein[2] and lein[3] are inputs to another AND gate. The outputs of these two AND gates are then inputs to an OR gate, which produces the output leoutd. The diagram is labeled MSv74240V1 in the bottom right corner.
Logic diagram for Example logic expression 1. It shows four inputs: lein[0], lein[1], lein[2], and lein[3]. lein[0] and lein[1] are inputs to an AND gate. lein[2] and lein[3] are inputs to another AND gate. The outputs of these two AND gates are then inputs to an OR gate, which produces the output leoutd. The diagram is labeled MSv74240V1 in the bottom right corner.

The truth table is given in Table 185.

Table 185. Truth table example 1

Inputs - lein[3:0]Output - leoutd
00000
00010
00100
00111
01000
01010
01100
01111
10000
10010
10100
10111
11001
11011
11101
11111

The left hand column lists the address formed by the combination of the four LUT inputs, lein[3:0], and the right hand column lists the required output value on leoutd for each input combination.

During configuration, the LUT is programmed as a single 16-bit register, with the data read from the output column of the truth table, read from bottom (MSB) to top (LSB). In this example the LUT configuration register would be programmed with 1111 1000 1000 1000 (0xF888).

If any of the inputs are unused or “don’t care”, the output must be the same for both possible values of the unused input. In other words, the contents of address 0bxnnn must be the same for x = 0 or x = 1.

For example, in the following logic expression, lein[3] is unused:

leoutd = lein[0] AND lein[1] OR lein[2]

Figure 124. Example logic expression 2

Logic diagram showing inputs lein[0] and lein[1] connected to an AND gate. The output of the AND gate and input lein[2] are connected to an OR gate. The output of the OR gate is leoutd. Input lein[3] is shown with a cross, indicating it is unused. The diagram is labeled MSv74241V1 in the bottom right corner.
Logic diagram showing inputs lein[0] and lein[1] connected to an AND gate. The output of the AND gate and input lein[2] are connected to an OR gate. The output of the OR gate is leoutd. Input lein[3] is shown with a cross, indicating it is unused. The diagram is labeled MSv74241V1 in the bottom right corner.

The truth table for this expression is shown in Table 186. To obtain the full LUT, each row containing an ‘x’ is split into two identical rows. Then the ‘x’ is replaced by ‘0’ and ‘1’ respectively.

In this example the configuration register is programmed with 1111 1000 1111 1000 (0xF8F8).

Table 186. Truth table example 2

lein[3:0]leoutd
x0000
x0010
x0100
x0111
x1001
x1011
x1101
x1111

Alternatively, the unused input can be connected to an unused input with value 0 (see Table 187), so that addresses with x = 1 are never accessed and can be left at 0.

The LUT configuration registers are directly mapped in the PLAY APB address space. The LUT configuration for logic element n is programmed in the register bit field PLAY_LEnCFG1.LUT[15:0].

LE output register

The LUT output can be direct or registered. Output registers are clocked by the play_clk, optionally qualified by a clock enable signal. When the clock enable signal is high, the register is updated with the LUT output every play_clk cycle. A clock enable must be high for at least one play_clk cycle. This constraint is guaranteed for input signals using edge detection or filtering (see Section 22.3.5: Input filtering and edge detection). It is also guaranteed for the synchronous feedback signals leoutr[15:0].

Caution: Asynchronous signals must not be selected as clock enables.

During configuration (when PLAY_CFGCR.UNLOCK = 1), the logic element registers are held in reset.

Logic element registers are also reset by play_rstn and play_app_rstn.

22.3.8 Input interconnect

The input interconnect selects which signals are connected to each logic element, as shown in Figure 125.

Figure 125. Input interconnect

Input interconnect schematic block diagram for PLAY logic elements LE0 through LE15 arranged in 4 rows, showing inputs in[15:0], swin[15:0], feedback signals leoutr, and direct connections leoutd.

MSv74243V1

Input interconnect schematic block diagram for PLAY logic elements LE0 through LE15 arranged in 4 rows, showing inputs in[15:0], swin[15:0], feedback signals leoutr, and direct connections leoutd.

LUT input selection

For each logic element, up to four input signals can be configured as LUT inputs, and one as a clock enable for the LE register. The LUT inputs can be selected from among the following signals:

Each logic element’s direct output can be fed back to one of its inputs. This allows implementation of asynchronous latches.

It is also possible to connect the direct outputs of certain logic elements to the inputs of others - see Combining logic elements.

For logic element n (0 to 15), the signals connected to input m (0 to 3), are selected by configuration register PLAY_LEnCFG2, bit field INm_SEL[5:0].

The selection of the LUT input signals is summarized in Table 187.

For example, to connect input signal in15 to input 2 of logic element 0, program PLAY_LE0CFG2.IN2_SEL[5:0] = 47. To connect input 3 of logic element 1 to the direct output of logic element 0, leoutd0, program PLAY_LE1CFG2.IN3_SEL[5:0] = 0.

Table 187. Logic element n LUT input selection

PLAY_LEnCFG2.INm_SEL[5:0]Signal connected to LUT input mSource
0For n = 4,8,12: 0-
For n = 0,1,2,3,5,6,7,9,10,11,13,14,15: leoutd[0]LE 0 direct output
1For n = 0,4,5,8,9,12,13: 0-
For n = 1,2,3,6,7,10,11,14,15: leoutd[1]LE 1 direct output
2For n = 0,1,4,5,6,8,9,10,12,13,14: 0-
For n = 2,3,7,11,15: leoutd[2]LE 2 direct output
3For n = 0,1,2,4,5,6,7,8,9,10,11,12,13,14,15: 0-
For n = 3: leoutd[3]LE 3 direct output
4For n = 0,8,12: 0-
For n = 1,2,3,4,5,6,7,9,10,11,13,14,15: leoutd[4]LE 4 direct output
5For n = 0,1,4,8,9,12,13: 0-
For n = 2,3,5,6,7,10,11,14,15: leoutd[5]LE 5 direct output
6For n = 0,1,2,4,5,8,9,10,12,13,14: 0-
For n = 3,6,7,11,15: leoutd[6]LE 6 direct output
7For n = 0,1,2,3,4,5,6,8,9,10,11,12,13,14,15: '0'-
For n = 7: leoutd[7]LE 7 direct output
8For n = 0,4,12: 0-
For n = 1,2,3,5,6,7,8,9,10,11,13,14,15: leoutd[8]LE 8 direct output
9For n = 0,1,4,5,8,12,13: 0-
For n = 2,3,6,7,9,10,11,14,15: leoutd[9]LE 9 direct output
10For n = 0,1,2,4,5,6,8,9,12,13,14,15: 0-
For n = 3,7,10,11: leoutd[10]LE 10 direct output
11For n = 0,1,2,3,4,5,6,7,8,9,10,12,13,14,15: 0-
For n = 11: leoutd[11]LE 11 direct output
12For n = 0,4,8: 0-
For n = 1,2,3,5,6,7,9,10,11,12,13,14,15: leoutd[12]LE 12 direct output
13For n = 0,1,4,5,8,9,12: 0-
For n = 2,3,6,7,10,11,13,14,15: leoutd[13]LE 13 direct output

Table 187. Logic element n LUT input selection (continued)

PLAY_LEnCFG2.INm_SEL[5:0]Signal connected to LUT input mSource
14For n = 0,1,2,4,5,6,8,9,10,12,13: 0-
For n = 3,7,11,14,15: leoutd[14]LE 14 direct output
15For n = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14: 0-
For n = 15: leoutd[15]LE 15 direct output
16 to 31leoutr[0] to leoutr[15]LE registered outputs
32 to 47in0 to in15input signals
48 to 63swin0 to swin15PLAY_SWIN

LE clock enable selection

The LE register clock enable can be selected from any of these signals:

For logic element n the clock enable is selected by configuration register bits PLAY_LEnCFG2.CK_SEL[5:0].

The selection of the LE register clock is summarized in Table 188.

Table 188. Logic element n register clock selection

PLAY_LEnCFG2.CK_SEL[5:0]Clock enable signal(1)Source
00 (clock disabled)-
11 (always enabled)-
2swin_weAPB interface
3 to 15reserved-
16 to 31leoutr0 to leoutr15 (excluding leoutrn)LE registered outputs
32 to 47in0 to in15input signals
48 to 63swin0 to swin15PLAY_SWIN

1. Reserved values select 0

Combining logic elements

LE 0-3 form a group which can be cascaded combinatorially from left to right (see Figure 126):

The other groups of four (LE 4-7, LE 8-11, LE12-15) can be cascaded in the same way. Furthermore, logic elements from different groups can be connected together, provided the left to right logic flow is respected. For example, LE4 direct output can be connected to LE1 input, but not to LE0 input.

Figure 126. Logic element cascading

Diagram showing logic element cascading from LE0 to LE3. LE0 has 4 inputs and outputs leoutr0 and leoutd0. LE1 has 3 inputs and outputs leoutr1 and leoutd1. LE2 has 2 inputs and outputs leoutr2 and leoutd2. LE3 has 1 input and outputs leoutr3 and leoutd3. Cascading connections are shown: leoutr0 to LE1 inputs, leoutd0 to LE1 inputs; leoutr1 to LE2 inputs, leoutd1 to LE2 inputs; leoutr2 to LE3 inputs, leoutd2 to LE3 inputs.

MSv74238V1

Diagram showing logic element cascading from LE0 to LE3. LE0 has 4 inputs and outputs leoutr0 and leoutd0. LE1 has 3 inputs and outputs leoutr1 and leoutd1. LE2 has 2 inputs and outputs leoutr2 and leoutd2. LE3 has 1 input and outputs leoutr3 and leoutd3. Cascading connections are shown: leoutr0 to LE1 inputs, leoutd0 to LE1 inputs; leoutr1 to LE2 inputs, leoutd1 to LE2 inputs; leoutr2 to LE3 inputs, leoutd2 to LE3 inputs.

It is also possible to use one logic element to combine the outputs of up to three others, as shown in Figure 127. In this example, the direct outputs of LE0-2 are connected to the inputs of LE3. This allows up to 13 different inputs to be combined in a single logic expression.

Figure 127. Combining logic elements in parallel

Diagram showing logic elements LE0, LE1, and LE2 connected in parallel to LE3. LE0, LE1, and LE2 each have 4 inputs and output pairs (leoutr0/leoutd0, leoutr1/leoutd1, leoutr2/leoutd2). The direct outputs (leoutr0, leoutr1, leoutr2) are connected to the single input of LE3. LE3 has outputs leoutr3 and leoutd3.

MSv74249V1

Diagram showing logic elements LE0, LE1, and LE2 connected in parallel to LE3. LE0, LE1, and LE2 each have 4 inputs and output pairs (leoutr0/leoutd0, leoutr1/leoutd1, leoutr2/leoutd2). The direct outputs (leoutr0, leoutr1, leoutr2) are connected to the single input of LE3. LE3 has outputs leoutr3 and leoutd3.

Note that combining logic elements in this way requires the logic expression to be split into partial expressions, with up to four inputs each.

For example, consider the following expression:

\[Y = (X1 \text{ AND } X2) \text{ OR } (X3 \text{ AND } X4) \text{ OR } (X5 \text{ AND } X6).\]

This expression has six inputs (X1 to X6) and one output (Y). It therefore requires at least two logic elements, for example LE0 and LE1, as illustrated in Figure 128. The expression for Y can be split into two expressions:

Then LE0 is configured with expression 'a', and LE1 with expression 'b'. Inputs X1 to X4 are connected to LE0. Inputs X5 and X6, are connected to LE1, together with Y0, the direct output of LE0.

Figure 128. Splitting logic expressions between logic elements

Diagram illustrating the splitting of logic expressions between two logic elements (LE0 and LE1) and their internal Look-Up Tables (LUTs).

The diagram shows two logic elements, LE0 and LE1, and their internal LUT configurations. LE0 takes inputs X1, X2, X3, and X4. Its LUT contains two AND gates (X1 & X2, X3 & X4) feeding into an OR gate to produce output Y0. LE1 takes inputs X5, X6, and the output Y0 from LE0. Its LUT contains an AND gate (X5 & X6) and an OR gate that combines the AND gate output with Y0 to produce the final output Y. Dashed lines connect the LUTs to their respective LE blocks. A label 'MSv74250V1' is present in the bottom right corner of the diagram area.

Diagram illustrating the splitting of logic expressions between two logic elements (LE0 and LE1) and their internal Look-Up Tables (LUTs).

22.3.9 Output interconnect

The output interconnect selects which logic element or eFPGA outputs are connected to which PLAY outputs, as shown in Figure 129.

Figure 129. Output interconnect

Schematic diagram of the output interconnect showing multiplexers selecting between le_outd and le_outr signals based on configuration registers.

The diagram illustrates the output interconnect logic. It shows two multiplexers (MUXes) that select between logic element outputs (le_outd and le_outr) and configuration register bits (PLAY_OUTnCFG.SEL[4:0]) to drive the PLAY outputs (play_out0 to play_out15). The first MUX selects between le_outd[15:0] and le_outr[15:0] based on the configuration register bit PLAY_OUT0CFG.SEL[4:0]. The second MUX selects between le_outd[15:0] and le_outr[15:0] based on the configuration register bit PLAY_OUT15CFG.SEL[4:0]. The outputs of the MUXes are connected to the PLAY outputs (play_out0 to play_out15) and also to the flags (To flags). The diagram is labeled MSv74248V1.

Schematic diagram of the output interconnect showing multiplexers selecting between le_outd and le_outr signals based on configuration registers.

The PLAY outputs include the following signals:

Each output can be connected to any one of the logic element outputs, registered or direct. The signal connected to output n is selected by configuration register bits PLAY_OUTnCFG.SEL[4:0].

The output selection is summarized in Table 189.

Table 189. Output n source selection

PLAY_OUTnCFG.SEL[4:0]Source
0leoutd0 - LE0 direct output
1leoutd1 - LE1 direct output
2leoutd2 - LE2 direct output
3leoutd3 - LE3 direct output
4leoutd4 - LE4 direct output
5leoutd5 - LE5 direct output
6leoutd6 - LE6 direct output
7leoutd7 - LE7 direct output
8leoutd8 - LE8 direct output
9leoutd9 - LE9 direct output
10leoutd10 - LE10 direct output

Table 189. Output n source selection (continued)

PLAY_OUTnCFG.SEL[4:0]Source
11leoutd11 - LE11 direct output
12leoutd12 - LE12 direct output
13leoutd13 - LE13 direct output
14leoutd14 - LE14 direct output
15leoutd15 - LE15 direct output
16leoutr0 - LE0 register output
17leoutr1 - LE1 register output
18leoutr2 - LE2 register output
19leoutr3 - LE3 register output
20leoutr4 - LE4 register output
21leoutr5 - LE5 register output
22leoutr6 - LE6 register output
23leoutr7 - LE7 register output
24leoutr8 - LE8 register output
25leoutr9 - LE9 register output
26leoutr10 - LE10 register output
27leoutr11 - LE11 register output
28leoutr12 - LE12 register output
29leoutr13 - LE13 register output
30leoutr14 - LE14 register output
31leoutr15 - LE15 register output

22.3.10 Flags

A transition on any of the logic element outputs leoutd[15:0] or leoutr[15:0] can set the corresponding flag in the PLAY_FLSTAT register.

The direction of the transition (rising or falling) can be selected in the PLAY_FLCTL register. Once set, the flag can only be reset by software writing to the PLAY_FLCLR register (or by a reset). Setting a flag generates an interrupt to the CPU on the play_irq signal, if the enable bit for the flag is set in the PLAY_FLIER register. To clear the interrupt the software must reset the flag, or mask it by resetting the enable.

Due to the asynchronous relationship between play_clk and the pclk, a resynchronisation delay is incurred between a transition on the logic element output and the setting of the corresponding flag. The maximum delay is approximately one period of play_clk plus three periods of pclk. The play_irq interrupt is not asserted until the flag goes high. Note that if successive transitions occur on the same output before the flag is cleared, they are not taken into account. However if a subsequent transition on another logic element output occurs during the resynchronization delay, a second resynchronization starts as soon as the first is finished, at the end of which the second flag is set.

The raw state of the signals can also be read by software via the PLAY_OSR register. This is primarily intended for debugging the programmed logic. The user must be aware that the logic element outputs can change asynchronously and the value that is read from PLAY_OSR may not correspond to the actual state of the outputs at the moment of reading.

22.3.11 Miscellaneous status bits

The software input register (PLAY_SWIN), and the flag edge control register (PLAY_FLCTL) are in the play_clk domain. When a write occurs to one of these registers (including to PLAY_SWINSET/CLR), the write data is stored temporarily in the APB bus clock (pclk) domain until the next play_clk pulse at which point the data is transferred to the target register. If play_clk is slow compared to pclk, or if it is inactive, the update could take an indefinitely long time to complete. To avoid stalling the processor, any subsequent writes to the same register before the target register update has completed, are ignored.

To ensure that updates are not lost, the PLAY_MSR register contains two read-only status bits, SWIN write busy flag (SWIN_WBFS) and FLCTL write busy flag (FLCTL_WBFS). When one of these bits is set to 1, it indicates that an update is pending to the corresponding register, PLAY_SWIN or PLAY_FLCTL. The busy flags are automatically reset to 0 when the update completes.

If play_clk is significantly slower than pclk, it is recommended to poll the busy flag in the PLAY_MSR prior to writing to the corresponding register, to be sure that it has reset to 0 indicating that the previous update has completed.

Alternatively, software can enable the write complete interrupts in the PLAY_IER register to generate an interrupt request when a pending write completes (see Section 22.5).

22.4 PLAY in low-power modes

The play_clk can be maintained when the system is in low-power mode (Stop mode). The full functionality of the logic array is available, but the memory-mapped registers are not accessible and the flags are not updated.

When the play_clk is stopped, the logic element output registers do not operate, neither does the edge detection and filtering. However combinatorial logic continues to function as programmed.

If a logic element direct output is mapped to an asynchronous wake-up event, a transition on the output can wake the system from Stop mode. It is recommended to configure one of the software programmable inputs to reset the output so that software can deassert the wake-up event, if it is not otherwise deasserted.

In Standby mode, the PLAY is powered down and no longer functional. It must be reconfigured on exit from Standby.

22.5 PLAY interrupts

There is one interrupt request, play_irq, which can be configured to interrupt the processor when any of the following conditions occurs:

  1. 1. One or more of the flags are set, as indicated by the PLAY_FLSTAT register
  2. 2. An outstanding write to the PLAY_FLCTL register has completed, as indicated by the FLCTLWBFS bit in the PLAY_MSR register.
  3. 3. An outstanding write to the PLAY_SWIN register has completed, as indicated by the SWINWBFS bit in the PLAY_MSR register.

An interrupt handler must first read the PLAY interrupt status register (PLAY_ISR) to determine the source of the interrupt.

If the FLCTL write complete (FLCTLWC) or SWIN write complete (SWINWC) bits are set, it means that a previous write respectively to the PLAY_FLCTL or PLAY_SWIN register has completed. The write complete status bits can be cleared by writing a one to the corresponding bit in the interrupt clear (PLAY_ICR) register. The write complete interrupts are enabled and disabled by writing to the PLAY_IER register.

If the PLAY_ISR.FLAGS bit is set, the interrupt handler must read the PLAY_FLSTAT register to determine which flag(s) caused the interrupt. The FLAGS bit is reset by hardware when all the flags are inactive or masked. See Section 22.3.10 for more details.

22.6 PLAY registers

There are three types of PLAY registers:

22.6.1 PLAY configuration control register (PLAY_CFGCR)

Address offset: 0x000

Reset value: 0x0000 0001

This register contains miscellaneous configuration bits. It is a configuration register and is reset by play_rstn.

If PLAY_SECCFGR.SEC[0] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[0] = 1, the register requires privileged access (unprivileged accesses are ignored).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UNLOCK
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 UNLOCK: Unlock configuration

When configuration is complete, it must be set to 0 to prevent accidental corruption of the configuration registers and enable operation of the logic element registers.

0: Configuration is locked. All configuration registers are write protected.

1: Configuration is unlocked. Configuration registers can be programmed.

22.6.2 PLAY security attributes configuration register (PLAY_SECCFGR)

Address offset: 0x004

Reset value: 0x0000 0000

This register controls the security attributes of the PLAY registers. It is an access control register and is reset by play_rstn.

The register can only be modified by a secure, privileged write access. It can be read by any access. A nonsecure write access is ignored. An unprivileged write access is ignored.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEC[1:0]
rwrw

Bits 31:2 Reserved, must be kept at reset value.

Bits 1:0 SEC[1:0]: Secure access control

22.6.3 PLAY privilege attributes configuration register (PLAY_PRIVCFGR)

Address offset: 0x008

Reset value: 0x0000 0000

This register controls the privilege attributes of the PLAY registers. It is an access control register and is reset by play_rstn. It can only be modified by a privileged write access. It can be read by any access.

If PLAY_SECFGR.SEC[n] = 1, PLAY_PRIVCFG.PRIV[n] can only be modified by a secure write access. A nonsecure write access to PLAY_PRIVCFG.PRIV[n] is ignored.

If PLAY_SECCFGR.SEC[n] = 0, PLAY_PRIVCFG.PRIV[n] can be modified by secure or nonsecure write access.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PRIV[1:0]
rwrw

Bits 31:2 Reserved, must be kept at reset value.

Bits 1:0 PRIV[1:0]: Privilege access control

22.6.4 PLAY filter x configuration register (PLAY_FILTxCFG)

Address offset: 0x020 + 0x04 * x, (x = 0 to 15)

Reset value: 0x0000 0000

This register configures the filter, edge detector and premultiplexer for logic array input x. It is a configuration register and is reset by play_rstn. Write accesses to this register are ignored if PLAY_CFGCR.UNLOCK = 0.

If PLAY_SECCFGR.SEC[0] = 1, the register requires secure access (nonsecure accesses are ignored, and signaled on play_sec_ilac).

If PLAY_PRIVCFGR.PRIV[0] = 1, the register requires privileged access (unprivileged accesses are ignored, and signaled on play_priv_ilac).

BitRegister NameDescriptionReservedReservedReservedReservedReservedReservedReservedReservedReservedReservedReservedReservedReserved
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PREMUXSEL[2:0]
rwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.EDGEDET[1:0]WIDTH[7:0]
rwrwrwrwrwrwrwrwrwrw
Bits 18:16PREMUXSEL[2:0]: Input pre-multiplexer select
Selects the signal to be connected to the input. SeeTable 183for details.
Bits 9:8EDGEDET[1:0]: Edge detection mode.
Bits 7:0cycle. WIDTH[7:0]: Minimum pulse width

Bits 31:19 Reserved, must be kept at reset value.

Bits 18:16 PREMUXSEL[2:0]: Input pre-multiplexer select Selects the signal to be connected to the input. See Table 183 for details.

Bits 15:10 Reserved, must be kept at reset value.

Bits 9:8 EDGEDET[1:0]: Edge detection mode. 0: Edge detection is bypassed 1: A rising edge transition on the input is converted into a positive pulse of 1 play_clk cycle. 2: A falling edge transition on the input is converted into a positive pulse of 1 play_clk cycle. 3: A rising or falling edge transition on the input is converted into a positive pulse of 1 play_clk cycle.

Bits 7:0 WIDTH[7:0]: Minimum pulse width 0: Filter is bypassed. 1 to 255: Minimum pulse width, in play_clk cycles. Any pulse on the input shorter than this is ignored.

ST logo
ST logo

22.6.5 PLAY logic element x configuration register 1 (PLAY_LExCFG1)

Address offset: 0x060 + 0x04 * x, (x = 0 to 15)

Reset value: 0x0000 0000

This register configures the look-up table contents for logic element x. It is a configuration register and is reset by play_rstn. Write accesses to this register are ignored if PLAY_CFGCR.UNLOCK = 0.

If PLAY_SECCFGR.SEC[0] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[0] = 1, the register requires privileged access (unprivileged accesses are ignored).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
LUT[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 LUT[15:0]: Look-up table contents.

Truth table output for the logic element.

22.6.6 PLAY logic element x configuration register 2 (PLAY_LExCFG2)

Address offset: 0x0A0 + 0x04 * x, (x = 0 to 15)

Reset value: 0x00FF FFFF

This register configures the input source and the register clock source for logic element x. It is a configuration register and is reset by play_rstn. Write accesses to this register are ignored if PLAY_CFGCR.UNLOCK = 0.

If PLAY_SECCFGR.SEC[0] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[0] = 1, the register requires privileged access (unprivileged accesses are ignored).

31302928272625242322212019181716
Res.Res.CK_SEL[5:0]IN3_SEL[5:0]IN2_SEL[5:4]
rwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
IN2_SEL[3:0]IN1_SEL[5:0]IN0_SEL[5:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:30 Reserved, must be kept at reset value.

22.6.7 PLAY output x configuration register (PLAY_OUTxCFG)

Address offset: 0x100 + 0x04 * x, (x = 0 to 15)

Reset value: 0x0000 0000

This register selects the source for play_out[x]. It is a configuration register and is reset by play_rstn. Write accesses to this register are ignored if PLAY_CFGCR.UNLOCK = 0.

If PLAY_SECCFGR.SEC[0] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[0] = 1, the register requires privileged access (unprivileged accesses are ignored).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEL[4:0]
rwrwrwrwrw

Bits 31:5 Reserved, must be kept at reset value.

Bits 4:0 SEL[4:0]: Output source selection.
The value of this field selects which LE output is connected to the output. See Table 189 for details.

22.6.8 PLAY software input status register (PLAY_SWIN)

Address offset: 0x200

Reset value: 0x0000 0000

This register is used to read and write the state of the software programmable inputs. It is a functional register and is reset by play_rstn and play_app_rstn.

If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored, and signaled on play_sec_ilac).

If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).

Caution: play_clk must be active when writing to this register. Any subsequent write access to this register (or PLAY_SWINSET or PLAY_SWINCLR) is ignored until the write completes. Software must poll the PLAY_SWIN write busy flag in the PLAY miscellaneous status register (PLAY_MSR) to make sure that no writes are pending. If play_clk is slow compared to the bus clock, pclk, a write may take a long time to complete. In this case, the PLAY_SWIN register write complete interrupt - see PLAY interrupt status register (PLAY_ISR) - can be used to signal to the software when the registers can be accessed again.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
SWIN1
5
SWIN1
4
SWIN1
3
SWIN1
2
SWIN1
1
SWIN1
0
SWIN9SWIN8SWIN7SWIN6SWIN5SWIN4SWIN3SWIN2SWIN1SWIN0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 SWINy: Input swiny state (y = 15 to 0)

0: Input low

1: Input high

22.6.9 PLAY software input set register (PLAY_SWINSET)

Address offset: 0x204

Reset value: 0x0000 0000

This register is used to set the state of the software programmable inputs. It is a functional register and is reset automatically by hardware.

If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).

Caution: play_clk must be active when writing to this register. Any subsequent write access to this register (or PLAY_SWIN or PLAY_SWINCLR) is ignored until the write completes. Software must poll the PLAY_SWIN write busy flag in the PLAY miscellaneous status register (PLAY_MSR) to make sure that no writes are pending. If play_clk is slow compared to the

bus clock, pclk, a write may take a long time to complete. In this case, the PLAY_SWIN register write complete interrupt - see PLAY interrupt status register (PLAY_ISR) - can be used to signal to the software when the register can be accessed again.

BitRegister NameDescriptionReservedReservedReservedReservedReservedReservedReservedReservedReservedReservedReservedReservedReserved
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
SWIN1SWIN1SWIN1SWIN1SWIN1SWIN1
543210SWIN9 SWIN8 SWIN7 SWIN6 SWIN5 SWIN4 SWIN3 SWIN2 SWIN1 SWIN0
wwwwwwwwwwwwwwww
Bits 15:0SWINy: Set PLAY_SWIN.SWINy (y = 15 to 0)
register write complete interrupt - seePLAY interrupt status register (PLAY_ISR)- can be
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
SWIN1SWIN1SWIN1SWIN1SWIN1SWIN1
543210SWIN9 SWIN8 SWIN7 SWIN6 SWIN5 SWIN4 SWIN3 SWIN2 SWIN1 SWIN0
wwwwwwwwwwwwwwww
Bits 15:0SWINy: Reset PLAY_SWIN.SWINy (y = 15 to 0)

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 SWINy: Set PLAY_SWIN.SWINy (y = 15 to 0)

0: Input low

1: Input high

22.6.10 PLAY software input clear register (PLAY_SWINCLR)

Address offset: 0x208

Reset value: 0x0000 0000

This register is used to reset the state of the software programmable inputs. It is a functional register and is reset automatically by hardware.

If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).

Caution: play_clk must be active when writing to this register. Any subsequent write access to this register (or PLAY_SWIN or PLAY_SWINSET) is ignored until the write completes. Software must poll the PLAY_SWIN write busy flag in the PLAY miscellaneous status register (PLAY_MSR) to make sure that no writes are pending. If play_clk is slow compared to the bus clock, pclk, a write may take a long time to complete. In this case, the PLAY_SWIN register write complete interrupt - see PLAY interrupt status register (PLAY_ISR) - can be used to signal to the software when the registers can be accessed again.

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:0 SWINy: Reset PLAY_SWIN.SWINy (y = 15 to 0)

0: Input low

1: Input high

22.6.11 PLAY output status register (PLAY_OSR)

Address offset: 0x210

Reset value: 0x0000 0000

This register allows software to read the state of the LE direct and registered outputs. It is a functional register and is reset by play_rstn and play_app_rstn.

If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).

31302928272625242322212019181716
LEOUT R15LEOUT R14LEOUT R13LEOUT R12LEOUT R11LEOUT R10LEOUT R9LEOUT R8LEOUT R7LEOUT R6LEOUT R5LEOUT R4LEOUT R3LEOUT R2LEOUT R1LEOUT R0
rrrrrrrrrrrrrrrr
1514131211109876543210
LEOUT D15LEOUT D14LEOUT D13LEOUT D12LEOUT D11LEOUT D10LEOUT D9LEOUT D8LEOUT D7LEOUT D6LEOUT D5LEOUT D4LEOUT D3LEOUT D2LEOUT D1LEOUT D0
rrrrrrrrrrrrrrrr

Bits 31:16 LEOUTRy: State of LE registered output leoutry (y = 15 to 0)

Bits 15:0 LEOUTDy: State of LE direct outputs leoutdy (y = 15 to 0)

22.6.12 PLAY flag status register (PLAY_FLSTAT)

Address offset: 0x220

Reset value: 0x0000 0000

This register allows software to read the state of the LE output flags. It is a functional register and is reset by play_rstn and play_app_rstn.

If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).

31302928272625242322212019181716
FLAGR 15FLAGR 14FLAGR 13FLAGR 12FLAGR 11FLAGR 10FLAGR 9FLAGR 8FLAGR 7FLAGR 6FLAGR 5FLAGR 4FLAGR 3FLAGR 2FLAGR 1FLAGR 0
rrrrrrrrrrrrrrrr
1514131211109876543210
FLAGD 15FLAGD 14FLAGD 13FLAGD 12FLAGD 11FLAGD 10FLAGD 9FLAGD 8FLAGD 7FLAGD 6FLAGD 5FLAGD 4FLAGD 3FLAGD 2FLAGD 1FLAGD 0
rrrrrrrrrrrrrrrr

Bits 31:16 FLAGRy: Flag state for LEy registered output (y = 15 to 0)

0: Flag reset

1: Flag set

Bits 15:0 FLAGDy: Flag state for LEy direct output (y = 15 to 0)
0: Flag reset
1: Flag set

22.6.13 PLAY flag set register (PLAY_FLSET)

Address offset: 0x224

Reset value: 0x0000 0000

This register allows software to set the LE output flags. It is a functional register and is reset automatically by hardware.

If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).

31302928272625242322212019181716
FLAGR_SET15FLAGR_SET14FLAGR_SET13FLAGR_SET12FLAGR_SET11FLAGR_SET10FLAGR_SET9FLAGR_SET8FLAGR_SET7FLAGR_SET6FLAGR_SET5FLAGR_SET4FLAGR_SET3FLAGR_SET2FLAGR_SET1FLAGR_SET0
wwwwwwwwwwwwwwww
1514131211109876543210
FLAGD_SET15FLAGD_SET14FLAGD_SET13FLAGD_SET12FLAGD_SET11FLAGD_SET10FLAGD_SET9FLAGD_SET8FLAGD_SET7FLAGD_SET6FLAGD_SET5FLAGD_SET4FLAGD_SET3FLAGD_SET2FLAGD_SET1FLAGD_SET0
wwwwwwwwwwwwwwww

Bits 31:16 FLAGR_SETy: Flag set for LEy registered output (y = 15 to 0)
0: No effect
1: Set flag

Bits 15:0 FLAGD_SETy: Flag set for LEy direct output (y = 15 to 0)
0: No effect
1: Set flag

22.6.14 PLAY flag clear register (PLAY_FLCLR)

Address offset: 0x228

Reset value: 0x0000 0000

This register allows software to clear the state of the LE output flags. It is a functional register and is reset automatically by hardware.

If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).

31302928272625242322212019181716
FLAGR_CLR15FLAGR_CLR14FLAGR_CLR13FLAGR_CLR12FLAGR_CLR11FLAGR_CLR10FLAGR_CLR9FLAGR_CLR8FLAGR_CLR7FLAGR_CLR6FLAGR_CLR5FLAGR_CLR4FLAGR_CLR3FLAGR_CLR2FLAGR_CLR1FLAGR_CLR0
wwwwwwwwwwwwwwww
1514131211109876543210
FLAGD_CLR15FLAGD_CLR14FLAGD_CLR13FLAGD_CLR12FLAGD_CLR11FLAGD_CLR10FLAGD_CLR9FLAGD_CLR8FLAGD_CLR7FLAGD_CLR6FLAGD_CLR5FLAGD_CLR4FLAGD_CLR3FLAGD_CLR2FLAGD_CLR1FLAGD_CLR0
wwwwwwwwwwwwwwww

Bits 31:16 FLAGR_CLRy: Flag clear for LEy registered output (y = 15 to 0)

0: No effect

1: Clear flag

Bits 15:0 FLAGD_CLRy: Flag clear for LEy direct output (y = 15 to 0)

0: No effect

1: Clear flag

22.6.15 PLAY flag interrupt enable register (PLAY_FLIER)

Address offset: 0x22C

Reset value: 0x0000 0000

This register enables interrupt requests based on LE output flag state. It is a functional register and is reset by play_rstn and play_app_rstn.

If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).

31302928272625242322212019181716
FLAGR_IEN15FLAGR_IEN14FLAGR_IEN13FLAGR_IEN12FLAGR_IEN11FLAGR_IEN10FLAGR_IEN9FLAGR_IEN8FLAGR_IEN7FLAGR_IEN6FLAGR_IEN5FLAGR_IEN4FLAGR_IEN3FLAGR_IEN2FLAGR_IEN1FLAGR_IEN0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
FLAGD_IEN15FLAGD_IEN14FLAGD_IEN13FLAGD_IEN12FLAGD_IEN11FLAGD_IEN10FLAGD_IEN9FLAGD_IEN8FLAGD_IEN7FLAGD_IEN6FLAGD_IEN5FLAGD_IEN4FLAGD_IEN3FLAGD_IEN2FLAGD_IEN1FLAGD_IEN0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 FLAGR_IENy: Flag interrupt enable for LEy registered output (y = 15 to 0)
0: No interrupt is generated on play_irq
1: An interrupt is generated on play_irq if PLAY_FLSTAT.FLAGRy = 1

Bits 15:0 FLAGD_IENy: Flag interrupt enable for LEy direct output (y = 15 to 0)
0: No interrupt is generated on play_irq
1: An interrupt is generated on play_irq if PLAY_FLSTAT.FLAGDy = 1

22.6.16 PLAY flag control register (PLAY_FLCTL)

Address offset: 0x230

Reset value: 0x0000 0000

This register selects the direction of signal transition to set the corresponding LE output flag. It is a functional register and is reset by play_rstn and play_app_rstn.

If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).

Caution: play_clk must be active when writing to this register. Any subsequent write access to this register is ignored until the write completes. Software must poll the PLAY_FLCTL write busy flag in the PLAY miscellaneous status register (PLAY_MSR) to make sure that no writes are pending. If play_clk is slow compared to the bus clock, pclk, a write may take a long time to complete. In this case, the PLAY_FLCTL register write complete interrupt - see PLAY interrupt status register (PLAY_ISR) - can be used to signal to the software when the register can be accessed again.

31302928272625242322212019181716
FLAGR_EDGE 15FLAGR_EDGE 14FLAGR_EDGE 13FLAGR_EDGE 12FLAGR_EDGE 11FLAGR_EDGE 10FLAGR_EDGE 9FLAGR_EDGE 8FLAGR_EDGE 7FLAGR_EDGE 6FLAGR_EDGE 5FLAGR_EDGE 4FLAGR_EDGE 3FLAGR_EDGE 2FLAGR_EDGE 1FLAGR_EDGE 0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
FLAGD_EDGE 15FLAGD_EDGE 14FLAGD_EDGE 13FLAGD_EDGE 12FLAGD_EDGE 11FLAGD_EDGE 10FLAGD_EDGE 9FLAGD_EDGE 8FLAGD_EDGE 7FLAGD_EDGE 6FLAGD_EDGE 5FLAGD_EDGE 4FLAGD_EDGE 3FLAGD_EDGE 2FLAGD_EDGE 1FLAGD_EDGE 0
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:16 FLAGR_EDGEy: Edge direction for LEy registered output (y = 15 to 0)
0: FLAGRy is set by a falling edge on leoutry
1: FLAGRy is set by a rising edge on leoutry

Bits 15:0 FLAGD_EDGEy: Edge direction for LEy direct output (y = 15 to 0)
0: FLAGDy is set by a falling edge on leoutdy
1: FLAGDy is set by a rising edge on leoutdy

22.6.17 PLAY miscellaneous status register (PLAY_MSR)

Address offset: 0x234

Reset value: 0x0000 0000

This register allows software to read the state of miscellaneous status flags (not including LE output flags). It is a functional register and is reset by play_rstn and play_app_rstn.

If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FLCTL
WBFS
SWIN
WBFS
rr

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 FLCTLWBFS: PLAY_FLCTL register write busy flag status

0: PLAY_FLCTL register can be written

1: Write is pending, any new write access to PLAY_FLCTL register is ignored

Bit 0 SWINWBFS: PLAY_SWIN register write busy flag status

0: PLAY_SWIN register can be written

1: Write is pending, any new write access to PLAY_SWIN, PLAY_SWINCLR or PLAY_SWINSET registers is ignored

22.6.18 PLAY interrupt status register (PLAY_ISR)

Address offset: 0x238

Reset value: 0x0000 0000

This register allows software to read the state of the interrupt request sources. The PLAY_ISR register must be read first of all when the play_irq is asserted, to identify the source(s) of the interrupt request. It is a functional register and is reset by play_rstn and play_app_rstn.

If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).

BitRegister NameDescriptionReservedReservedReservedReservedReservedReservedReservedReservedReservedReservedReservedReservedReserved
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FLAGSFLCTL WCSWIN WC
rrr
Bit 2FLAGS: Flag interrupts status
Bit 1request FLCTLWC: PLAY_FLCTL register write complete interrupt status
Bit 0SWINWC: PLAY_SWIN register write complete interrupt status
by flags - seeSection 22.6.14: PLAY flag clear register (PLAY_FLCLR). It is a functional
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
151413121110987654321 FLCTL0 SWIN
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.WC_CLWC_CL
R RR R
w ww w
Bit 1FLCTLWC_CLR 0: No action: PLAY_FLCTL register write complete interrupt clear

Bits 31:3 Reserved, must be kept at reset value.

Bit 2 FLAGS: Flag interrupts status

0: No flag interrupts active

1: One or more bits in PLAY_FLSTAT register is active and has generated an interrupt request

Bit 1 FLCTLWC: PLAY_FLCTL register write complete interrupt status

0: Interrupt request is not pending

1: Interrupt request is pending

Bit 0 SWINWC: PLAY_SWIN register write complete interrupt status

0: Interrupt request is not pending

1: Interrupt request is pending

22.6.19 PLAY interrupt clear register (PLAY_ICR)

Address offset: 0x23C

Reset value: 0XXXXX XXXX

This register allows software to clear active interrupt requests, except for those generated by flags - see Section 22.6.14: PLAY flag clear register (PLAY_FLCLR). It is a functional register.

If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 FLCTLWC_CLR: PLAY_FLCTL register write complete interrupt clear

0: No action

1: Clear interrupt request

Bit 0 SWINWC_CLR: PLAY_SWIN register write complete interrupt clear

0: No action

1: Clear interrupt request

22.6.20 PLAY interrupt enable register (PLAY_IER)

Address offset: 0x240

Reset value: 0x0000 0000

This register allows software to enable or disable interrupt requests, except for those generated by flags - see Section 22.6.15: PLAY flag interrupt enable register (PLAY_FLIER). It is a functional register and is reset by play_rstn and play_app_rstn.

If PLAY_SECCFGR.SEC[1] = 1, the register requires secure access (nonsecure accesses are ignored).

If PLAY_PRIVCFGR.PRIV[1] = 1, the register requires privileged access (unprivileged accesses are ignored).

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FLCTL WC_IENSWIN WC_IEN
rwrw

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 FLCTLWC_IEN: PLAY_FLCTL register write complete interrupt enable

0: Interrupt disabled

1: Interrupt enabled. An interrupt is generated when a write to the PLAY_FCTL register completes

Bit 0 SWINWC_IEN: PLAY_SWIN register write complete interrupt enable

0: Interrupt disabled

1: Interrupt enabled. An interrupt is generated when a write to the PLAY_SWIN register completes

22.7 PLAY register map

Table 190. PLAY register map and reset values

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x000PLAY_CFGCRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.UNLOCK
Reset value1
0x004ReservedRes.

Table 190. PLAY register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x004PLAY_SECCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEC[1:0]
Reset value00
0x008ReservedRes.
0x008PLAY_PRIVCFGRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PRIV[1:0]
Reset value00
0x00C to 0x01CReservedRes.
0x020 + 0x4 * x, (x=0 to 15)
Last address: 0x05C
PLAY_FILTxCFGRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PREMUXSE
L
[2:0]
Res.Res.Res.Res.Res.Res.Res.Res.EDGEDET
[1:0]
WIDTH
[7:0]
Reset value0000000000000
0x060 + 0x4 * x, (x=0 to 15)
Last address: 0x09C
PLAY_LExCFG1Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LUT[15:0]
Reset value0000000000000000
0x0A0 + 0x4 * x, (x=0 to 15)
Last address: 0x0DC
PLAY_LExCFG2Res.Res.CK_SEL[4:0]IN3_SEL[5:0]IN2_SEL[5:0]IN1_SEL[5:0]IN0_SEL[5:0]
Reset value000000011111111111111111111111
0x0E0 - 0x0FCReservedRes.
0x100 + 0x4 * x, (x=0 to 15)
Last address: 0x13C
PLAY_OUTxCFGRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SEL[4:0]
Reset value000000
0x140 - 0x1FCReservedRes.
0x200PLAY_SWINRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SWIN15SWIN14SWIN13SWIN12SWIN11SWIN10SWIN9SWIN8SWIN7SWIN6SWIN5SWIN4SWIN3SWIN2SWIN1SWIN0
Reset value0000000000000000
0x204PLAY_SWINSETRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SWIN15SWIN14SWIN13SWIN12SWIN11SWIN10SWIN9SWIN8SWIN7SWIN6SWIN5SWIN4SWIN3SWIN2SWIN1SWIN0
Reset value0000000000000000
0x208PLAY_SWINCLRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SWIN15SWIN14SWIN13SWIN12SWIN11SWIN10SWIN9SWIN8SWIN7SWIN6SWIN5SWIN4SWIN3SWIN2SWIN1SWIN0
Reset value0000000000000000
0x20CReservedRes.
0x210PLAY_OSRLEOUTR15LEOUTR14LEOUTR13LEOUTR12LEOUTR11LEOUTR10LEOUTR9LEOUTR8LEOUTR7LEOUTR6LEOUTR5LEOUTR4LEOUTR3LEOUTR2LEOUTR1LEOUTR0LEOUTD15LEOUTD14LEOUTD13LEOUTD12LEOUTD11LEOUTD10LEOUTD9LEOUTD8LEOUTD7LEOUTD6LEOUTD5LEOUTD4LEOUTD3LEOUTD2LEOUTD1LEOUTD0
Reset value00000000000000000000000000000000
0x214 - 0x21CReservedRes.
ST logo
ST logo

Table 190. PLAY register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x220PLAY_FLSTATFLAGR15FLAGR14FLAGR13FLAGR12FLAGR11FLAGR10FLAGR9FLAGR8FLAGR7FLAGR6FLAGR5FLAGR4FLAGR3FLAGR2FLAGR1FLAGR0FLAGD15FLAGD14FLAGD13FLAGD12FLAGD11FLAGD10FLAGD9FLAGD8FLAGD7FLAGD6FLAGD5FLAGD4FLAGD3FLAGD2FLAGD1FLAGD0
Reset value00000000000000000000000000000000
0x224PLAY_FLSETFLAGR_SET15FLAGR_SET14FLAGR_SET13FLAGR_SET12FLAGR_SET11FLAGR_SET10FLAGR_SET9FLAGR_SET8FLAGR_SET7FLAGR_SET6FLAGR_SET5FLAGR_SET4FLAGR_SET3FLAGR_SET2FLAGR_SET1FLAGR_SET0FLAGD_SET15FLAGD_SET14FLAGD_SET13FLAGD_SET12FLAGD_SET11FLAGD_SET10FLAGD_SET9FLAGD_SET8FLAGD_SET7FLAGD_SET6FLAGD_SET5FLAGD_SET4FLAGD_SET3FLAGD_SET2FLAGD_SET1FLAGD_SET0
Reset value00000000000000000000000000000000
0x228PLAY_FLCLRFLAGR_CLR15FLAGR_CLR14FLAGR_CLR13FLAGR_CLR12FLAGR_CLR11FLAGR_CLR10FLAGR_CLR9FLAGR_CLR8FLAGR_CLR7FLAGR_CLR6FLAGR_CLR5FLAGR_CLR4FLAGR_CLR3FLAGR_CLR2FLAGR_CLR1FLAGR_CLR0FLAGD_CLR15FLAGD_CLR14FLAGD_CLR13FLAGD_CLR12FLAGD_CLR11FLAGD_CLR10FLAGD_CLR9FLAGD_CLR8FLAGD_CLR7FLAGD_CLR6FLAGD_CLR5FLAGD_CLR4FLAGD_CLR3FLAGD_CLR2FLAGD_CLR1FLAGD_CLR0
Reset value00000000000000000000000000000000
0x22CPLAY_FLIERFLAGR_IEN15FLAGR_IEN14FLAGR_IEN13FLAGR_IEN12FLAGR_IEN11FLAGR_IEN10FLAGR_IEN9FLAGR_IEN8FLAGR_IEN7FLAGR_IEN6FLAGR_IEN5FLAGR_IEN4FLAGR_IEN3FLAGR_IEN2FLAGR_IEN1FLAGR_IEN0FLAGD_IEN15FLAGD_IEN14FLAGD_IEN13FLAGD_IEN12FLAGD_IEN11FLAGD_IEN10FLAGD_IEN9FLAGD_IEN8FLAGD_IEN7FLAGD_IEN6FLAGD_IEN5FLAGD_IEN4FLAGD_IEN3FLAGD_IEN2FLAGD_IEN1FLAGD_IEN0
Reset value00000000000000000000000000000000
0x230PLAY_FLCTLFLAGR_EDGE15FLAGR_EDGE14FLAGR_EDGE13FLAGR_EDGE12FLAGR_EDGE11FLAGR_EDGE10FLAGR_EDGE9FLAGR_EDGE8FLAGR_EDGE7FLAGR_EDGE6FLAGR_EDGE5FLAGR_EDGE4FLAGR_EDGE3FLAGR_EDGE2FLAGR_EDGE1FLAGR_EDGE0FLAGD_EDGE15FLAGD_EDGE14FLAGD_EDGE13FLAGD_EDGE12FLAGD_EDGE11FLAGD_EDGE10FLAGD_EDGE9FLAGD_EDGE8FLAGD_EDGE7FLAGD_EDGE6FLAGD_EDGE5FLAGD_EDGE4FLAGD_EDGE3FLAGD_EDGE2FLAGD_EDGE1FLAGD_EDGE0
Reset value00000000000000000000000000000000
0x234PLAY_MSRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
Reset value
0x238PLAY_ISRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
Reset value
0x23CPLAY_ICRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
Reset value
0x240PLAY_IERRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
Reset value
0x244 - 0x3ECReservedRes.

Refer to Section 2.3: Memory organization for the register boundary addresses.