2024-07-02 03:08 AM - last edited on 2024-07-02 07:31 AM by Tesla DeLorean
please provide me the information about how to implement break for adc input, give me one example for break implementation in stm32c031c6 with mxcube configuration
2024-07-02 03:15 AM
@dee1 wrote:break for adc input
What do you mean by that ?
2024-07-02 03:34 AM
how to give break input,or how to inactive/disable pwm output by using break function
2024-07-02 03:37 AM
i used complementary pwm channels of tim1,break implementation for those channels,how to configure in mxcube and HAL for that.
2024-07-02 03:58 AM - edited 2024-07-02 04:15 AM
Not sure how that applies to an ADC input ?
:thinking_face:
UM3029 is the Description of STM32C0 HAL and low-layer drivers:
via: https://www.st.com/en/embedded-software/stm32cubec0.html#documentation
2024-07-02 04:22 AM
is this not understanding?
2024-07-02 04:37 AM
can you provide example for timer break input implementation
2024-07-02 05:03 AM
In the 'C0 family, there's no hardware to generate Break in TIM1 from ADC input.
JW
2024-07-02 11:15 PM
but for tim1 pwm generation channel break is there,i want for that how to use break
2024-07-04 03:40 AM
I don't use the 'C0 family and I don't use CubeMX/Cube, but basically, you set up TIM1_BKIN pin (e.g. PA6) to the appropriate AF, and in TIM1_BDTR enable Break by setting the BKE bit. Optionally you can also change the polarity and add filtering, set up the output pins behaviour etc. in other bits of TIM1_BDTR - see description of that register in RM, and read functional description in Using the break function in the TIM chapter in RM.
JW