Hello, I'm trying to use the Lan865x (two-wire eth click) chip with the nrf52840dk board, using zephyr 3.7. I'm getting always this error while trying a net sample code : <err> oa_tc6: Header transmission error! <err> eth_lan865x: SPI communication not working, -19 .
here my device DT :
&spi3 { compatible = "nordic,nrf-spim"; status = "okay"; // Enable the SPI interface cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; pinctrl-0 = <&spi3_default>; pinctrl-1 = <&spi3_sleep>; pinctrl-names = "default", "sleep"; lan865x: lan865x@0 { status = "okay"; compatible = "microchip,lan865x"; spi-max-frequency = <20000000>; local-mac-address = [00 19 05 00 00 04]; reg = <0>; rst-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; int-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; plca-enable; plca-node-id = <3>; plca-node-count = <8>; plca-burst-count = <0x0>; plca-burst-timer = <0x80>; plca-to-timer = <0x20>; }; };
I can see that the clock and the MOSI are working with the osciloscope but no data from the LAN865x to the nordic board, even thouth I've tested the lan865x with a raspberry and linux driver and it's working fine, any insights would be helpful, thanks.
Best regards,