# BC127 Tones and i2s issues

**URL:** <https://forum.sierrawireless.com/t/bc127-tones-and-i2s-issues/12694>\
**Category:** WiFi and Bluetooth Modules\
**Created:** [May 21, 2018, 7:47pm UTC](https://forum.sierrawireless.com/t/bc127-tones-and-i2s-issues/12694 "2018-05-21T19:47:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bassmanbigc](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@bassmanbigc](https://forum.sierrawireless.com/u/bassmanbigc)\
**Post date:** [May 21, 2018, 7:47pm UTC](https://forum.sierrawireless.com/t/bc127-tones-and-i2s-issues/12694/1 "2018-05-21T19:47:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mlw](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/mlw/32/3706_2.png) [@mlw](https://forum.sierrawireless.com/u/mlw)\
**Post date:** [May 22, 2018, 7:18am UTC](https://forum.sierrawireless.com/t/bc127-tones-and-i2s-issues/12694/2 "2018-05-22T07:18:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![bassmanbigc](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@bassmanbigc](https://forum.sierrawireless.com/u/bassmanbigc)\
**Post date:** [May 22, 2018, 2:25pm UTC](https://forum.sierrawireless.com/t/bc127-tones-and-i2s-issues/12694/3 "2018-05-22T14:25:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mlw](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/mlw/32/3706_2.png) [@mlw](https://forum.sierrawireless.com/u/mlw)\
**Post date:** [May 22, 2018, 2:47pm UTC](https://forum.sierrawireless.com/t/bc127-tones-and-i2s-issues/12694/4 "2018-05-22T14:47:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![bassmanbigc](https://avatars.discourse-cdn.com/v4/letter/b/c4cdca/32.png) [@bassmanbigc](https://forum.sierrawireless.com/u/bassmanbigc)\
**Post date:** [May 22, 2018, 6:00pm UTC](https://forum.sierrawireless.com/t/bc127-tones-and-i2s-issues/12694/5 "2018-05-22T18:00:08Z")

</div>

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

 ![Capture](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/a/add52d55861e4bd7d91fc053e539290be01eac39.JPG)
