Search code examples
stm32interrupt

STM32 Interrupt


I want to enable the SYSCFG clock of STM32WB55RGV6, but when I look reference manual SYSCFG is on the APB2 BUS, I want to enable SYSCFG using RCC → AP2ENR but SYSCFG but it is not there.

What should I do? Board: Nucleo WB55

Memory map and register boundary addresses: addresses

RCC APB2 peripheral clock enables register: RCC_APB2ENR)

I try to use interrupt without enabling the SYSCFG


Solution

  • The only information I could find to do with this is in section 18.3.3 of the reference manual is says:

    The COMP clock provided by the clock controller is synchronous with
    the APB2 clock.  There is no clock enable control bit provided in 
    the RCC controller. Reset and clock enable bits are common for COMP
    and SYSCFG.
    

    So the clock for SYCFG is shared with the comparator modules, and it cannot be turned on or off.

    Also there is nothing in the HAL or LL library to turn it on or off (where the would be for other STM32 families), so I think you can safely assume that the clock is always on.