Skip to main content
vekli
Associate II
Oct 21, 2022 2:19 PM UTC
Question

Bug STM32F429ZI ETH PTP TIM2 ITR1

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 */

This topic has been closed for replies.

4 replies

KDJEM.1
ST Technical Moderator
Oct 25, 2022 9:39 AM UTC

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 "Best answer" on the reply which solved your issue or answered your question.
Piranha
Principal III
Oct 25, 2022 12:15 PM UTC

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
vekliAuthor
Associate II
Oct 25, 2022 12:34 PM UTC

:thumbs_up: Thanks.

KDJEM.1
ST Technical Moderator
Nov 6, 2023 9:17 AM UTC

Hello @vekli ,

This issue is fixed in GitHub.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.