Hello,
We met an issue with malfunction audio feature on BC127 module. We have a device that works under uClinux system with ALSA driver bundled. So that we use BC127 I2S to play sounds in the following format: WAVE audio, Microsoft PCM, 16 bit, stereo 16000 Hz. Sending audio data to the I2S interface is performed with aplay command line utility.
Sounds may play correctly for a long period of time (several days). But sometimes BC127 module stops playing audio and responding for commands. Neither RESET command nor reset pin (/RST pin 44) helps. Also system software reset (via reboot command) was tried, but without any results. We may restore module’s normal operation only by hardware reset via power supply cycle. Some notes about using the RESET command - that can not be done after the BC127 stops playing audio as UART interface we use for configuration also does not respond to commands.
The following commands we use to set up BC127’s audio interface:
ROUTE 2
SET AUDIO_ANALOG=10 10 1 OFF
Audio interface is connected to TS4990 amplifier with 8 Ohm speaker.
You may find configuration options below:
UART configuration
- baudrate: 9600 b/s (8-N-1)
VERSION output
BlueCreation Copyright 2017
Melody Audio V6.1.4
Build: 1493828294
Bluetooth address 20FABB098A97
Profiles: A2DP AVRCP HFP BLE SPP PBAP MAP
Codecs: SBC
OK
CONFIG output
AUDIO=0 0
AUDIO_ANALOG=10 10 1 OFF
AUDIO_DIGITAL=0 44100 64 100A00
AUTOCONN=0
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=OFF 145 4250 1500 150
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 OFF 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=0 OFF
CONN_TO=0
DEEP_SLEEP=ON
DEVICE_ID=0001 0002 0003 0004 0005 0006 0007 0008
DISCOVERABLE=2 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
LOCAL_ADDR=20FABB098A97
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=HMIBLUETOOTH
NAME_SHORT=HMIBT
PIN=0000
PROFILES=2 0 2 0 2 1 2 1 0 0 1 0
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
OK
We look forward to hearing from you.