31
NXPTM M522XX, KINETIS and i.MX RT / Kinetis K60 Ethernet phy MDIO comm. problem
« Last post by Ray on May 30, 2023, 08:08:57 PM »Hi Mark,
As you know I have had moderate success interfacing a DP83848 phy into a uTasker ethernet based application despite the MDIO being inoperative.
As I debug this in the simulator, I can see when kinetis_ENET.h is called to initialize code, but I actually can't find where #include "../../Hardware/Kinetis/kinetis_ENET.h" is added, so no preprocessor appear to be invoked from the settings in app_hw_kinetis.h, and all variables are flagged as error by the MSVC intellicode.
If I add like this in the app_hw_kinetis.h
#include "../../Hardware/Kinetis/kinetis.h" // include the Kinetis processor header at this location
#include "../../Hardware/Kinetis/kinetis_ENET.h" // include the Kinetis processor header at this location
My preprocessor defines correctly highlight with intellicode, but I get hundreds of compiler errors.
Can you tell me where the kinetis_ENET.h is supposed to be #included?
Thanks
Ray
As you know I have had moderate success interfacing a DP83848 phy into a uTasker ethernet based application despite the MDIO being inoperative.
As I debug this in the simulator, I can see when kinetis_ENET.h is called to initialize code, but I actually can't find where #include "../../Hardware/Kinetis/kinetis_ENET.h" is added, so no preprocessor appear to be invoked from the settings in app_hw_kinetis.h, and all variables are flagged as error by the MSVC intellicode.
If I add like this in the app_hw_kinetis.h
#include "../../Hardware/Kinetis/kinetis.h" // include the Kinetis processor header at this location
#include "../../Hardware/Kinetis/kinetis_ENET.h" // include the Kinetis processor header at this location
My preprocessor defines correctly highlight with intellicode, but I get hundreds of compiler errors.
Can you tell me where the kinetis_ENET.h is supposed to be #included?
Thanks
Ray