PNX1500E NXP Semiconductors, PNX1500E Datasheet - Page 568

PNX1500E

Manufacturer Part Number
PNX1500E
Description
Manufacturer
NXP Semiconductors
Datasheet

Specifications of PNX1500E

Lead Free Status / Rohs Status
Not Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PNX1500E
Manufacturer:
NORTEL
Quantity:
1 000
NXP Semiconductors
Volume 1 of 1
PNX15XX_PNX952X_SER_N_4
Product data sheet
3.2.10 SPDI_BPTR and the Start of an IEC60958 Block
3.2.8 SPDI_BASEx and SPDI_SIZE Registers and Memory Buffers
3.2.9 SPDI_SMPMASK and Sample Size Masking
registers are updated with user data bits information from the previous block. The
meaning of the user data is application dependent. The SPDI_CTL.UCBITS_SEL
register determines which set (subframe 1 or 2) of 192 user data bits will be captured.
SPDI_BASE1 and SPDI_BASE2 are used to select the main memory buffer starting
addresses used for DMA of audio data samples. At the start of SPDIF Input capture,
the hardware will begin filling the memory buffer beginning at the address specified in
the SPDI_BASE1 register. Once this buffer is filled, the hardware will switch buffers
and begin filling the memory buffer starting at the address specified in the
SPDI_BASE2 register. The size of these DMA buffers is specified in the SPDI_SIZE
register. Note that the hardware limits the buffer size and starting address to be
aligned to 64 byte addresses. Assignment to SPDI_BASE1, SPDI_BASE2 and
SPDI_SIZE have no effect on the state of the SPDI_STATUS flags. Any change to the
SPDI_BASE1 or SPDI_BASE2 registers should only be done while a memory buffer
is not being used by the hardware DMA.
The SPDI_SMPMASK register allows per bit masking the least significant 8 bits of the
incoming samples (corresponding to subframe bits [11:4]). The SMASK setting only
applies to 32-bit capture mode (i.e. SAMP_MODE = 01). The 8 bits of SMASK will
determine which subframe bits [11:4] will be captured and stored in memory. To reject
a particular bit ( within subframe bits [11:4] ) in an audio sample, set the corresponding
SMASK[7:0] bit to logic ‘1’. The default value of SMASK is 0x00.
Note the sense of the mask operation! Setting SMASK[7:0] bits to logic ‘1’ will zero
the corresponding subframe bit [11:4]. Others will pass unchanged!
Ex 1. The capture mode is configured for 32-bit stereo capture (SAMP_MODE = 01
and CHAN_MODE = 00). It is desired to store only 20 bit sample pairs. The left/right
channels incoming subframe bits [27:4] consist of a 24 bit samples of the form L =
0xABCDEF and R = 0x123456 respectively. To retain the most significant 20 bits (i.e.
keep ‘ABCDE’ in the left sample and ‘12345’ in the right sample) and write them to
memory, set the SMASK[7:0] bits to ‘0x0F’. During capture and once the samples are
masked, the least significant ends are zero extended to 32 bits. The result is a 32 bit
sample pair of the form L = ‘0xABCDE000’ and R = ‘0x12345000’. The samples are
finally stored in memory subject to endian control.
The masking operation applies to all memory bound samples.
During SPDIF Input capture, memory buffers are continuously filled with input data.
As input blocks are filling the memory buffers, the address of the first instance of a
frame 0 in a particular memory buffer changes continuously. To aid software with the
task of finding the start of a block in memory, the SPDI_BPTR contains the address of
the first occurrence of a frame 0 (indicating the starting boundary of a complete 192
frame block) within the last filled memory buffer - either BUF1 or BUF2. This function
is useful during capture of non-PCM coded data as found in IEC61937 data streams.
The software driver can use SPDI_BPTR to find the beginning of an IEC60958 block
and then quickly determine the location of any sync condition thereafter embedded in
the non-PCM data structure.
Rev. 4.0 — 03 December 2007
PNX15xx/952x Series
Chapter 18: SPDIF Input
© NXP B.V. 2007. All rights reserved.
18-568

Related parts for PNX1500E