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.
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
Solved! Go to Solution.
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!
-----------------------------------------------------------------------------------------------------------------------
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!
-----------------------------------------------------------------------------------------------------------------------
Dear chip,
Are not only bit31 but all ENET_EIR register invalid in i.MX6-Solo?
BR,
George
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
Dear chip,
OK, I understand.
Thanks.
BR,
George