Hello NXP experts!
I am configuring an IMX93 processor with Yocto (https://github.com/nxp-imx/imx-manifest -b imx-linux-styhead -m imx-6.12.3-1.0.0.xml) for a custom board.
I have to configure the LPSPI3 peripheral in slave mode, based on kernel 6.12.3.
This is the DTS, I have followed this example linux-imx/arch/arm64/boot/dts/freescale/imx93-11x11-evk-i2c-spi-slave.dts at lf-6.12.y · nxp-imx/lin...:
/*slave spi*/
&lpspi3 {
fsl,spi-num-chipselects = <1>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpspi3>;
status = "okay";
spi-slave;
slave {
compatible = "lwn,bk4";:
spi-max-frequency = <10000000>;
};
};
pinctrl_lpspi3: lpspi3grp {
fsl,pins = <
MX93_PAD_GPIO_IO08__LPSPI3_PCS0 0x3fe
MX93_PAD_GPIO_IO09__LPSPI3_SIN 0x3fe
MX93_PAD_GPIO_IO10__LPSPI3_SOUT 0x3fe
MX93_PAD_GPIO_IO11__LPSPI3_SCK 0x3fe
>;
};
I am running this SPI example:
- attached you can find the poc_spi_slave.c file.
Basically, the problem is that when I start the binary, I see a voltage drop on MOSI signal, with the same configuration there is not a drop on SCK signal.
In the image below you can see:
- Yellow, MOSI from master side;
- Violet, SIN from slave side (on a test point);
- Blue, SIN on the pin GPION_09 SPI3_SIN;

In the image below you can see:
- Yellow, from master side;
- Violet, SCK from slave side;
- Blue, SCK on the pin GPION_09 SPI3_SIN;

As you can see, there is a voltage drop on MOSI and there isn't a voltage drop on SCK.
I have configured the same pin, the same peripheral with M33 core and I don't see this voltage drop.
When I use the LPSPI 4 as master, instead, I have no issue.
Any suggestion?
Please help me.
Thanks,
Ciancio.