ch32-hal icon indicating copy to clipboard operation
ch32-hal copied to clipboard

USB device example

Open kekcheburec opened this issue 1 year ago • 5 comments

Hi, @andelf !

I saw that in this hal there is a USB device implementation, but there is no example for working on the same ch32v203 :(

Or is the implementation not working at all?

kekcheburec avatar Aug 28 '24 09:08 kekcheburec

I haven't tested it yet. CH32V has two completely different USB IP cores. One is USBD used in CH32V203, which is almost the same as STM32's. So I just copied the implementation.

Another IP core is USBH(OTG) used in some other chips.

andelf avatar Aug 28 '24 15:08 andelf

Do you have any plans to work on the OTG peripheral in the near future? If not, we're interested to help out and avoid duplicate work.

Dummyc0m avatar Sep 14 '24 06:09 Dummyc0m

Hi @Dummyc0m !

Personally, at the moment I do not plan to implement usb otg peripherals. I just wanted to find out if what is already in the repository works and got an answer.

In general, you can close the issue.

kekcheburec avatar Sep 14 '24 06:09 kekcheburec

Sorry, I was actually hijacking the issue and asking @andelf to see if they have any plans.

Dummyc0m avatar Sep 14 '24 06:09 Dummyc0m

Why close the issue as complete? There's no USBD example

Vixea avatar Sep 14 '24 07:09 Vixea