dragonlock2 / dragonlock2.github.io

blog + resume
https://matthewtran.dev/
Creative Commons Attribution Share Alike 4.0 International
1 stars 0 forks source link

2024/02/basic-ch32v-zephyr-support/ #3

Open utterances-bot opened 9 months ago

utterances-bot commented 9 months ago

Basic CH32V Zephyr Support - Matthew Tran’s Blog!

Added core support for the CH32X035 along with USB FS, USB PD, ADC, and UART drivers. Supporting other CH32V parts will be relatively straightforward.

https://matthewtran.dev/2024/02/basic-ch32v-zephyr-support/

LeoDJ commented 9 months ago

Yooo, amazing work!

I'm currently in the planning stage of building my own 240W USB-C PD power bank and am evaluating different MCUs and PD stacks. (CH32X035 / STM32G0 / [Cypress CCG3?])

Your work on the X035 might really come in handy for that!

I'll have to see how difficult implementing EPR would be on Zephyr / the CH32 tho, but I'm looking forward to diving deeper into USB PD communication myself.

(Although I also wouldn't mind a low-ish-effort/"finished" solution for the EPR implementation, as the PCB and power design will be interesting enough :D )

Thanks for the nice write-up and keep on doing fun projects ;)

dragonlock2 commented 9 months ago

Thanks! If I ever buy a supply with EPR, I'll try supporting that too