Request for Assistance: Troubleshooting SPI Configuration for Qualcomm QCA7005 PLC Module on i.MX8MP

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Request for Assistance: Troubleshooting SPI Configuration for Qualcomm QCA7005 PLC Module on i.MX8MP

1,384 次查看
yongha_yu
Contributor II
I'm encountering difficulties getting my PLC module, utilizing the Qualcomm QCA7005, to function properly when connected to the ecspi2 interface on the i.MX8MP. Below is the configuration I'm using. Could you please review it for any potential misconfigurations?

&ecspi2 {
        #address-cells = <1>;
        #size-cells = <0>;
        fsl,spi-num-chipselects = <1>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_ecspi2>;
        status = "okay";

        qca7000: qca7000@0 {
                status = "okay";
                compatible = "qca,qca7000";
                reg = <0x0>;                                            /* CE0 */
                pinctrl-names = "default";
                interrupt-parent = <&gpio5>;
                interrupts = <3 IRQ_TYPE_EDGE_RISING>;
                spi-max-frequency = <8000000>;
                spi-cpha;                                                       /* SPI mode: CPHA=1 */
                spi-cpol;                                                       /* SPI mode: CPOL=1 */
        };
};

pinctrl_ecspi2: ecspi2grp {
        fsl,pins = <
                MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK           0x82
                MX8MP_IOMUXC_ECSPI2_MOSI__ECSPI2_MOSI           0x82
                MX8MP_IOMUXC_ECSPI2_MISO__ECSPI2_MISO           0x82
                MX8MP_IOMUXC_ECSPI2_SS0__ECSPI2_SS0             0x82
                MX8MP_IOMUXC_SPDIF_TX__GPIO5_IO03               0x144
        >;
};

For context, when connecting the same PLC module to the phyBOARD®-AM62x Development Kit using the TI AM62X, it operates correctly. Any insights you could provide would be greatly appreciated.


0 项奖励
回复
1 回复

1,349 次查看
pengyong_zhang
NXP Employee
NXP Employee

Hi, @yongha_yu 

You can refer the imx8mp-evk.dts file for your ecspi device configuration.

B.R

0 项奖励
回复