Skip to main content
Graduate
January 30, 2026
Solved

STM32G474RET6 HRTIM Long term reliability of writing crossbar registers on every pwm cycle

  • January 30, 2026
  • 2 replies
  • 134 views

Would writing to the crossbar registers (SETx1R, RSTx1R, SETx2R, RSTx2R of all 6 timers) on every PWM cycle (max 200kHz) affect long term reliability? I'm running this in an interrupt routine for a power converter and I'm wondering if doing this would make sense to have a more consistent processor delay. Preload is enabled on all 6 timers and master timer. Register updates on timers 1-6 occur on master timer register update.

Best answer by TDK

Writing to register won’t affect reliability. You’re not going to wear things out, if that is the concern. The registers are not like flash where there is a limited number of read/write cycles.

2 replies

mƎALLEm
Technical Moderator
January 30, 2026

Hello,

I'm wondering why writing to registers in the MCU would affect the reliability? reliability implies to the Flash not to the registers.

"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."
TDK
TDKBest answer
Super User
January 30, 2026

Writing to register won’t affect reliability. You’re not going to wear things out, if that is the concern. The registers are not like flash where there is a limited number of read/write cycles.

"If you feel a post has answered your question, please click ""Accept as Solution""."