AnsweredAssumed Answered

s32v234 chip spi0 pin setting

Question asked by tom@kyungshin.co.kr on Dec 22, 2019
Latest reply on Jan 7, 2020 by Bulat Karymov

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
>;
};

Outcomes