Hi.
I 'm using iMX6Q evaluation board (not made by NXP) and trying to use IEEE1588 feature, but it does'nt work.
I checked registers of ENET.
I set the register [CAPTURE](adrs: 0218_8400 bit 11) "1", and checked the register [ATIME](adrs: 0218_8404),
but value of [ATIME] is always "0".
So, I think there is something wrong with register setting of internal clock of ENET.
Could you give me a advice of possible cause?
(With this board, ethernet itself does work.)
I have iMX6 SABLE board too, and it has no problem.
(by setting CAPUTRE register, i can get ATIME value)
Thank you.
Thank you for your reply.
I use NITROGEN6 board.
https://boundarydevices.com/product/nitrogen6x-board-imx6-arm-cortex-a9-sbc/
By default GPIO_16 is not NC, so I configured GPIO_16 ball as a NC by removing mounted resister .
But internal timestamp clock doesn't seem to work.
(Ethernet itself does work.)
Is there any register setting or procedure?
Thank you.
Hello Masashi Wakatsuki,
I would recommend reviewing the board schematic first as in order to use IEEE 1588 you would need to configure GPIO_16 ball as either a NC or Driven by an external clock source for the time stamp. For more information please refer to the i.MX6 HW Design Guide.
http://www.nxp.com/files/32bit/doc/user_guide/IMX6DQ6SDLHDG.pdf
Since you’re making it work correctly on the i.MX6 SABRE I would say it may be a design limitation of the new board. Please let us know of your findings!
Regards,