2022-06-28 07:00 AM
please do not be silent, dear inhabitants of the forum. I want to understand what the problem is. I'm trying to put the output into an active state using a master timer
HRTIM_SETx1R installed
MSTPER
HRTIM_MPER==1000
HRTIM_MCR installed
CONT
PREEN
MREPU
MCEN
this should GPIO_PC8 as the active output. but the master timer does not make it active.
only makes active
HRTIM_SETx1R installed
SST
MSTPER Master Period
The master timer counter roll-over in continuous mode, or to the master timer reset in single-shot
mode forces the output to its active state.
where is the error? Did I understand everything correctly?
2023-05-23 03:10 AM
Hello,
I guess you are using another Timer unit to activate the output and using Master timer as a set source.
In the previous setting, I don't see the output enable in the register HRTIM_OENR.
However, it seems generated by SST, is it the same setting?
Best regards.
Yassine.
2023-05-23 11:42 AM
hi ) my the microcontroller broke down. I bought a new one. I'll do the soldering and look at this timer again.
2023-05-23 12:00 PM - edited 2023-11-20 09:10 AM
2023-06-10 03:11 AM
do you have a working HRTIM_PWM?
I set up the PWM on the PA9 leg for timer "C" PA9 set to AF2.
in HRTIM_OENR included TC1OEN: Timer C Output 1 Enable
could there be an error with the HRTIM_SETx1R_FOR_"C" register address? the microcontroller does not react to actions with it in any manipulations.
I calculated the address as
0x400175BC
I have set HRTIM_MCR for timer "C". HRTIM_TIMxCR_FOR_"C" I have also configured. the counter is working, the update happens. what else do I need to configure? do you know?