реклама на сайте
подробности

 
 
 
Reply to this topicStart new topic
> Вопросы по MDIO
NIOSnew
сообщение May 28 2012, 19:22
Сообщение #1


Участник
*

Группа: Участник
Сообщений: 50
Регистрация: 29-11-11
Пользователь №: 68 584



1. В одном из документов Alterы написано:
«Read Access
Read access from an external PHY can be done using the MDIO interface as follows:
1. Perform an Avalon-MM master write to the MDIO core registers at address offset 0x21, specifying the external PHY device address (MDIO_DEVAD), port-address (MDIO_PRTAD) and register address (MDIO_REGAD).
2. Issue an Avalon-MM master read of the 32-bit MDIO_ACCESS register at offset 0x20.
What happens in the MDIO core?
When a read access to the MDIO_ACCESS register is issued, the MDIO core starts the generation of an MDIO READ frame that contains the information provided in the registers at offset 0x21. As a response to this READ command over MDIO, the external PHY provides the value of the designated register back to the MDIO core. This value is loaded into the MDIO_ACCESS register in the MDIO core at offset 0x20. Thus, it appears as though we were reading the local Avalon-MM register at offset 0x20.»
В связи с этим возникли вопросы:
1. Какое устройство должно выступать в роли Avalon-MM master в п.2? CPU?
2. Какова вообще должна быть структура проекта Quartus для управления устройством 88Е1111 c помощью MDIO? (Т.е. какие компоненты должны входить в проект?)
Заранее спасибо.
Go to the top of the page
 
+Quote Post
Konst_777
сообщение May 30 2012, 11:37
Сообщение #2


Знающий
****

Группа: Свой
Сообщений: 549
Регистрация: 1-06-05
Пользователь №: 5 644



Цитата(NIOSnew @ May 28 2012, 22:22) *
...
В связи с этим возникли вопросы:...

Почитайте тему Ethernet + Cyclone + Nios (vadimuzzz отвечает на вопросы dim99).
Go to the top of the page
 
+Quote Post
NIOSnew
сообщение Jun 4 2012, 03:42
Сообщение #3


Участник
*

Группа: Участник
Сообщений: 50
Регистрация: 29-11-11
Пользователь №: 68 584



Цитата(Konst_777 @ May 30 2012, 15:37) *
Почитайте тему Ethernet + Cyclone + Nios (vadimuzzz отвечает на вопросы dim99).

Спасибо, но не помогло. Можно конкретнее?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 7th July 2025 - 02:21
Рейтинг@Mail.ru


Страница сгенерированна за 0.01389 секунд с 7
ELECTRONIX ©2004-2016