Skip to content

Support for DP83848_PHY ? #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stevstrong opened this issue Nov 14, 2018 · 2 comments
Closed

Support for DP83848_PHY ? #15

stevstrong opened this issue Nov 14, 2018 · 2 comments

Comments

@stevstrong
Copy link

stevstrong commented Nov 14, 2018

Hi,
tried to use this lib on a Arch Max board which is equipped with DP83848J chip, but compile fails for ethernetif.c on accessing the registers PHY_IMR and PHY_ISFR, which are obviously only defined for LAN8742A_PHY by this lib.

Searching the Arduino_Core_STM32 files, I could find in several headers DP83848_PHY_ADDRESS and some of its registers. However, PHY_IMR is not defined there. What is then the reason to define this phy in the core? The STM32Ethernet lib does not seem to support this PHY. How can this PHY be used with Arduino_Core_STM32 core?

Is there any plan for this lib to support the DP83848 PHY?

@fpistm
Copy link
Member

fpistm commented Nov 16, 2018

Hi @stevstrong
DP83848_PHY_ADDRESS is in fact by default in the stm32f4xx_hal_conf.h because this is the default in the stm32f4xx_hal_conf_template.h.
Yes, I never test with this as I do not test a board with this.
This could be fine to do that.

@fpistm
Copy link
Member

fpistm commented Nov 10, 2019

Track in #34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants