CSR8645 Bluetooth 4.0 AAC APT-X Module / Baseboard

// PSKEY_HOSTIO_MAP_SCO_PCM &01ab = 0001// True -enable stream to pcm
// PSKEY_HOSTIO_MAP_SCO_CODEC &01b0 = 0000// False - disable use codek
// PSKEY_HOSTIO_MAP_SCO_PCM_SLOT &01bd = 0000 - route to pcm0
// PSKEY_PCM_FORMAT &01b6 = 006c - format pcm (bitrate)
// PSKEY_PCM_CONFIG32 &01b3 = 0080 0900 - master,slave,left,rigth justified

But 8670 still stream to spdif:)
Now i try setup this to 8645

It still can't get sp-diff from my 8645(( what ever I set in keys I got analog output((( is that all keys I need to set? unfortunately If I load your dump file my 8645 module stop working at all.
 
USB Audio seems like to work:

Code:
// PSKEY_USB_VENDOR_ID
&02be = 0a12
// PSKEY_USB_PRODUCT_ID
&02bf = 1243
// PSKEY_HOST_INTERFACE
&01f9 = 0002// USB link
"1243" is the key.

attachment.php
 

Attachments

  • usb_audio.png
    usb_audio.png
    15.9 KB · Views: 748
Last edited:
Fix:

Code:
// PSKEY_USB_VENDOR_ID
&02be = 0a12
// PSKEY_USB_PRODUCT_ID
&02bf = 1243
// PSKEY_HOST_INTERFACE
&01f9 = 0002// USB link
// PSKEY_USB_VM_CONTROL
&03c0 = 0001// True

Limitation:

When running this in bus powered mode, BT is not longer working in this configuration as long as USB is connected. So device has to be in a self-powered mode, aka battery or external ldo and needs a wire patch to power the USB block from external ldo.
 
I now give up on the idea these modules are capable of outputting any digital stream with the firmware shipped. To me it looks like the firmware enumerates the parameters set by the PSkeys. (Which is valid at any time) While the PSKeys set the initial parameters, the program is free to alter the settings. So, without a different firmware, there's no hope for me.

Regarding the connection range of the baseboards shown in this thread, i tested the onboard antenna in comparsion with the Molex patch-antennas.

While the onboard antenna is good for ~10m/32ft, the Molex patch antennas provide a stable link at 40+m/131ft. (Longer distance is to be tested)
 
I've been watching this thread for a while now as I've been interested in a BT-to-digital module.

Instead I ended up ordering a CSRA64215-based module which is outputting I2S with no modification to hardware or configuration data:

https://www.aliexpress.com/item/CSR...odule-APTX-LL-TWS-I2S-Output/32716171541.html

I'm using it directly connected to a PCM5102 module for test purposes:

ASSEMBLED PCM5102 DAC decoder I2S player 32bit 384K beyond es9023 or PCM1794 | eBay

Presumably the I2S output could be connected to a WM8804 for conversion to S/PDIF if required. This is what I intend to do.

Just thought I'd mention this CSRA64215 module as an alternative as it appears to be being a struggle to get the CSR8645 to provide a suitable digital output.

Thanks
Chris
 
I've been watching this thread for a while now as I've been interested in a BT-to-digital module.

Instead I ended up ordering a CSRA64215-based module which is outputting I2S with no modification to hardware or configuration data:

https://www.aliexpress.com/item/CSR...odule-APTX-LL-TWS-I2S-Output/32716171541.html

I'm using it directly connected to a PCM5102 module for test purposes:

ASSEMBLED PCM5102 DAC decoder I2S player 32bit 384K beyond es9023 or PCM1794 | eBay

Presumably the I2S output could be connected to a WM8804 for conversion to S/PDIF if required. This is what I intend to do.

Just thought I'd mention this CSRA64215 module as an alternative as it appears to be being a struggle to get the CSR8645 to provide a suitable digital output.

Thanks
Chris

Chris,

Did you get a brief summary about the usage of the various pio pins, does the module support play/pause,next/prev through the pins ?

thanks
 
Chris,

Did you get a brief summary about the usage of the various pio pins, does the module support play/pause,next/prev through the pins ?

thanks


Hi, no unfortunately not. There was very little information supplied, however it looks as though the PIO pins are configured as follows:

PIO6 (pin 1) MUTE
PIO7 (pin 2) -
PIO8 (pin 3) PREV/VOL-
PIO9 (pin 4) NEXT/VOL+
PIO18 (pin 5) P.P/CALL
PIO21 (pin 6) TWS

Not sure if this helps you or not.

Chris
 
This can freely be chosen by the confit tool. Please keep us updated, maybe in a new Thread? I also will get one to play with.

I've successfully connected the I2S output of the CSRA64215 board to a DAC based on the PCM5102 and using the I2S clock signal, but the jitter on the clock line from the bluetooth module looks horrendous although I've not actually measured it.

I think this jitter could explain why the board won't perform well with a DAC that has its own accurate clock. I tried this and the noise on the audio output was very significant.

Chris
 
Hi, no unfortunately not. There was very little information supplied, however it looks as though the PIO pins are configured as follows:

PIO6 (pin 1) MUTE
PIO7 (pin 2) -
PIO8 (pin 3) PREV/VOL-
PIO9 (pin 4) NEXT/VOL+
PIO18 (pin 5) P.P/CALL
PIO21 (pin 6) TWS

Not sure if this helps you or not.

Chris
thank you,

it helps yes, I indeed need the mute one...which I found when I re-read carefully the link you gave...
I ordered a slightly different model than yours because I do my own pcb for a DAC project (spdif in/bluetooth/network player to an AKM DAC with external master clock)
CSRA64215 4 2 Stereo Bluetooth Audio Module Support Avrcp A2DP Apt x CSR8645 | eBay