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.

[参考译文] CC33XX-SOFTWARE:CC33XX 芯片在软重启后不工作

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

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1509479/cc33xx-software-cc33xx-chip-does-not-work-after-soft-reboot

器件型号:CC33XX-SOFTWARE

工具/软件:

您好、 
我的 cc33xx 芯片具有以下配置、其中我通过 SDIO 使用 BT/WLAN: 
	reg_wlan_en: regulator-wlan {
		compatible = "regulator-fixed";
		regulator-name = "regulator-wlan";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		regulator-boot-on;
		startup-delay-us = <1000>; /* HW init grace period */
		gpio = <&gpio1 6 GPIO_ACTIVE_LOW>;  //GPIO33
		enable-active-low;
		/*regulator-always-on;*/ /* Keeps the reset pin de-asserted (high) if regulator is not in use */
	};



/* SDIO WiFi */

&usdhc1 {

	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_usdhc1>;
	bus-width = <4>;

	cap-power-off-card;
	keep-power-in-suspend;

	non-removable;
	no-sd;
	no-mmc;
	no-mmc-hs400;

	wakeup-source;
	vmmc-supply = <&reg_wlan_en>;
	status = "okay";

	// cc3351: 6.19 Interface Timing Characteristics
	max-frequency = <52000000>;

	#address-cells = <1>;
	#size-cells = <0>;

	btti: btti@1 {
		compatible = "ti,cc33xxbt";
		reg = <1>;
	};

	wlcore: wlcore@2 {
		compatible = "ti,cc33xx";
		reg = <2>;
	};
};
	pinctrl_usdhc1: usdhc1grp {
		fsl,pins = <
			MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK			0x190
			MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD			0x1d0
			MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0		0x1d0
			MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1		0x1d0
			MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2		0x1d0
			MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3		0x1d0
			MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6               0x140
		>;
	};

它只能通过硬/冷重启正常工作,但当执行软重启时,我从 SDIO 卡收到以下错误:

[    2.239044] mmc0: error -5 whilst initialising SDIO card


有什么想法吗?

此致、谢谢。
Mohamed

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

    尊敬的 Mohamed:

    热/冷重启是什么意思? 您的意思是、仅在重新启动时、您才无法启动驱动程序? 您是否可以显示热/冷重启日志?

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

    尊敬的 Sabeh Khan1
    是的、问题仅在从控制台重新启动后出现、但在执行下电上电后、芯片工作正常。

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

    尊敬的 Mohamed:

    是否可以尝试删除"no-SD"、"no-MMC"和"no-mc-hs400"? 我认为这些都不是必要的。

    VMMC 电源是否直接连接到 CC33xx 的 nRST 引脚? 您确定它应该是低电平有效吗? 通常这为高电平有效。 除非原理图中有反相器、否则我建议将其更改为 GPIO_ACTIVE_HIGH 和"ENABLE-ACTIVE-HIGH"。