Implementation DAC PT8211 #108
compactflash
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Hi compactflash, |
Beta Was this translation helpful? Give feedback.
1 reply
-
SCHEMATIC PT8211 AND STM32F407VETX |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Wolle
Is there a way for you to implement a function to use the DAC PT8211 . The serial bus input data format of PT8211 is Japanese or called LSBJ (Least Significant Bit Justified) format. So it is required to change a value in your Audio.cpp from MSB to LSB
m_i2s_config.channel_format = I2S_CHANNEL_FMT_RIGHT_LEFT;
m_i2s_config.communication_format = (i2s_comm_format_t)(I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_MSB);
m_i2s_config.intr_alloc_flags = ESP_INTR_FLAG_LEVEL1; // high interrupt priority
Last fall I have released a PCB for the great ESPINO32 Project with a PCM5102B. Now I am planing a new one with easier to handle parts , especially the DAC . The PT8211 is working fine and simple to solder . There is no problem for me to change it in the Audio.cpp but it would be nice to configure it in a special settings.h for my project .
Beta Was this translation helpful? Give feedback.
All reactions