Open Stefan12321 opened 3 years ago
It is difficult to know whether the CS signal is correct from reading from the scope. It should be down for the whole cycle of SPI transfer of 4 bytes: 2 bytes of command and 2 bytes of data. And these 4 bytes transfer should be close together, not separated into 2 packets. It looks like the MOSI signal is correct: 0x00 0x0C 0x00 0x00. The SPI boot log has such errors so there may be something wrong in the device tree configuration.
Hello!
I am working on Yocto Linux for iMX6 processor. I am looking for Linux drivers for KSZ8463 switch to work with Linux kernel version 4.14. I tried the files available in EVB-KSZ9477/KSZ/linux-drivers/ksz8463/linux-4.14/drivers/net/ethernet/micrel/ but when the kernel starts i see spi error: ksz8463 spi0.0: failed to read device ID(0x0)
On the oscilloscope, I can see two 16-bit packets which are splitted into two 8-bit parts. In the datasheet written that both parts have to be single packet of 3-6 bytes in size.
CS MISO First packet CS MISO Second packet CS MISO
SCLK MOSI First packet SCLK MOSI Second packet SCLK MOSI
Kindly help me in this.
Regards, Denis.