Query on using PCM1754 DAC in STM32MP135 DK for Audio output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-21 1:19 AM
Hi,
Is it possible to utilize the PCM1754 DAC as a Sound card with the ALSA Framework on OpenSTLinux?
According to the documentation, the PCM1754 functions as a Hardware-controlled DAC, eliminating the need for additional drivers. Therefore, is it necessary to develop custom drivers for this particular DAC if we are using linux as OS?
If it is possible, are there any references for configuring device tree files and sound card configuration to facilitate this setup?
- Labels:
-
DAC
-
STM32MP13 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-24 1:45 AM - edited ‎2023-07-24 1:46 AM
@Erwan SZYMANSKI any information on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-24 2:10 AM
hi,
where you connect this dac ? and which SCK ?
maybe you can use the alsa definition from rasperry... but almost sure, you have to adapt it -> edit /etc/modules/ and /etc/modprobe.d/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-26 9:24 PM
@AScha.3 We are connecting the DAC to I2S1 port of STM32MP135
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-26 11:43 PM
again :
>and which SCK ?
dac needs sync masterclk = SCK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-28 5:28 AM
Please find the details
i2s1_pins_mx: i2s1_mx-0 {
pins {
pinmux = <STM32_PINMUX('A', 4, AF5)>, /* I2S1_WS */
<STM32_PINMUX('B', 0, AF5)>, /* I2S1_MCK */
<STM32_PINMUX('C', 0, AF6)>, /* I2S1_SDO */
<STM32_PINMUX('C', 3, AF6)>; /* I2S1_CK */
bias-disable;
drive-push-pull;
slew-rate = <1>;
};
};
i2s1_sleep_pins_mx: i2s1_sleep_mx-0 {
pins {
pinmux = <STM32_PINMUX('A', 4, ANALOG)>, /* I2S1_WS */
<STM32_PINMUX('B', 0, ANALOG)>, /* I2S1_MCK */
<STM32_PINMUX('C', 0, ANALOG)>, /* I2S1_SDO */
<STM32_PINMUX('C', 3, ANALOG)>; /* I2S1_CK */
};
};
Clocks:
clocks = <&rcc SPI1>, <&rcc SPI1_K>, <&scmi_clk CK_SCMI_PLL3_Q>, <&scmi_clk CK_SCMI_PLL3_R>;
clock-names = "pclk", "i2sclk", "x8k", "x11k";
