Hello,
We have a i.MX8MPlus platform based custom base board. We have connected ADC [Part No. ADC108S022CIMTX] to ECSPI2.
A GPIO pin [MUX Control "SAI3_TXD"] is connected to CS (chip select) pin of ADC. We have configured this pin in device tree as below.
pinctrl_ecspi2: ecspi2grp { pinctrl_ecspi2_cs: ecspi2cs { &ecspi2 { /* The actual chip is a ADC102S022, 10bit 8-channel. Driver is for a 12-bit, }; |
But, Chip select pin MX8MP_IOMUXC_SAI3_TXD__GPIO5_IO01 is holding low only, it is not happening high. We have checked in UBoot as well. This pin is not used in U-boot.
It will be great if anyone can help on this.
Thanks,
Shivani
Hi Shivani
reason may be that signal is shorted to other or grounded, one can attach jtag debugger and try to toggle it. From software side one can check if SAI3_TXD is not used in dts, like pinctrl_sai3 :
Best regards
igor
Hi @igorpadykov ,
Thank you for the response.
"SAI3_TXD" is not used in dts as well as in Uboot.
Below some behavior we have seen with respect to this "SAI3_TXD__GPIO5_IO01" pin.
Also we have seen above same observations on other i.MX8M Plus based custom board as well.
It will be very helpful if you give your inputs for this issue.
Thanks,
Shivani
ecspi2 is used on i.MX8M Plus EVK and one can test it
Best regards
igor