cancel
Showing results for 
Search instead for 
Did you mean: 

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

ivanmak
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

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".

View solution in original post

2 REPLIES 2
mƎALLEm
ST Employee

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
Super User

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".