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.

CSRA64215 > PCM5102A - I2S - No sound
CSRA64215 > PCM5102A - I2S - No sound
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 13th December 2017, 07:17 PM   #1
maxdatec is offline maxdatec  Sweden
diyAudio Member
 
Join Date: Nov 2017
Default CSRA64215 > PCM5102A - I2S - No sound

This is not my first electronics project, however it is my first digital audio project. I donīt get it to work, Iīm not sure what I missed.

Having the two modules hooked up to what I could find to be correct way, I donīt get more than clicking and buzzing sounds when trying to play music from the phone.

Iīve read a few post about it in this thread:
CSR8645 Bluetooth 4.0 AAC APT-X Module / Baseboard


As I understand a basic I2S setup looks like this:
Click the image to open in full size.

I tried it like that + having the SPI PCM connected ground (supposedly enabling I2S) + having a 10k resistor between 3,3 v and MFB (Wake up?)

Any ideas what Iīm missing?

Last edited by maxdatec; 20th December 2017 at 06:32 PM.
  Reply With Quote
Old 13th December 2017, 08:26 PM   #2
PloppyThirds is offline PloppyThirds
diyAudio Member
 
Join Date: Jun 2017
It may be because CSRA64215 modules usually have IO voltage of 1.8v which is insufficient for 5102a (think it needs 2.2v high.)

Use the datasheet to identify the IO vdd pins and check with a multi-meter to see.

I purchased ??I2S??????4.2?I2S???-??? to hopefully avoid a similar issue. Its on the usual usa retailers but a bit obscure to locate due to poor name/description.
  Reply With Quote
Old 13th December 2017, 09:35 PM   #3
maxdatec is offline maxdatec  Sweden
diyAudio Member
 
Join Date: Nov 2017
Yes, that might be the problem. The board has a pin called 1V8 which very well measures 1,8v.

It tried it with the only level shifter I had lying around, a TXB0104, but it didnīt make a difference.

The board you have must have a level shifter then dosenīt it? Maybe the speed of mine is insufficient
  Reply With Quote
Old 13th December 2017, 10:20 PM   #4
PaulFrost is offline PaulFrost
diyAudio Member
 
Join Date: Aug 2017
Do you have the schematic for the PCM5102A board? I cannot tell by looking at if you have pull-ups on the XSMT pin and a pull down on FMT to set the device into I2S mode.

Table 11 in the PCM5102A PDS shows the required sample/bck speeds required for the PCM's PLL to function.

Is there a difference in the bluetooth board between the pin labeled MOSI and the one labeled 'PCM MOSI'?
  Reply With Quote
Old 15th December 2017, 08:20 PM   #5
PloppyThirds is offline PloppyThirds
diyAudio Member
 
Join Date: Jun 2017
If possible, scope the i2s pins to verify IO voltage.

Your module 1v8 pin is most likely the digital power rail. You need to find the chip pin for VDD_PADS_1 and trace to where it meets the power source, dependent on how it is supplied (regulated 1.8v or resistor network from 3.3v) cut or modify so the vdd_pads_1 receives 3.3v because that's what the digital audio IO pins reference from.

Finding the in-module circuit schematic for CSRA 64215 modules is very difficult, another I previously inspected had a 0R resistor and unpopulated spot for selection of this voltage. Perhaps your has similar configuration?
  Reply With Quote
Old 20th December 2017, 06:32 PM   #6
maxdatec is offline maxdatec  Sweden
diyAudio Member
 
Join Date: Nov 2017
I don't have the schematics for the PCM5102A. I tried to add resistors as described but with no luck.

I read that the TXB0104 actually is recommended for I2S. (I2S level shifter - Voltage Translation / Level Shifters Forum - Voltage Translation / Level Shifters - TI E2E Community)

I donīt have a oscilloscope unfortunately so Iīm not sure how I can scope the signals. I did try to measure it with the multimeter though. When the music is stopped the I2S pins all read 0 v. When I start the music the pins reads like this:
MISO 0,48 v
CSB 0,88 v
CLK 0,88 v

So I guess there seems to be some kind of signal.


The board sure have a 0 ohm resistor exactly as you described!

Click the image to open in full size.
  Reply With Quote
Old 30th December 2017, 03:42 AM   #7
PloppyThirds is offline PloppyThirds
diyAudio Member
 
Join Date: Jun 2017
No, I meant on the blue board with the bluetooth chip. I don't think you have the equipment to make the required changes so either find a level shift solution with the required bandwidth, or just buy the board I have its ~$10 on taobao: ??I2S??????4.2?I2S???-??? or $15 on ebay: Bluetooth I2S Converter Board! Support 4.2! I2S output! | eBay
  Reply With Quote
Old 30th December 2017, 10:04 PM   #8
sidlauskas is offline sidlauskas  Lithuania
diyAudio Member
 
Join Date: May 2010
Location: Vilnius
Your wiring diagram is wrong. You have to connect 3.3v to VCC on the DAC module and not to the 3.3v. Also put a 10k resistor between SPI_PCM and GND. No need for resistor between MFB and 3.3v. Then it should work. Also have in mind that left-justified data format should be selected on the DAC as CSRA64215 by default sends the data in this format, so you will probably have to short 3.3v with the FMT pin, but check if it's not already shorted as I haven't used this particular board before.
  Reply With Quote
Old 2nd January 2018, 08:23 AM   #9
maxdatec is offline maxdatec  Sweden
diyAudio Member
 
Join Date: Nov 2017
Tried to connect it as described. Still no luck, I don't get anything other than noise. With the levelshifter I at least get a crackling noise that follow the music I'm trying to play.

Feel a little bit limited in my troubleshooting without a scope. I guess I need to invest in one.

I ordered a Converter Board module just in case I don't get this one to work.
  Reply With Quote
Old 8th January 2018, 09:40 AM   #10
sidlauskas is offline sidlauskas  Lithuania
diyAudio Member
 
Join Date: May 2010
Location: Vilnius
update: btw no need for 10k resistor between SPI_PCM and GND. It's needed for SPI programming/debugging.
  Reply With Quote

Reply


CSRA64215 > PCM5102A - I2S - No soundHide 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
CSRA64215 bluetooth modules? cfaye Class D 2 9th November 2017 02:51 AM
Pcm5102a on raspberry pi - possible improvement? peroz Digital Source 0 1st May 2016 11:13 AM
PCM5102A - SCK vs PLL (3 wire) clock df audio Digital Line Level 0 22nd May 2014 11:20 PM
SPIDF DAC with DIR9001 and PCM5102A - Questions and Suggestions df audio Digital Line Level 4 19th May 2014 01:12 AM
PCM5102a - Can anyone explain De-Emph and the Filter Options? dwjames Digital Source 3 13th November 2013 05:39 PM


New To Site? Need Help?

All times are GMT. The time now is 02:46 AM.


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