I'm trying to enable 1588 HW time stamping in my custom board based on MPC8315eRDB.
As per ref. manual[Rev-2.0], It supports. And i can see 1588 related registers also.
As per theory section 220.127.116.11.1, TMR_CTRL[RTPE] = 1 then only HW time stamping will be written to TxPAL. But when i check register definition of TMR_CTRL in section 18.104.22.168.1, no where RTPE bit is mentioned in fact 16-17 bits are missing.
However, when i try to set bit TMR_CTRL = 1, changes not reflecting. It's always "0".
Pls some one help me here how to set TMR_CTRL[RTPE] bit in MPC8315e.
Thanks in advance.
For the correct TMR_CTRL description it is possible to refer to the MPC8308 RM:
For the TMR_CTRL[RTPE] handling it is possible to refer to the gianfar driver function "gianfar_ptp_probe":
Thanks for your reply....
Sorry for my typo.... Correct Chipset is MPC8314VRAGDA.
We are following MPC8315ERM, Rev2.0 for MPC8314.
Kindly reply on my below queries,
1) pls confirm once again whether MPC8314 supports IEEE-1588 or not ??
2) Why TMR_CTRL[RTPE] bit is missing from RM??
3) 'm not able to write TMR_CTRL[RTPE] bit in MPC8314 while properly able to write in other board which is having MPC8313VRADDC. [using same gianfar_ptp.c].
4) Is anyone used IEEE-1588 in MPC8314VRAGDA ??
2) This is a typo.
3) The issue was not reported by other customers.
IEEE1588 MPC8315 differs from MPC8313 in that only internal clock can be used - i.e. clocking of 1588 clock domain using
the eTSEC system clock.
Also please consider that IEEE1588 timestamping is not supported when eTSEC operates in SGMII mode.
In the case of MPC8314, U-Boot, I'm not able to write in register tmr_ctrl[RTPE] bit.
While able to set same in MPC8313, U-Boot.
Is there any power sequence or hardware settings which i need to take care in MPC8314 ??
Please refer to the appropriate section in the MPC8315E PowerQUICC II Pro Integrated Host Processor Family Reference Manual, 19.7.1 Interface Mode Configuration.
Doublecheck the processor connection schematics.