Vendor: CAST Category: PDM

PDM Receiver/PDM-to-PCM Converter

This PDM2PCM is a configurable audio interface core that converts a mono or stereo Pulse Density Modulation (PDM) stream into sta…

Overview

This PDM2PCM is a configurable audio interface core that converts a mono or stereo Pulse Density Modulation (PDM) stream into standard Pulse Code Modulation (PCM) format. PCM output widths are programmable from 2 to 32 bits, and all standard audio sampling rates are achievable via an adjustable Oversampling Ratio (OSR) from 32x to 256x.

The processing pipeline enables high-fidelity PCM audio output. It consists of:

  • a pin controller that samples PDM data on configurable clock edges,
  • a CIC decimation filter that down samples to the target rate,
  • a first-order IIR high-pass filter for DC/low-frequency noise removal (coefficient set in Q1.31 format),
  • a digital programmable gain amplifier (PGA) which provides volume control from -114.4 dB to -30.1 dB, and
  • a quantizer with dithering to minimize quantization noise.

Output saturation logic prevents PCM overflow, and a max amplitude register enables runtime clipping detection.

Designed for ease of integration, the core’s control and status registers (CSR) interface is selectable between AMBA® AXI-Lite and APB. Furthermore, the PCM data can be output either via an AXI4-Stream interface for continuous sample streaming, or AXI4 manager for burst writing large audio blocks directly to external memory.

The output FIFO/buffer size is synthesis-time configurable, while the address, transfer length, and burst length for the AXI manager interface are run-time programmable. An interrupt line reports FIFO/buffer threshold crossings, with masking and clearing via dedicated CSRs.

Raw or wrapped PCM data format is also selectable at run time. Raw mode packs samples contiguously across 32-bit words for maximum density. Wrapped mode aligns samples within a configurable word width to prevent boundary spanning. The PDM2PCM operates across two clock domains—a system clock for host system interaction and data output, and a PDM bit clock for serial data acquisition—bridged by a CDC synchronization unit. The system clock is asynchronous to the serial PDM clock and must be at least 2x the serial PDM clock frequency.

clock for serial data acquisition—bridged by a CDC synchronization unit. The system clock is asynchronous to the serial PDM clock and must be at least 2x the serial PDM clock frequency.

The core is delivered as lint-clean, synthesizable Verilog RTL or a targeted FPGA netlist, with a testbench achieving 100% code coverage, a bare-metal C driver, example firmware, synthesis scripts, timing constraints, and a comprehensive user guide.

Key features

PDM-to-PCM Conversion

  • Mono and stereo modes with configurable polarity-to-channel mapping
  • All standard audio sample rates
  • OSR programmable from 32x to 256x
  • 2- to 32-bit PCM output samples
  • Raw-mode and Wrapped-mode PCM support

High-Fidelity Audio

  • Maximum amplitude tracking for real-time clipping and headroom monitoring
  • Fifth-order CIC decimation filter followed by a droop-compensation FIR filter
  • Configurable high-pass filter to remove DC offset and low frequency noise
  • Spreads harmonic distortion into the noise floor for improved audio quality at low input levels.

Software Configurable Options

  • Digital volume control & soft mute
  • Sample Rate & oversampling ratio
  • PCM output format and sample width
  • High pass filter coefficient
  • Selectable rising or falling clock edge for channel 0

SoC System Interfaces

  • CSR: AXI-Lite or APB
  • Data: AXI4-Stream or AXI4 manager
  • Maskable interrupt reporting FIFO/buffer overflows

Block Diagram

What’s Included?

  • Lint-clean Verilog RTL source code or targeted FPGA netlist
  • Integration testbench
  • Simulation & synthesis scripts
  • Comprehensive user documentation
  • Bare-metal device driver

Specifications

Identity

Part Number
PDM2PCM
Vendor
CAST
Type
Silicon IP

Files

Note: some files may require an NDA depending on provider policy.

Provider

CAST
HQ: USA
CAST is a silicon intellectual property (IP) developer, aggregator, and integrator providing IP cores and subsystems since 1993. Our product line features both leading-edge and standards-based digital IP, including compression engines and image processing functions; 8051 microcontrollers and low-power 32-bit BA2X™ processors; industry-leading automotive interfaces; a complete family of SoC security modules; and a variety of peripherals, interfaces, and other IP cores. Our goal is to maximize IP benefits for our customers by delivering high quality, easy to use, cost effective solutions for real system development challenges. We minimize customer risk through rigorous development standards, complete deliverables with comprehensive documentation, and superlative customer support. We maximize customer value thorough competitive pricing and simple licensing—including royalty-free options—and long-term partnerships with all leading silicon providers and select technology leaders. Our product standards and business practices have been uniquely honed through successful projects with hundreds of systems designers since the very beginnings of the IP industry, making CAST one of the best IP partners available.

Learn more about PDM IP core

Leverage always-on voice trigger IP to reach ultra-low power consumption in voice-controlled devices

Due to the lack of thorough specifications to assess the performance of voice detection solutions, it is a real conundrum for users to evaluate the best solution among a jungle of true and false detection claims and without any benchmark. ?The aim of this article is to help IP procurement managers, SoC architects and system makers using voice detection IP in their systems to assess and compare the detection performances.

Building a high-performance, low-power audio/voice subsystem

With the growing popularity of applications such as mobile gaming and voice triggering, the audio/voice subsystem is playing a prominent role in many mobile system-on-chip (SoC) designs. The subsystem must be designed to meet dual demands: high-performance, high-resolution audio stream processing as well as always-on, low-power voice trigger and recognition. Customizable digital signal processing (DSP) and audio/voice subsystem solution intellectual property (IP) blocks can provide a cost-effective and efficient way to develop and deliver high-performance audio/voice products.

Frequently asked questions about PDM IP cores

What is PDM Receiver/PDM-to-PCM Converter?

PDM Receiver/PDM-to-PCM Converter is a PDM IP core from CAST listed on Semi IP Hub.

How should engineers evaluate this PDM?

Engineers should review the overview, key features, supported foundries and nodes, maturity, deliverables, and provider information before shortlisting this PDM IP.

Can this semiconductor IP be compared with similar products?

Yes. Buyers can compare this product with similar semiconductor IP cores or IP families based on category, provider, process options, and structured technical specifications.

×
Semiconductor IP