Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

Hook into I2S to create an analog output
Hook into I2S to create an analog output
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 6th February 2020, 09:22 AM   #1
Sunkan is offline Sunkan
diyAudio Member
 
Join Date: Feb 2020
Default Hook into I2S to create an analog output

I have a smart speaker with a PCM5101A chip and would like to hook into the I2S input te generate a clean audio signal. I have tried hooking into the analog outputs from the PCM5101A chip, but have been disappointed with the result. I am looking into using something like this device (audio - How to make PCM5102 DAC work on Raspberry Pi ZeroW? - Raspberry Pi Stack Exchange) to have a separate audio signal that is not being shared with the rest of the PCB that is holding the PCM5101A chip.

Here is the pin configuration of the chip I want to steal the I2S signal from:

Click the image to open in full size.
  Reply With Quote
Old 6th February 2020, 10:10 AM   #2
abraxalito is online now abraxalito  United Kingdom
diyAudio Member
 
abraxalito's Avatar
 
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
The pins you need are 13 for BCK, 15 for WS/LRCK and 14 for Data. If your I2S endpoint needs a higher speed clock (like MCK) than BCK too, that's on pin 12. Don't forget a 0V connection in addition, from pin19. Keep the wires as short as practical, especially if using pin12.
__________________
I know you think you understand what you thought I said but I'm not sure you realize that what you heard is not what I meant - Alan Greenspan
  Reply With Quote
Old 6th February 2020, 10:41 AM   #3
Sunkan is offline Sunkan
diyAudio Member
 
Join Date: Feb 2020
Thanks for your reply!

I created a schematic for the solution you proposed.
  1. What about VIN? Shouldn't it be connected to pin 20?
  2. Pin 8 says "analog power supply 3.3V" on the datasheet. Do I need to connect it to A3V3 in order to power the analog outputs?
  3. About SCK / BCK, do you mean that I will only need one of those?

Click the image to open in full size.
  Reply With Quote
Old 6th February 2020, 11:03 AM   #4
abraxalito is online now abraxalito  United Kingdom
diyAudio Member
 
abraxalito's Avatar
 
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
I omitted to mention power. Yes you need a power source for your DAC board, it could be from pin20 or perhaps from pin8. Pin8 looks safer as pin20 could just be 1.8V on your particular PCB.

I'd suggest don't connect SCK as the PCM5101A generates SCK itself when not supplied. So connect just 3 signal lines, plus power.
__________________
I know you think you understand what you thought I said but I'm not sure you realize that what you heard is not what I meant - Alan Greenspan
  Reply With Quote
Old 6th February 2020, 12:07 PM   #5
Sunkan is offline Sunkan
diyAudio Member
 
Join Date: Feb 2020
I placed an order on a device. It will take about a week for it to arrive. I will post an update after trying it out.

Thanks for the help!
  Reply With Quote

Reply


Hook into I2S to create an analog outputHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HDMI DAC for analog 7.1 output Fusion916 Digital Line Level 10 11th July 2014 04:38 PM
How to create +/- DC from a single transformer output without center tap? eboy2003 Power Supplies 15 6th April 2008 02:39 PM
I2S digital output in Marantz CD4000 and four TDA1541A with balance analog output iklari14 Digital Source 30 18th July 2003 01:57 PM


New To Site? Need Help?

All times are GMT. The time now is 02:24 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.79%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Copyright ©1999-2020 diyAudio
Wiki