Skip to content

prescaler updates - forcing these to be picked up #168

@dirkx

Description

@dirkx

Calling the TIMx_TimeBaseInit(... does not immediately change the prescaler - but waits for a fill cycle/UEV event.

May be useful to add a TIM2->EGR = 1; to trigger an update event to change the prescaler (See note 17.7.17 in the reference manual) in that function. Or have a flag for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions