Skip to content

C3 support (is buggy) #4

@abbbe

Description

@abbbe

C3 support is added in esp32c3 branch.

There was a problem with watchdog, so tight loop break out was added, not sure it was good idea.
Something is wrong with offset calculation still:

[2025-12-21 16:01:49.952389] I (12037) dtr: Offset: [26465357 - 26517335 = -51978] avg 26491346 (662283.650 us), loop: avg=24.691, min=1, max=75

Normally it should be small and positive. Possible reasons: GPTimer we use is used by something else, GPTimer's counter is 64 bits while MCPWM was 16 bits, maybe some type conversion bug.

To be investigated.

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