Question about i.MX6 Solo Interrupt Event Register (ENET_EIR)

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

Question about i.MX6 Solo Interrupt Event Register (ENET_EIR)

Jump to solution
1,055 Views
george
Senior Contributor II

Dear All,

We use i.MX6 Solo for our product.

Our original RTOS works on it.

We are writing the ethernet driver for i.MX6 solo now.

Please let me know about Interrupt Event Register (ENET_EIR).

The following descriptions are in a reference manual.

pastedImage_0.png

bit31 seems unused.

However, in SourceCode of SDK or Linux, it seems to be Heatbeat error event.

iMX6_platform_SDK/sdk/drivers/enet/enet.h :

42    enum {

43      ENET_EVENT_HBERR = 0x80000000,

44      ENET_EVENT_BABR = BM_ENET_EIR_BABR,


iMX6_platform_SDK/sdk/drivers/enet/src/enet_drv.c :

483    if (value & ENET_EVENT_HBERR) {

484        printf("WARNGING[POLL]: Hearbeat error!\n");

485    }

Is actually this bit valid?

Do we need to watch this bit?

Best Regards,

George


Labels (2)
0 Kudos
1 Solution
692 Views
igorpadykov
NXP Employee
NXP Employee

Hi George

for i.MX6Solo it is not valid.

It is valid for i.MX6SL (FEC_EIR register).

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
693 Views
igorpadykov
NXP Employee
NXP Employee

Hi George

for i.MX6Solo it is not valid.

It is valid for i.MX6SL (FEC_EIR register).

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
692 Views
george
Senior Contributor II

Dear chip,

Are not only bit31 but all ENET_EIR register invalid in i.MX6-Solo?

BR,

George

0 Kudos
692 Views
igorpadykov
NXP Employee
NXP Employee

Hi George

all ENET_EIR register is valid in i.MX6-Solo,

please read 23.4.1 Interrupt Event Register (ENET_EIR)

IMX6SDLRM i.MX 6Solo/6DualLite Applications Processor Reference Manual

it gives valid ENET_EIR register description.

Best regards

chip

692 Views
george
Senior Contributor II

Dear chip,

OK, I understand.

Thanks.

BR,

George

0 Kudos