cancel
Showing results for 
Search instead for 
Did you mean: 

Bug STM32F429ZI ETH PTP TIM2 ITR1

vekli
Associate II

STM32Cube FW_F4 V1.27.1

HAL ETH PTP

file

stm32f4xx_hal_tim_ex.c

Definition of TIM_TIM2_ETH_PTP

line 75-79

#if defined(TIM8)

#define TIM_TIM2_TIM8_TRGO           0x00000000U               /*!< TIM2 ITR1 is connected to TIM8 TRGO */

#else

#define TIM_TIM2_ETH_PTP            TIM_OR_ITR1_RMP_0            /*!< TIM2 ITR1 is connected to PTP trigger output */

#endif /* TIM8 */

fix:

#if defined (TIM2)

#if defined(TIM8)

#define TIM_TIM2_TIM8_TRGO           0x00000000U               /*!< TIM2 ITR1 is connected to TIM8 TRGO */

#endif /* TIM8 */

#define TIM_TIM2_ETH_PTP            TIM_OR_ITR1_RMP_0            /*!< TIM2 ITR1 is connected to PTP trigger output */

4 REPLIES 4
KDJEM.1
ST Employee

Hello @vekli​,

Thanks for reported this issue and I reported internally.

Internal ticket number: 137402 (This is an internal tracking number and is not accessible or usable by customers).

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thank you

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

https://community.st.com/s/question/0D50X00009XkYXsSAN/stm32f427-ptp-implementation

A bunch of PTP related bugs reported in this topic will be ignored like other non-trivial reports?

vekli
Associate II

👍 Thanks.

KDJEM.1
ST Employee

Hello @vekli ,

This issue is fixed in GitHub.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.