I am hoping someone might be able to point me in the right direction.
We are using a DP83849IF device on a new design to interface the product to either Copper twisted pair (UTP) or Fiber.
We have the hardware designed so that the coper interface is using PHY A and the Fiber interface using PHY B. On the MAC side we have MAC PORT A connected to our microcontroller's MAC and MAC port B is disconnected.
The default operating mode is to be MAC PORT A connected to PHY PORT B (optical). However, if a dip switch is changed and the unit recycled, it is to use MAC PORT A connected to PHY PORT A (Copper).
I am struggling to understand what registers I need to program. In order to change between the two configurations, I believe I need to re-program the RBR (0x17) register. Again I assume that is for both PHYs (A & B). And set bits 9..12 accordingly.
Am on on the right track, has anyone else implemented this sort of thing?
Thanks in advance.