SPI1 on imx8qxp-Colibri not working

Hi Technical support Team,
I am working on NXP® i.MX 8QXP Computer on Module and using BSP5 device tree.
SPI1 line used as below
SPI1_CLK (SODIMM 101) ----->Ball configured (SAI0_TXFS)
SPI1_MOSI (SODIMM 103) ----->Ball configured (SAI0_TXD)
SPI1_MISO (SODIMM 37 ) ----->Ball configured (CSI_EN)
SPI1_CS0 (SODIMM 29) ----->Ball configured (CSI_RESET)
The above pins configured in device tree and spidev0.0 showing in /dev file.
but not getting any signal on hardware.
Please help me Regarding this issue.

Thanks and Regards,
Ajay

Hi @Ajay

Welcome to toradex community.

Could you provide the hardware and software versions of your setup?
if you’re using an embedded Linux image, refer to SPI(linux) article.

Hi Ashok,

Thank you for response.
Our spi2 is working but spi1 is not working because we suspect that it need additional configuration or settings
We are using colibri-imx8X (i.MX8QXP Cortex™-A35 (Quad core),RAM: 2GB,Flash: 4GB eMMC)module (v) and iris carrier 1.1A. Also we have tried with custom hardware carrier.

Also we are able to configure pins in dts as below:

pinctrl_lpspi0: lpspi0grp {
fsl,pins = <
IMX8QXP_CSI_RESET_LSIO_GPIO3_IO03 0x18000040 /* SODIMM 29 /
IMX8QXP_SAI0_TXD_ADMA_SPI1_SDO 0x10000040 /
SODIMM 103 /
IMX8QXP_CSI_EN_ADMA_SPI1_SDI 0x18000040 /
SODIMM 37 /
IMX8QXP_SAI0_TXFS_ADMA_SPI1_SCK 0x10000040 /
SODIMM 101 /
>;
};
pinctrl_lpspi0_cs2: lpspi0-cs0 {
fsl,pins = <
IMX8QXP_SAI1_RXD_LSIO_GPIO0_IO29 0x21 /
SODIMM 25 */
>;
};

Please let us know if you need any further info.

Regards,
Ajay

Hi @Ajay

Did you check this Solution routing to lpspi1 instead of lpspi0?.
https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/td-p/1162739

Hi ashok,
Thanks for response.
Issue is solved.

Thanks,
Ajay

Hi @Ajay

Glad it worked.
Thanks for the update.