Possible bug in MIMXRT1176/cmsis_drivers/fsl_enet_cmsis.c...

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

Possible bug in MIMXRT1176/cmsis_drivers/fsl_enet_cmsis.c...

Jump to solution
657 Views
EdSutter
Senior Contributor II

Hi,

This question is probably for NXP support...

I'm browsing the latest SDK (25_03_00) for iMXRT1170EVKB and noticed what I believe is a bug in MIMXRT1176/cmsis_drivers/fsl_enet_cmsis.c at line 363...

/* Enable the tx/rx interrupt mode. */
config.interrupt = (uint32_t)kENET_TxFrameInterrupt | (uint32_t)kENET_TxBufferInterrupt |
(uint32_t)kENET_RxFrameInterrupt | (uint32_t)kENET_TxBufferInterrupt;

 

I'm guessing that the 4th item in the OR'ed items should be kENET_RxBufferInterrupt is that true?

 

0 Kudos
Reply
1 Solution
639 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @EdSutter,

I have confirmed this mistake on the latest SDK. I will report this to the SDK team in order for them to fix it on a future SDK release.

Thanks for reporting this!

BR,
Edwin.

View solution in original post

0 Kudos
Reply
1 Reply
640 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @EdSutter,

I have confirmed this mistake on the latest SDK. I will report this to the SDK team in order for them to fix it on a future SDK release.

Thanks for reporting this!

BR,
Edwin.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2073869%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EPossible%20bug%20in%20MIMXRT1176%2Fcmsis_drivers%2Ffsl_enet_cmsis.c...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2073869%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EThis%20question%20is%20probably%20for%20NXP%20support...%3C%2FP%3E%3CP%3EI'm%20browsing%20the%20latest%20SDK%20(25_03_00)%20for%20iMXRT1170EVKB%20and%20noticed%20what%20I%20believe%20is%20a%20bug%20in%26nbsp%3BMIMXRT1176%2Fcmsis_drivers%2Ffsl_enet_cmsis.c%20at%20line%20363...%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%2F*%20Enable%20the%20tx%2Frx%20interrupt%20mode.%20*%2F%0Aconfig.interrupt%20%3D%20(uint32_t)kENET_TxFrameInterrupt%20%7C%20(uint32_t)kENET_TxBufferInterrupt%20%7C%0A(uint32_t)kENET_RxFrameInterrupt%20%7C%20(uint32_t)kENET_TxBufferInterrupt%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CBR%20%2F%3E%3CP%3EI'm%20guessing%20that%20the%204th%20item%20in%20the%20OR'ed%20items%20should%20be%20%3CSTRONG%3EkENET_RxBufferInterrupt%3C%2FSTRONG%3E%20is%20that%20true%3F%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2074484%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Possible%20bug%20in%20MIMXRT1176%2Fcmsis_drivers%2Ffsl_enet_cmsis.c...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2074484%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F28770%22%20target%3D%22_blank%22%3E%40EdSutter%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EI%20have%20confirmed%20this%20mistake%20on%20the%20latest%20SDK.%20I%20will%20report%20this%20to%20the%20SDK%20team%20in%20order%20for%20them%20to%20fix%20it%20on%20a%20future%20SDK%20release.%3C%2FP%3E%0A%3CP%3EThanks%20for%20reporting%20this!%3C%2FP%3E%0A%3CP%3EBR%2C%3CBR%20%2F%3EEdwin.%3C%2FP%3E%3C%2FLINGO-BODY%3E