The CAT1A PDM/PCM Supports the following conversion parameters:
-
Mode: Mono Left, Mono Right, Stereo
-
Word Length: 16/18/20/24 bits
-
Sampling Rate: up to 48kHz
-
Left/Right Gain Amplifier: -12dB to +10.5dB in 1.5dB steps.
- Note
- If the PDM/PCM block is initialized using the cyhal_pdm_pcm_init function and the "channel recording swap" option is selected, the CYHAL_PDM_PCM_MODE_LEFT and CYHAL_PDM_PCM_MODE_RIGHT enum members refer to the origin left and right channels before the swap is applied.
The CAT1B PDM/PCM Supports the following conversion parameters:
-
Mode: Mono Left, Mono Right, Stereo
-
Word Length: 8/10/12/14/16/18/20/24/32 bits
-
Sampling Rate: up to 48kHz
-
Decimation rates: 32, 64, 96 or 128
-
Left/Right Gain Amplifier: Supported gain values are given by the formula
dB = 20 * log10(13921 / 2^x)
where x
is an integer between 0 and 31 inclusive. This provides a range of +82.5 to -103.5 dB, in approximately 5 dB steps. The requested gain will rounded to the nearest supported value.
- Note
- On CAT1B devices, if stereo mode is selected, the length of all read operations should be a multiple of two so that the left and right channels are read together.
-
On CAT1B devices, when multiple channels are configured in a configurator, each channel should be initialized via a separate call to cyhal_pdm_pcm_init_cfg.