CH32V103 USB5VSEL option

Hi,


I'm looking to have a device that can switch between 3.3v and 5v while it's plugged into the USB.


I found this in the datasheet -?

1676811005452445.png

1676811009107465.png


Currently I am using PA11/12 and running at 3.3v. Does this mean that at 5v, the USB pins change to PB6/7 or am I misunderstanding it?


Thank you again for all the support!

Alex

Hello, the screenshot you attached is an introduction to CH32F103. If you are using CH32V103, please refer to the fourth introduction, as shown below. CH32V103 supports 5V and 3.3V power supply. The corresponding pins of USB are PA11 and PA12. The USB can be used as both host and device. When the MCU is powered by 3.3V, it is necessary to configure the expansion register bit 3 as 0, and when the MCU is powered by 5V, it is necessary to configure this bit as 1.If you have any questions later, you can use email( lzs@wch.cn )Communicate with me

image.png

image.png








只有登錄才能回復(fù),可以選擇微信賬號登錄

国产91精品新入口,国产成人综合网在线播放,九热这里只有精品,本道在线观看,美女视频a美女视频,韩国美女激情视频,日本美女pvp视频