2024-12-17 08:10 AM
I am using a NUCLEO-G071RB, STM32CubeIDE v1.17.0, and STM32Cube_FW_G0_V1.6.0 with patch STM32Cube_FW_G0_V1.6.2. I compiled and downloaded the timer example TIM_OCActive.
Please confirm that the four output signals turn permanently active (high) after the specified time period.
If a pulse stream is needed (output is on/off at a specified frequency), is the example TIM_OCToggle the right code? Also, is a 'pulse counter' available that would stop a pulse stream after N active (high) pulses?
Thank you!
Solved! Go to Solution.
2024-12-17 08:35 AM
> Please confirm that the four output signals turn permanently active (high) after the specified time period.
Read out and check TIMx_CCMRx.OCxM - if it's set to 0b0001 (note it is a not continuous bitfield), then yes. See description of that register in the TIM chapter in Reference Manual (RM).
JW
2024-12-17 08:35 AM
> Please confirm that the four output signals turn permanently active (high) after the specified time period.
Read out and check TIMx_CCMRx.OCxM - if it's set to 0b0001 (note it is a not continuous bitfield), then yes. See description of that register in the TIM chapter in Reference Manual (RM).
JW