A bug in EVK-MIMXRT1064 SDK about ENET

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

A bug in EVK-MIMXRT1064 SDK about ENET

Jump to solution
1,454 Views
zhangguanyong
Contributor I

I use both Enets of rt1064 in my project. 

The definition of ENET_CLOCKS in fsl_clock.h does not match ENET_XXXS in  MIMXRT1064.h.

 

the enet clock list have a invalid item,

/*! @brief Clock ip name array for ENET. */
#define ENET_CLOCKS                                 \
    {                                               \
        kCLOCK_Enet, kCLOCK_IpInvalid, kCLOCK_Enet2 \
    }

 

but the invalid item of ENET_BASE_PTRS in MIMXRT1064.h has been remove.

#define ENET_BASE_PTRS                           { ENET, ENET2 }

 

 

Labels (1)
0 Kudos
Reply
1 Solution
1,386 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

This issue was already reported to SDK software team. SDK software team start to fix this issue and will update related code at SDK following release version. Thank you for the info.

best regards,

Mike

View solution in original post

0 Kudos
Reply
4 Replies
1,427 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

I am sorry for the later reply.

I did not get your point about SDK software code issue, I still could find ENET_BASE_PTRS definition at <MIMXRT1064.h> file.

Hui_Ma_0-1650948626497.png

Mike

0 Kudos
Reply
1,423 Views
zhangguanyong
Contributor I

Hi

In ENET_Init, GetInstance of ENET2 will return value 1, but 1 in array s_enetClock is kCLOCK_IpInvalid.

 

zhangguanyong_0-1650964876827.png

 

0 Kudos
Reply
1,409 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

I got it. The kCLOCK_IpInvalid with incorrect sequence in ENET_CLOCKS definition and I will report this issue with SDK software team.

Thank you for the info.

Hui_Ma_0-1651223896195.png

Mike

0 Kudos
Reply
1,387 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

This issue was already reported to SDK software team. SDK software team start to fix this issue and will update related code at SDK following release version. Thank you for the info.

best regards,

Mike

0 Kudos
Reply