Skip to content

prescaler updates - forcing these to be picked up #168

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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