µTasker Forum
µTasker Forum => STTM STM32 and STR91XF => Topic started by: colinbathe on December 14, 2012, 04:07:25 PM
-
V1.4.1 stm32.c
fnConfigEthernet()
This code sets up the ethernet pins for STM32F1xx processors using the alternative pin set. However, the processor isn't told to remap the ethernet port pins. _PERIPHERAL_REMAP(ETH_REMAP); sorts this.
(probably sorts this - I don't have ethernet working yet...)
-
Hi Colin
The STM32F1xx code performs the following remapping as first action:
_PERIPHERAL_REMOVE_REMAP(MII_RMII_SEL); // select MII interface mode rather than RMII
_PERIPHERAL_REMAP(ETH_REMAP); // remap certain MII pins (PD8:PD9:PD10:PD11:PD12)
The version supports only MII mode.
Since you are working on an alternative for RMII mode for the STM32F1xx it may be that you have a different initialisation there.
Regards
Mark
-
Yep my mistake. Wasn't reading the code correctly.
<goes off to get his eyes checked...>