MicroPython 移植到 WCH-CH32V307 RISC-V 单片机
本帖最后由 dcexpert 于 2022-6-6 09:41 编辑<h3 dir="auto">概述</h3>
<p dir="auto">CH32V305/7系列是基于32位RISC-V设计的互联型微控制器,配备了硬件堆栈区、快速中断入口,在标准RISC-V基础上大大提高了中断响应速度。加入单精度浮点指令集,扩充堆栈区,具有更高的运算性能。扩展串口U(S)ART数量到8组,电机定时器到4组。提供USB2.0高速接口(480Mbps)并内置了PHY收发器,以太网MAC升级到千兆并集成了10M-PHY模块。</p>
<h3 dir="auto"><a aria-hidden="true" class="anchor" href="https://github.com/openwch/ch32v307/blob/main/README_zh.md#系统框图" id="user-content-系统框图"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"></svg></a></h3>
<h3 dir="auto">系统框图</h3>
<p> </p>
<h3 dir="auto"><a aria-hidden="true" class="anchor" href="https://github.com/openwch/ch32v307/blob/main/README_zh.md#产品特点" id="user-content-产品特点"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"></svg></a></h3>
<h3 dir="auto">产品特点</h3>
<ul dir="auto">
<li>RISC-V4F处理器,最高144MHz系统主频</li>
<li>支持单周期乘法和硬件除法,支持硬件浮点运算(FPU)</li>
<li>64KB SRAM,256KB Flash</li>
<li>供电电压:2.5/3.3V,GPIO单元独立供电</li>
<li>多种低功耗模式:睡眠、停止、待机</li>
<li>上/下电复位、可编程电压检测器</li>
<li>2组18路通用DMA</li>
<li>4组运放比较器</li>
<li>1个随机数发生器TRNG</li>
<li>2组12位DAC转换</li>
<li>2单元16通道12位ADC转换,16路触摸按键TouchKey</li>
<li>10组定时器</li>
<li>USB2.0全速OTG接口</li>
<li>USB2.0高速主机/设备接口(480Mbps 内置PHY)</li>
<li>3个USART接口和5个UART接口</li>
<li>2个CAN接口(2.0B主动)</li>
<li>SDIO接口、FSMC接口、DVP数字图像接口</li>
<li>2组IIC接口、3组SPI接口、2组IIS接口</li>
<li>千兆以太网控制器ETH(内置10M PHY)</li>
<li>80个I/O口,可以映射到16外部中断</li>
<li>CRC计算单元,96位芯片唯一ID</li>
<li>串行2线调试接口</li>
<li>封装形式:LQFP64M、LQFP100</li>
</ul>
<p> </p>
<p>**** Hidden Message *****</p>
<p>跟版主大大学习学习,期待大作继续登场!</p>
<p>欸?可以关注一下</p>
<p>赞,已经用上测试版了,期待继续完善</p>
<p>ok</p>
<p>这太神奇了</p>
<div class='shownolgin' data-isdigest='no'><p>我就来看看这个片子多少钱,好打消我购买的欲望<img height="50" src="https://bbs.eeworld.com.cn/static/editor/plugins/hkemoji/sticker/facebook/time.gif" width="55" /></p>
</div><script>showreplylogin();</script><script type="text/javascript">(function(d,c){var a=d.createElement("script"),m=d.getElementsByTagName("script"),eewurl="//counter.eeworld.com.cn/pv/count/";a.src=eewurl+c;m.parentNode.insertBefore(a,m)})(document,523)</script> <div class='shownolgin' data-isdigest='no'>极限零 发表于 2022-6-6 08:58
我就来看看这个片子多少钱,好打消我购买的欲望
<p><img height="48" src="https://bbs.eeworld.com.cn/static/editor/plugins/hkemoji/sticker/facebook/lol.gif" width="48" /></p>
</div><script>showreplylogin();</script> <div class='shownolgin' data-isdigest='no'><p>6666666666</p>
</div><script>showreplylogin();</script> <div class='shownolgin' data-isdigest='no'> 跟版主大大学习学习,期待大作继续登场!</div><script>showreplylogin();</script> <div class='shownolgin' data-isdigest='no'><p>楼主辛苦了!</p>
</div><script>showreplylogin();</script> <div class='shownolgin' data-isdigest='no'><p>学习一下。</p>
<p> </p>
</div><script>showreplylogin();</script> <div class='shownolgin' data-isdigest='no'>看一下,有移植教程吗?</div><script>showreplylogin();</script> <div class='shownolgin' data-isdigest='no'><p>看看</p>
</div><script>showreplylogin();</script> <div class='shownolgin' data-isdigest='no'><p>看看什么情况</p>
<p> </p>
</div><script>showreplylogin();</script> <div class='shownolgin' data-isdigest='no'><p>好的<img height="48" src="https://bbs.eeworld.com.cn/static/editor/plugins/hkemoji/sticker/facebook/congra.gif" width="48" /></p>
</div><script>showreplylogin();</script> <div class='shownolgin' data-isdigest='no'><p>谢谢,</p>
</div><script>showreplylogin();</script> <div class='shownolgin' data-isdigest='no'><p>这个片子很便宜,性能还行吧,coreMark跑分460多;能用microPython是挺好的,评估版才45元左右</p>
</div><script>showreplylogin();</script> <div class='shownolgin' data-isdigest='no'><p>mark</p>
</div><script>showreplylogin();</script> <div class='shownolgin' data-isdigest='no'><p>牛</p>
<p> </p>
</div><script>showreplylogin();</script>