X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:subject:to:in-reply-to:message-id:mime-version :content-disposition:content-transfer-encoding; bh=EyfwaX3pLXwOsX4wvR7PEdu22OQeSMq0skI3sHzUh4M=; b=Kxv62ggDhMXwJb3fWOt2ygb2C0yS8e+B+ZBvIbejbCApU1YVoeLWT1wmXAiNzfGOoH XvuOPQ0+RTaUftjs2KMm0ZLYVvbOrs3/IXcrC8yEvonQbW4llUByXMwWaIMJwh/Clsye yyDuzeg8dFfcJ8urY3pl4odFTqXcAfEibOhVM29Cj0WASDObH4jsarXlX3uOZbJkuX12 gB4fBY091sjDCuSNeOdpOPnOQy1Acr8RZcDiICHMSw4dIahEwwbOmwvTX3f6rDYintkS hYb3qEGxy7P/XOBrlrdIwSEUYWYuhNGj7YIVxm8grkiMYo0cgU1+A8e9a2f04vkHJyms dwPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:in-reply-to:message-id :mime-version:content-disposition:content-transfer-encoding; bh=EyfwaX3pLXwOsX4wvR7PEdu22OQeSMq0skI3sHzUh4M=; b=IzZhdyNVT75IlIhGf+RXXWt81N2DWv65LsMWjJ2LICZuhLfgm3zIWYGn8OdIL/Mmap hk/Tzzkqt9cKYA65OExKXDoD3xYzLs6W3XJMwU1P3y7zp0Jy+OoMmK7yodVhDHKB28Rb kkADbayrqpwzXaQ6C6eOk+vIYR+9Gs4472e5pCGU7DplKt4hw3xl1ft9jGy0Odp49S9H FbWiEH50CO7xeGjLRaIq/nAuMPN12DWbjAlARQ9J8LrYUv5I8r7UnyMy5wL7+kOGManv FS4fdx5DuzfhNfQtvPPEO5uJPRj68MRFJtvjcxl8m43AgLTcEXwjEfxLE2651aHRF/3K l97g== X-Gm-Message-State: APjAAAWlGnvOWU7Wy/6p2qzp7qkLb+VfSaO8NgcyAZwlOfMs8zy8Xocl gDkf/jqyICrCzyiAJMsjgPidTpzd X-Google-Smtp-Source: APXvYqzI1W2Cr8MaXWG5Hfc/7hnhSvG+MKhgGDkTkisBxIKrue25oVBoqud1x43YJonBD9iQZG8gng== X-Received: by 2002:a65:4b8b:: with SMTP id t11mr7862871pgq.130.1561843640748; Sat, 29 Jun 2019 14:27:20 -0700 (PDT) Date: Sun, 30 Jun 2019 09:27:14 +1200 From: "Lilith Bryant (dark141 AT gmail DOT com) [via geda-user AT delorie DOT com]" Subject: Re: [geda-user] Ethernet PHY KSZ8081 auto negotiation link up problem To: geda-user AT delorie DOT com In-Reply-To: <20190629203837.ec779cc02f9ac3f1da0cc593@gmail.com> (from geda-user AT delorie DOT com on Sun Jun 30 06:38:37 2019) X-Mailer: Balsa 2.5.2 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x5TLRrlD019760 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk FWIW, I use this chip in a client's design, and they do talk to each other fine in this design. Though I have had issues with them being extremely touchy w.r.t. the output impedance of the CPU lines feeding the RMII signals, typically though this results in just lots of CRC errors, rather than AN failing. Where as the obselete KSZ8031 was much more tolerant of wrong impedences. I'd probably first look that the control regs are indeed being set correctly, i.e. read them back to verify, maybe the MDIO bus isn't working right. I can't remember if AN is on by default with these chips. I'd also look at clock quality. Maybe you've got as much jitter, such that if BOTH ends are jittery then AN doesn't work, but if only ONE end is jittery, then things work well enough. On 2019-06-30 06:38:37, Nicklas SB Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > I have an Ethercat card there I choosed KSZ8081 as PHY, driver for Ethernet, > datasheet where registers where not available for chip used in reference > design BCM4251XA1KMLG and KSZ8081 is common so I expected it work. > > Auto negotiation works with other devices ordinary computer, switch, other > ethercat card but not other cards with the same PHY KSZ8081. I could > actually put ethercat cards with KSZ8081 closest to computer another > ethercat card in between an ethercat card with KSZ8081 at the then and work > counter say it is communication in between all three cards in the chain. > Problem is bound to auto negotiation and there should be no other > communication before link up so I expect same problem will if it used for > ordinary ethernet. > > Registers suggest auto negotiation work, ack is sent but link up never > occur. Do anybody have any idea? > > > Regards Nicklas Karlsson >