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

 
 
> STM32F4discovery+BB: Can't start Ethernet
pitt
сообщение Sep 3 2015, 15:30
Сообщение #1


Местный
***

Группа: Участник
Сообщений: 328
Регистрация: 1-06-06
Из: USA
Пользователь №: 17 672



Everything is out of the box: hw and SW link Their example doesn't work. I found one problem: the default phy address should be 0 but they are using 1.
The problem is that as soon as any packet is being sent by DMA to MAC DMA is staying busy and can't complete transaction...
Does anyone have any WORKING example for this hardware combination? Or anything working with this phy(LAN8720A)?
My code works without problem on STM32F4-eval with TI phy, but I need to make this phy work.

Thanks.


--------------------
Прокричал немой глухому:"...Спасибо за внимание!"
http://www.youtube.com/watch?v=3Nnj4ky4Z_g
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
Defin
сообщение Sep 3 2015, 18:25
Сообщение #2


Частый гость
**

Группа: Свой
Сообщений: 105
Регистрация: 26-12-11
Из: Казань
Пользователь №: 69 101



I have this board(STM32F4DIS-BB + STM32F4DIS-LCD). All samples work fine.
Optionally, you can disable the use of LCD in the project.
You can try use this examples: https://yadi.sk/d/Eh67ntSbiraHA
Go to the top of the page
 
+Quote Post
pitt
сообщение Sep 3 2015, 19:21
Сообщение #3


Местный
***

Группа: Участник
Сообщений: 328
Регистрация: 1-06-06
Из: USA
Пользователь №: 17 672



Thank you for reply.
I have disabled LCD undefining USE_LCD in main.h

The problem is that my MAC doesn't cooperate with LAN8720A, but works fine with DP83848C.

Will try your example now and will report.

Thanks again

I'm not sure that you've run this code.
I did see this example and it will NOT work at least it doesn't for me.
The first ans simplest issue is PHY address: example uses address 1(which is correct for DP83848C but LAN8720A requires 0.
I was asking for code that someone has personally run on the discovery board with a base board and phy LAN8720. It will probably work with DP83848C.

Сообщение отредактировал pitt - Sep 3 2015, 19:40


--------------------
Прокричал немой глухому:"...Спасибо за внимание!"
http://www.youtube.com/watch?v=3Nnj4ky4Z_g
Go to the top of the page
 
+Quote Post



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

 


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


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