Hi,
I am facing an unusual issue with chipselect on ecspi2 staying active for an extended period of time even after transaction is complete.
This issue occurs on ecspi2 SPI controller talking to MCP2515 SPI device.

Here is my device tree
&ecspi2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_ecspi2_cs>;
cs-gpios = <&gpio5 20 GPIO_ACTIVE_LOW>;
fsl,spi-num-chipselects = <1>;
status = "okay";
can1: can@0 {
compatible = "microchip,mcp2515";
//gpio-controller;
//#gpio-cells = <2>;
reg = <0>;
pinctrl-names = "default";
spi-max-frequency = <10000000>;
interrupt-parent = <&gpio5>;
interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
clocks = <&can_osc_10m>;
};
};
Any suggestions as to what might be going on?
Thank You,
Naveen