This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM57X: Linux DTS SPI SCLK Mode3

Part Number: PROCESSOR-SDK-AM57X
Other Parts Discussed in Thread: TMDXIDK5718

Hi,

I'm using SDK-LINUX-AM57X 06_03_00_106 on TMDXIDK5718.

I modified am571x-idk.dts as given below to enable McSPI2:

&mcspi2 {
        status = "okay";
        ti,pindir-d0-out-d1-in;

        mydev@0 {
                compatible = "linux,spidev";
                spi-max-frequency = <24000000>;
                reg = <0>;
                spi-cpol = <1>;
                spi-cpha = <1>;
        };
};

"spidev1.0" is loaded and I can execute spidev_test.

But SPI2_DO nomal level is Low, pulse level is high.

SPI Mode seems 0 or 1.

I want to drive SPI Mode3.

Please give me advice.

Regards,

Toshio Masuchi