Hi,
During my tests i’ve found a error in audio being transmitted through bluetooth, in every 30s approximately the audio fails, does you guys know what could be the cause?
I’m using a AM62P5, i’ve already tested with others telephones and had the same outcome
Here are the commands i used on the board to play the audio.
am62pxx:~# bluealsa-aplay -vvv &
[1] 590
am62pxx:~# Selected configuration:
BlueALSA service: org.bluealsa
PCM device: default
PCM buffer time: 500000 us
PCM period time: 100000 us
ALSA mixer device: default
ALSA mixer element: ‘Master’,0
Bluetooth device(s):
Profile: A2DP
bluealsa-aplay: W: Couldn’t open mixer: Mixer element not found
Used configuration for :
PCM buffer time: 743038 us (131072 bytes)
PCM period time: 371519 us (65536 bytes)
PCM format: S16_LE
Sampling rate: 44100 Hz
Channels: 2
And here is my device tree for our bluetooth configuration:
wifi_pwrseq: wifi-pwrseq {
compatible = “mmc-pwrseq-simple”;
pinctrl-names = “default”;
pinctrl-0 = <&wlan_en_pins_default>;
reset-gpios = <&main_gpio0 71 GPIO_ACTIVE_LOW>;
post-power-on-delay-ms = <200>;
power-off-delay-us = <100>;
status = “okay”;
};
&sdhci2 {
/* SDIO Wifi */
status = "okay";
assigned-clocks = <&k3_clks 226 0>;
assigned-clock-parents = <&k3_clks 226 5>;
pinctrl-names = "default";
pinctrl-0 =<&main_mmc2_pins_default>, <&wifi_32k_clk>;
bus-width = <4>;
mmc-pwrseq = <&wifi_pwrseq>;
vmmc-supply = <&wl_lt_en>;
non-removable;
ti,fails-without-test-cd;
ti,driver-strength-ohm = <50>;
cap-power-off-card;
keep-power-in-suspend;
};
&main_uart1 {
pinctrl-names = “default”;
pinctrl-0 = <&main_uart1_pins_default>;
/* Main UART1 is used by TIFS firmware /
interrupts-extended = <&gic500 GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>,
<&main_pmx0 0x01ac>; / (G23) MCASP0_AFSR.UART1_RXD */
interrupt-names = “irq”, “wakeup”;
current-speed = <3000000>;
uart-has-rtscts;
status = “okay”;
bootph-all;
bluetooth_8987 {
compatible = "nxp,88w8987-bt";
fw-init-baudrate = <115200>;
status = "okay";
post-power-on-delay-ms = <200>;
power-off-delay-us = <100>;
};
};
BR,