BC127 Tones and i2s issues


#1

Hi,

I am working on a project using BC127 as an i2s slave and I am not getting any audio to stream via the bluetooth (I have tried several BT recievers).

I have been trying to validate the BT stream is working by trying to use tones. I cannot get them to play to my device and would like to know if there are any tricks to it.
I have an a2dp stream open and when I put one of the example tone sets in it takes it with no error but I get no audio.

Thanks


#2

Hi,

Its not entirely clear what you are trying to do. So you are doing the following

  • Power up BC1217
  • Pair with what?
  • Trying to stream audio over A2DP from what to the BC127 and get the audio out of the I2S?
  • What do you have connected to the I2S?

Can you send the below commands to the unit so that I can see what is going on with it?

version
status
config
list

Regards

Matt


#3

BlueCreation Copyright 2017
Melody Audio V6.1.5 MFI
Build: 1496940778
.Bluetooth address 20FABB04A9D4
.Profiles: A2DP AVRCP HFP BLE IAP
.Codecs: SBC APTX AAC APTX-LL

STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[ADVERTISING]
LINK 10 CONNECTED A2DP 00212C007BFC SUSPENDED SBC SRC 48000
LINK 11 CONNECTED AVRCP 00212C007BFC STOPPED

AUDIO=1 1
AUDIO_ANALOG=15 15 1 OFF
AUDIO_DIGITAL=0 48000 64 180290 OFF
AUTOCONN=0
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=ON 150 4200 1500 200
BC_SMART_CONFIG=68E3 28F0 89F7 D93C
BEACON_DATA=0 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 04 D2 16 2E EE
BLE_CONFIG=0 ON 40 ON
BLE_CONN_PARAMS=128 12 6 40 0 400 50 400 400 61 400 400
BT_VOL_CONFIG=A A 10 1
CLASS_1=OFF
CMD_TO=20
COD=240404
CODEC=7 ON
CONN_TO=0
DEEP_SLEEP=OFF
DEVICE_ID=0001 0002 0003 0004 0005 0006 0007 0008
DISCOVERABLE=1 0
ENABLE_BATT_IND=ON
ENABLE_CAPSENSE=OFF
ENABLE_LED=ON
ENABLE_SPP_SNIFF=OFF 0 0 0 0 0
GPIO_CONFIG=ON 0 255
HFP_CONFIG=OFF ON OFF OFF OFF
HIGH_SPEED=OFF OFF
IAP_PARAMS=5 64 OFF
LOCAL_ADDR=20FABB04A9D4
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=DigiBEAT2
NAME_SHORT=DB2
PIN=0000
PROFILES=1 0 0 1 1 1 0 0 0 0 0 1
REMOTE_ADDR=000000000000
SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB
SSP_CAPS=3
TWS_CONFIG=OFF 1 2
UART_CONFIG=9600 OFF 0
USB_HOST=OFF
VREG_ROLE=1

LIST 00212C007BFC A2DP AVRCP
LIST 88C626A975B8 A2DP

My question was 2 part:

  1. How do I get tones to play over the BT stream?
    I have tried pretty much every audio config I can and I cant get tones to play. I dont get an
    error from melody, just no sound.

  2. Are there any tricks to i2s connection that may help me?
    I know I am getting i2s signals from my host device, I can see them on a scope.
    I get a pop in my BT headphones when I tell a2dp to play music but no audio.
    I have tried tons of i2s formatting settings both on the host and BC127 side and I never get
    any change. I would expect at least some setting would give me a garbage or low quality
    audio

I discovered after my initial post that analog audio works just fine, and I immediatly got it to my BT headphones. This makes me feel confident the BT stream side of things is working. So I mostly need the i2s fixed.

Calvin


#4

Calvin,

Couple of Q’s.

  • Any reason you are using the MFi build?
  • I presume the figures in the digital_audio parameter are just left over from your fettering?
  • Have you tried the tones command with the analog audio interface? I am guessing it will work on this one.

Thing with I2S (and most digital interfaces it goes from nothing to perfectly working so there is unlikely to be anything in between to give you the garbage, etc you are referring to.

Regards

Matt


#5

I am developing a product that will stream to an iphone app so the MFi is needed.

Yes, I have kind of just tried every setting that may work on the i2s param2.

I couldnt get tones out of the analog interface but I can get my 1kHz test tone just fine.
Honestly the tones are not important to me past a diagnostic tool to see if I had a connection.
Now that I know the the BT stream is fine I am not so worried about that.

Could you explan to me what some of the i2s param2 do?
Specifically bits 0 and 1 Everything else seems self explanatory.

Calvin