This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] SK-AM62P-LP:蓝牙音频循环错误

Guru**** 2489685 points
Other Parts Discussed in Thread: AM62P

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1555550/sk-am62p-lp-bluetooth-audio-cyclic-error

器件型号:SK-AM62P-LP
主题中讨论的其他器件:AM62P5AM62P

工具/软件:

您好、

在我的测试中、我发现通过蓝牙传输音频时出现错误、大约每 30 秒音频就会失败、你们知道原因是什么吗?

我使用的是 AM62P5、我已经使用其他电话进行了测试、结果相同  

以下是我在板上用于播放音频的命令。

root@am62pxx-evm-lohr-recovery-mode:~# bluealsa-aplay <DEVICE> -vvv &
[1] 590
root@am62pxx-evm-lohr-recovery-mode:~# 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): <DEVICE>
  Profile: A2DP
bluealsa-aplay: W: Couldn't open mixer: Mixer element not found
Used configuration for <DEVICE>:
  PCM buffer time: 743038 us (131072 bytes)
  PCM period time: 371519 us (65536 bytes)
  PCM format: S16_LE
  Sampling rate: 44100 Hz
  Channels: 2

这是用于蓝牙配置的器件树:

	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、

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Sergio、

    您似乎正在使用 TI 不支持的 NXP 88w8987 芯片组蓝牙芯片组。 请将您的问题发送至 NXP 以获得更好的支持。

    如果您对 AM62P 或其 SDK 有其他问题、可以继续 在 TI 论坛上发帖。 感谢您的理解。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    可以、但 TI 环境中是否有任何我必须关注的配置或我可以执行的任何测试来至少尝试查找导致此错误的原因?   

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Sergio、

    我不会怀疑您的器件树或 Bluealsa 应用程序存在问题、因为您可以流式播放音乐一段时间。 在我看来、NXP 器件上有一些错误应由他们进行调查。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    当我修改 RTAudio 时、我有点解决了它。