ch32v003-usbpd

Public

@eeucalyptus

Download board files

Files for version 1. Pick what you came for.

Share ch32v003-usbpd

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading 3D model… large boards can take a moment.

README

USB-PD on the CH32V003

I'm trying to get USB-PD working on the CH32V003. It doesn't have a dedicated USB-PD module, but I only want to use the chip itself and passive components. I'm using the internal comparator for receiving and a simple voltage divider for transmitting. The timing sensitive part of the firmware is written in assembler, while the rest is written in C.

The project is still in an early stage and WIP, but I was able to transmit and receive messages.

I wrote two blog posts about the project:

Setup

The development board can be found in the board directory. The board is a breakout board with the required passive components, a USB-C connector and a high voltage capable voltage regulator.

The firmware can be built with the provided makefile. It is built upon ch32v003fun and the toolchain described there.

Build and run via make flash.

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.