- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
We are using the TSE MAC configured in Small MAC mode, using the MII interface. Some questions have arised on the timing and how to access the PHY. 1. Write the PHY address(es). Straightforward. 2. A MDIO read cycle is initiated when reading one of MDIO registers. According to the TSE documentation, we think the MDIO transaction is triggered by the register read itself. Is this correctly understood? If so, the application must "trigger" the actual MDIO read by a dummy register read, and then read the register again after a MDIO frame time for fetching the actual result. Note that this second register read access will also trigger a "dummy" MDIO access, but the result from this can be ignored. 3. Similar mechanism when writing to a MDIO register. But this case is simpler since one write access leads to one MDIO transaction. Another way would be to have an interrupt mechanism for this (like in the ColdFire CPU). When reading, the MDIO finishes its operation and then sends an interrupt to the application which then fetches the data. But as far as I have understood, this isn't supported in the TSE MAC. Guess the {initiate_read-wait_frametime-actual_read} mechanism fills the need, but it would be good to get it confirmed! All leads and tips would be appreciated! /ALink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We discussed this today, and perhaps the answer is that the waitrequest in the Avalon interface handles the waitstate insertion when accessing the registers?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page