Skip to content

[BUG] Port MPLAB PIC32MZ-EF, Timer1 is 16bits #1265

Closed
@KammutierSpule

Description

@KammutierSpule

Describe the bug
On the Port MPLAB PIC32MZ-EF, the Timer1 is 16bit

Target

  • MPLAB PIC32MZ-EF

To Reproduce

  • using configPERIPHERAL_CLOCK_HZ = 100 000 000 and configTICK_RATE_HZ = 100, the ulCompareMatch on vApplicationSetupTickTimerInterrupt will overflow. While using the current portTIMER_PRESCALE and portPRESCALE_BITS settings on the source code.

Expected behavior

  • Expect that the vApplicationSetupTickTimerInterrupt asserts the ulCompareMatch to fit on a 16bit register.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions