Hi, TI expert!
From the datasheet of am62x, the following information can be obtained:
I configured the SPI according to the following settings. I tested the SPI chip select pin using an oscilloscope, and the measurement result showed that the level of the SPI chip select pin did not change.
&main_pmx0 { main_spi0_pins_default: main-spi0-pins-default { pinctrl-single,pins = < AM62X_IOPAD(0x01bc, PIN_OUTPUT, 0) /* (A14) SPI0_CLK */ AM62X_IOPAD(0x01d0, PIN_OUTPUT, 1) /* (A15) UART0_CTSn.SPI0_CS2 */ AM62X_IOPAD(0x01d4, PIN_OUTPUT, 1) /* (B15) UART0_RTSn.SPI0_CS3 */ AM62X_IOPAD(0x01c0, PIN_OUTPUT, 0) /* (B13) SPI0_D0 */ AM62X_IOPAD(0x01c4, PIN_INPUT, 0) /* (B14) SPI0_D1 */ >; }; }; &main_spi0 { pinctrl-names = "default"; pinctrl-0 = <&main_spi0_pins_default>; #address-cells = <1>; #size-cells= <0>; ti,spi-num-cs = <2>; ti,pindir-d0-out-d1-in = <1>; status = "okay"; };
I want to know what caused this problem and how to solve it?
Regards,
Li