How to send an ENET frame at a specified time through the time-based shaper module in RT1175

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to send an ENET frame at a specified time through the time-based shaper module in RT1175

1,039 次查看
Haha_plum
Contributor II

Hi.

    I want to achieve timed frame sending through the RT1175 chip.I read the chip manual of RT1175 and found that the Time-based shaper module in chapter 60.3.5.6.3 can achieve frame sending at a specified time.

1.Read the current value of the timer. See ATVR register and ATCR register.

2.Calculate the frame launch time and write this value to the TLT field of the frame's TxBD.

3.Instruct the ENET to use the TLT by setting TxBD[UTLT].

       In MCUXpresso IDE, I use the example:<evkmimxrt1170_enet_txrx_ptp1588_transfer_cm7>.After configuring the appeal 3 steps,I use the SendFrame or StartTxFrame function to send frames.But this frame sending time is not the time I set, the TLT value set has no effect.

       So I would like to know if this unsatisfactory result is due to my incorrect settings or if this module cannot achieve the function of sending frames at the specified time.

标记 (2)
0 项奖励
回复
1 回复

999 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello
I hope you are well.
Please refer to this application note: Implementing an IEEE 1588 V2 on i.MX RT Using PTPd, FreeRTOS, and lwIP TCP/IP stack (nxp.com)

Best regards,
Omar

0 项奖励
回复