Main Content

nrPUCCH2Config

PUCCH format 2 configuration parameters

    Description

    The nrPUCCH2Config object sets physical uplink control channel (PUCCH) configuration parameters for format 2, as defined in TS 38.211 Sections 6.3.2.1, 6.3.2.5, and 6.4.1.3.2 [1]. By default, the object configures the PUCCH with format 2 occupying the starting resource block (RB) in the bandwidth part (BWP) and the last orthogonal frequency division multiplexing (OFDM) symbol in the slot of 14 OFDM symbols.

    Creation

    Description

    pucch = nrPUCCH2Config creates a default PUCCH configuration object for format 2.

    example

    pucch = nrPUCCH2Config(Name,Value) specifies properties using one or more name-value pairs. Enclose each property in quotes. For example, 'NSizeBWP',200 specifies 200 physical resource blocks (PRB) in the bandwidth part (BWP).

    Properties

    expand all

    Number of PRBs in the BWP, specified as [] or an integer from 1 to 275. To set this property to the NSizeGrid property of the nrCarrierConfig object, use [].

    Data Types: double

    Starting PRB index of the BWP relative to the common resource block 0 (CRB 0), specified as [] or an integer from 0 to 2473. To set this property to the NStartGrid property of the nrCarrierConfig object, use [].

    Data Types: double

    OFDM symbol allocation of the PUCCH within a slot, specified as [] or a two-element vector of nonnegative integers. The first element of this property represents the start of symbol allocation. The second element represents the number of consecutively allocated OFDM symbols and must be set to 1 or 2. To indicate no that OFDM symbols are allocated for the PUCCH, use [] or specify the second element of the vector as 0.

    Data Types: double

    PRB (0-based) allocation of the PUCCH within the BWP, specified as a vector of integers from 0 to 274. To indicate that no resource blocks are allocated for the PUCCH, use [].

    Data Types: double

    Frequency hopping configuration for the PUCCH, specified as one of these options.

    • 'neither' — Indicates no frequency hopping

    • 'intraSlot' — Enables intraslot frequency hopping

    • 'interSlot' — Enables interslot frequency hopping

    When you enable interslot frequency hopping, the slot number determines the starting resource block for the allocated OFDM symbols. For even-numbered slots, the resource block starts from the minimum resource block allocated in the PRBSet property. For odd-numbered slots, the resource block starts from the resource block provided in the SecondHopStartPRB property.

    Data Types: char | string

    Starting PRB index of the second hop relative to the BWP, specified as an integer from 0 to 274.

    Data Types: double

    PUCCH scrambling identity, specified as [] or an integer from 0 to 1023.

    • If the higher-layer parameter dataScramblingIdentityPUSCH is configured, this property must be in the range from 0 to 1023.

    • If the higher-layer parameter dataScramblingIdentityPUSCH is not configured, this property must be equal to the physical layer cell identity and be in the range from 0 to 1007.

    When you specify this property as [], the object sets the PUCCH scrambling identity to the physical layer cell identity specified by the NCellID property of the nrCarrierConfig object.

    Data Types: double

    Radio network temporary identifier of the user equipment (UE), specified as an integer from 0 to 65,535.

    Data Types: double

    Demodulation reference signal (DM-RS) scrambling identity, specified as [] or an integer from 0 to 65,535.

    • If the higher-layer parameter scramblingID0 is configured, this property must be in the range from 0 to 65,535.

    • If the higher-layer parameter scramblingID0 is not configured, this property must be equal to the physical layer cell identity and be in the range from 0 to 1007.

    When you specify this property as [], the object sets the DM-RS scrambling identity to the physical layer cell identity specified by the NCellID property of the nrCarrierConfig object.

    Data Types: double

    Examples

    collapse all

    Create a default PUCCH configuration object for format 2.

    pucch = nrPUCCH2Config;

    Specify the starting PRB index of the BWP relative to the CRB 0 as 1005, the PRB allocation of the PUCCH to range from 70 to 74 (occupying 5 resource blocks), and the PUCCH to span the first two OFDM symbols in each slot. Enable intraslot frequency hopping and set the starting PRB index of the second hop as 35. Set the data scrambling identity to 450 and the radio network temporary identifier of the UE to 12,034. Display the object properties.

    pucch.NStartBWP = 1005;
    pucch.SymbolAllocation = [0 2];
    pucch.PRBSet = 70:74;
    pucch.FrequencyHopping = 'intraSlot';
    pucch.SecondHopStartPRB = 35;
    pucch.NID = 450;
    pucch.RNTI = 12034;
    disp(pucch)
      nrPUCCH2Config with properties:
    
                 NSizeBWP: []
                NStartBWP: 1005
         SymbolAllocation: [0 2]
                   PRBSet: [70 71 72 73 74]
         FrequencyHopping: 'intraSlot'
        SecondHopStartPRB: 35
                      NID: 450
                     RNTI: 12034
                     NID0: []
    

    References

    [1] 3GPP TS 38.211. “NR; Physical channels and modulation.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.

    Extended Capabilities

    C/C++ Code Generation
    Generate C and C++ code using MATLAB® Coder™.

    Introduced in R2021a