Hi, I am using s32v234 chip.
There is a question about spi0 pin of s32v234 chip.
In the figure below, SPI0 can use two pin groups.
I modified the DT to pin SPI0 to port E.
However, no data is output to Port E.
If SPI0 is set to Port B, data is output.
What should I do to use SPI0's Pin as Port E?
DT:
&spi0 {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_dspi0>;
status = "okay";
spidev0: spidev@0 {
compatible = "spidev", "nxp,saf5x00";
spi-max-frequency = <4000000>;
spi-extended-mode;
fsl,spi-cs-sck-delay = <500>; // 500ns
fsl,spi-sck-cs-delay = <500>; // 500ns
reg = <0>;
};
};
&pinctrl {
status = "okay";
s32v234-evb29288 {
pinctrl_dspi0: dspi0grp {
fsl,pins = <
S32V234_PAD_PE9__SPI0_SOUT_OUT
S32V234_PAD_PE10__SPI0_SIN_OUT
S32V234_PAD_PE10__SPI0_SIN_IN
S32V234_PAD_PE8__SPI0_SCK_OUT
S32V234_PAD_PE11__SPI0_CS0_OUT
>;
};
Probably something went wrong with IO muxing registers setting. Try check actual values of following registers:
SIUL2_MSCR72 (SIUL2 offset 0x360);
SIUL2_MSCR73 (SIUL2 offset 0x364);
SIUL2_MSCR75 (SIUL2 offset 0x36C);
SIUL2_IMCR288 (SIUL2 offset 0xEC0);
Regards,
Bulat