Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: USB PD support #16

Merged
merged 8 commits into from
Jun 1, 2024
Merged

WIP: USB PD support #16

merged 8 commits into from
Jun 1, 2024

Conversation

andelf
Copy link
Contributor

@andelf andelf commented May 18, 2024

USB PD peripheral is available in:

  • CH32X035 (not X033)
  • CH32L103 (Low power MCU)
  • CH641 (wireless charging MCU)

The register blocks are almost the same, except for:

  • CH32L103 has pull down register
  • CH641 has an additional CC3

This PR will deprecate https://github.com/ch32-rs/ch32x0-hal .

Additional changes:

  • ADC fix, ISP support
  • EXTI fix

@andelf andelf changed the title USB PD support WIP: USB PD support May 19, 2024
@andelf
Copy link
Contributor Author

andelf commented Jun 1, 2024

PD is not fully implemented yet. This requires further consideration about layers of abstraction.

  • PD Phy
  • PD Sniffer only
  • PD Sink
  • PD Source (maybe)

Will cont. work on this when I made a PD Sniffer board.

@andelf andelf merged commit deaa041 into main Jun 1, 2024
1 check passed
@andelf andelf deleted the feat/support-pd branch June 1, 2024 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant