CSR8645 Bluetooth 4.0 AAC APT-X Module / Baseboard

Hmm, may you post a picture please?

(Using only R+/L+ indicates a module with opamp, the differential outputs can't be used like that directly)

That is exactly how I use it. By using only + I get half of total voltage, but for feeding an amp that is enough.

The noise issue is kind of solved. I have switched from a computer PSU to a 12 V wall adapter with a transformer and there is no noise if CSR8645 module is powered by a Li Ion battery. If CSR8645 is powered by LM317 from the same 12V, there is some hum noise. I wonder what is the best way to get rid of that hum.
 
Hey everyone,

I sent an email to doctormord, don't know why I did that instead of posting here... So here's my request.

I'm trying to build some bluetooth grado headphones, and the module works OK but I need a way to do the equalizer settings, either from the Universal Frontend, or from a GAIA App.

I was able to enable the GAIA test keys but I can't access the equalizer from Universal Front End or GAIA test app. I'm using an FTDI breakout board with lorf's csr-spi-ftdi driver, and UFE always says that the module is not enabled (I can read and write PSKeys with PSTools no pb). I was also able to get the USB Link working with PSTools (transport type USB, \\.\csr0 thingy), but UFE doesn't see it. The GAIA android app allows me to switch the LED on/off and shows the battery status, but the debug shows that EQ is not enabled.

Could anyone with the EQ working send full dumps of their PSKeys so that I can see the diff between your module and mine ? Could you also explain how you accessed the settings from UFE (transport type, do you have an official USB-SPI or an FT232 clone, UFE / ADK version, ...).

Anyone wanting to test the GAIA communication, you can find test keys tied to a test bt address in a document floating on the chinese internets. I don't have the exact name of the pdf right here but I can post it later if anyone is interested.

Regards,
 
Hello, most of my questions are already answered.

Anyone wanting to test the GAIA communication, you can find test keys tied to a test bt address in a document floating on the chinese internets. I don't have the exact name of the pdf right here but I can post it later if anyone is interested.

Regards,

So You have GAIA app? Can U share it? I would love to see it.

Also anybody tried comminicate with Bluetooth serial via RX/TX pins? If it can "talk" like HC05 ? [I know that some boards does not have it pins but i bought my module here LINK and it seems like everything has it's own solderpads [tiny, but still]
 
Sorry for answering a bit late, the forum didn't notify me by email...

For the GAIA app, I just used the GAIA Test App for Android. APK and source code can be downloaded from the usual chinese websites, along with the documents giving a demo licence and the PSKEYS needed to be set. I'm not sure I can give more "precise" information here, but the App Note from CSR is named CS-220527-AN-2. You might want to read it :)

I was able to get a GAIA connection with my module from my own android code, but I didn't push it farther since I don't have EQ enabled yet, and that's the main reason I want to use this API.
 
...If CSR8645 is powered by LM317 from the same 12V, there is some hum noise. I wonder what is the best way to get rid of that hum.

This is my solution to the noise in the power supply with lm317.
Keep in mind, that lm317 is perfectly capable of maintaining reference voltage 1.25V up to 100kHz(-3dB). The trick is to use capacitor(1u - 10uF) on the "bottom" resistor to maintain the voltage on the divider as stable as possible independent of the output current.

The drawbacks of using LM317 instead of LDO are:
- the need for dual diode to protect the circuit at turn off from voltage in the capacitor.
- Large voltage drop because of the lm317(usually around 2V)
- High power dissipation at high current(eg. 1A at 2V drop = 2W => TO220 case can heat up to 100°C without heatsink)

Attached is the last iteration of circuit I use, for powering noise sensitive preamplifiers, that is serving me quite well.
 

Attachments

  • DC_power_filtering.jpg
    DC_power_filtering.jpg
    41.9 KB · Views: 849
I measured the performance of by breakout board. This configuration doesn't make use of the flybuck isolated analog supply option. It's straight cascaded LDO option.

TPS7A6601-Q1 input LDO (5-40V)
TPS799 Ultra Low Noise, High PSRR LDO Vdigital
TPS799 Ultra Low Noise, High PSRR LDO Vanalog

Analog GND is linked to system GND at one point only.

attachment.php


Static noise with open link:
attachment.php


1kHz at -6dBV output level:
attachment.php


THD at -3dBV:
attachment.php


With harmonics at 0.005% at THD at around 0.01% i would call this a descent audio performance.

Complete results are shown here:

CSR8645 Bluetooth 4.0 ? APT-X MP3 AAC FastStream ? Breakout Board ? #360customs
 

Attachments

  • 1kHz_SA_Silence.png
    1kHz_SA_Silence.png
    29.7 KB · Views: 1,148
  • 1kHz_SA_-6dBV.png
    1kHz_SA_-6dBV.png
    30.1 KB · Views: 1,169
  • Dist_-3dBV_Line.png
    Dist_-3dBV_Line.png
    41 KB · Views: 1,166
  • IMG_8938_1280.jpg
    IMG_8938_1280.jpg
    112.8 KB · Views: 1,560
Last edited:
Problem

Well, my ic does'n work [kind of]. When I power it on it takes 6-12 mA [jumps up then decay] and i can't find it on smartphone bluetooth. Also when I tried to read PS keys using FTDI it doesn't work. I used 100 Ohm resistor as jumpers and 10K pull-up on SPI-PCM pin. Also when powered and connected to headphones nothing is happening. LED also won't light up. Any idea how to fix it?
 
I measured the performance of by breakout board. This configuration doesn't make use of the flybuck isolated analog supply option. It's straight cascaded LDO option.

TPS7A6601-Q1 input LDO (5-40V)
TPS799 Ultra Low Noise, High PSRR LDO Vdigital
TPS799 Ultra Low Noise, High PSRR LDO Vanalog

Analog GND is linked to system GND at one point only.

attachment.php


Static noise with open link:
attachment.php


1kHz at -6dBV output level:
attachment.php


THD at -3dBV:
attachment.php


With harmonics at 0.005% at THD at around 0.01% i would call this a descent audio performance.

Complete results are shown here:

CSR8645 Bluetooth 4.0 ? APT-X MP3 AAC FastStream ? Breakout Board ? #360customs

I agree. I'm going to try APTX! Thank you for testing this.

I have ordered this (below) to work with my LG G5 phone. https://world.taobao.com/item/540407993343.htm?fromSite=main&spm=a1z09.2.0.0.E59Aav&_u=310d5b0gaf8c The phone has APTX-HD but I can't find a cheap receiver with HD, but there are a few APTX low latency with ES9023 DACs.
TB2ucZbXY1J.eBjy1zeXXX9kVXa_!!230947266.png_600x600.jpg

TB23XyaaiGO.eBjSZFEXXcy9VXa_!!230947266.png_600x600.jpg

TB2ByB8ahaK.eBjSZFwXXXjsFXa_!!230947266.png_600x600.jpg
 
Last edited:
CSRA64215 works with ES9018K2M dac board over I2S.

Thanks to this thread and some luck I have made two dacs/amps with a bluetooth receiver. One is a car bluetooth dac/amp and the other one is a pocket sized dac/amp for use with a smartphone or tablet.
Thank you all who replied about fixing the noise issue with CSR 8645. For the most part, loud clicking noise was due to using only one phase of analog out from CSR 8645 module. After I made a proper low pass filter the clicking noise is gone.
The other source of noise was a computer PSU that I used as a 12V power source, after switching to a simple transformer 12V adapter the noise is gone.

Thanks to a post about CSR64215 with I2S support, I have ordered that module as well and I can confirm that it works with an ES 9018 K2M dac board over the I2S. It all worked on first try and sound quality is really good and a big improvement over smartphone/tablet audio and even over a PCM 5102 based dac. ES9018 K2M dac board is very cheap at only $12 on AliExpress and is made with good quality caps (Panasonic, Elna) and resistors. For those who wanted ESS 9018 sound in a pocket or for home use, you can now put it together for about $40 including the battery and aluminium case (see links below).
I have tried playing different files with Android 7.1, Android 5.0.2 and Win 10 devices and all work without issues. CSR64215 (and CSR8645) auto connects after power off, so there is no need to pair to it again unless you are using several different bluetooth devices. It plays different bitrate files without any issues. I have tried uncompressed PCM at 1.4 Mbits and some high res files 192 kHz and 384 kHz at 24 bit it all plays fine as long as the player supports playback of such files (MXPlayer on Android). I assume the player dose on the fly convertion to lower bitrate, but the sound quality is great.
Here is a photo of what I made. I have removed and replaced some parts. es9018k2m is now powered by a single 1117 3.3V linear reg, but I will install two LDOs to reduce power consumption (do not really expect any sound quality improvement).
DIY Audio CSR64215  ES9018.jpg
Here is how I connected it:
CSR 64215 I2S.jpg

I have bought everything from these sellers:
CSR64215 module https://www.aliexpress.com/item/CSRA64215-4-0-4-2-Bluetooth-Audio-Module-APTX-LL-TWS-I2S-Output/32716171541.html?spm=2114.13010608.0.0.6QmyOv
ES9018K2M dac board https://www.aliexpress.com/item/New-Breeze-Audio-ES9018K2M-ES9018-I2S-Input-Decoding-Board-Mill-Plate-DAC-Supports-IIS-32bit-384K/32752107364.html?spm=2114.13010608.0.0.9pBqGA
Battery https://www.aliexpress.com/item/Liter-energy-battery-3-7V-lithium-polymer-battery-103450-2000mAh-speaker-MP3-GPS-navigator-small-pudding/32681422537.html?spm=2114.13010608.0.0.LWLMhn
Aluminium case https://www.aliexpress.com/item/Aluminum-Box-Enclousure-Case-4-33-2-60-0-63-L-W-H/501141050.html?spm=2114.13010608.0.0.DRroJU

I have also found this summary on TaoBao, it confirms that CSR8645 modules do not have I2S enabled.
BT modules explained.jpg
As mentioned above. there is a module on AliExpress with properly labeled I2S output (DATA, BCK, LRCK, MCK ). It is called C10 bluetooth with I2S.
It is not clear what is the bluetooth chip on this one, but it should work with AK4497, AK4495 and AK4490 dac boards that require MCK.
The link is :https://www.aliexpress.com/item/C10-Bluetooth-I2S-Daughter-Card-5V-DC-Assembled-DAC-Board/32725179070.html?spm=2114.30010308.3.1.ijDxpQ&ws_ab_test=searchweb0_0,searchweb201602_3_10065_10068_10000074_10000032_119_10000025_10000029_430_10000028_10060_10000067_10062_10056_10055_10000062_10054_10059_10099_10000022_10103_10102_10096_10000018_10000019_10000056_10000059_10052_10053_10107_10050_10106_10051_10000053_10000007_10000050_10084_10083_10000047_10080_10082_10081_10110_10111_10112_10113_10114_10115_10000041_10000044_10078_10079_10077_10000038_429_10073_10000035_10121,searchweb201603_3,afswitch_3_afChannel,single_sort_3_default&btsid=0fa07a8c-0a7b-426f-805f-31ceff2f0ee1
I2S  another.jpg
 
Last edited:
Is someone able to solve the following problem reported by YB1UA?
I checked all the options in PSTool and HeadsetTool that could be related tostand-by mode (disabling output stage - then generating pop sound) . Nothing works.
Disabling "low power audio codec" does not solve the problem. I can’t find option similar to "keep stream alive" suggested by doctormord.

Originally Posted by YB1UA
Hi,
First of all, it makes very annoying pop sound when it is turned on (does it a few times) and when it goes into stand-by. It does not make that pop sound when the playback starts.
Is there any way to fix that?

I'd say these are the connection/power-up sounds configured within the module. Stand-by pop is due to disabling the output stage. This can be fixed by disabling the "low power audio codec" and something like "keep stream alive".
 
Popping sound with CSR 8645/ CSRA 64215 modules.

I have to clarify the issue with loud pops when a CSR 8645 module is turned on.
As it turned out, it was due to using only one phase of the analog output of CSR module. After I made a proper low pass filter, the popping sound is still there, but it is not loud and not an issue at all. So digging too deep into this may not be worth anybody's time or effort.
However, I am currently using a CSRA 64215 BT module connected to an ES 9018 K2M dac board over I2S and there are some strange background electronic sounds, not loud, but I hear them with both IEMs and full size headphones. It is strange that they are getting into the dac over I2S interface.