bidrohini wrote: ↑Fri Jan 27, 2023 6:13 am
Sounds like you are facing a problem with the ADIN1110 chips conflicting with each other when using multiple connections on the Artemis MicroMod Processor.
It is possible that the initialization sequence for the first ADIN1110 chip is causing the link to go down on the second chip, causing the getlinkstatus() function to report the link as down.
You should check the initialization sequence of the driver and ensure that the chips are being configured correctly. Also check the chip select, interrupt and reset pin setup are correct and ensure they are not conflicting between the two ADIN1110 chips.
Additionally, you could try experimenting with different configurations of the pins and see if that resolves the issue. It's also possible that there is a known issue with the ADIN1110 chips that Analog Devices has documented which you can check in their documentation.
I have experimented with using different pins for connecting to the ADIN1110s with no results. I have read through the drivers and I am not seeing anything that would cause a problem (I am using the SparkFun ADIN1110 drivers created for their ADIN1110 board). I have a feeling that it may have something to do with the ADIN1110s sending interrupts to the Artemis processor? Would interrupts cause a problem if they are sent during an initialization of a chip? I have added a delay between the first and second chip initializing. However, this did not seem to resolve the issue.
My other thought is that the two chips could possibly be using the same memory for storing their information? I have them declared separately, calling the 'SinglePairEthernet' class for each chip. I do not think that it is a hardware issue, all the connections are good, I feel that it is a driver issue.