打印
[PIC®/AVR®/dsPIC®产品]

【CuriosityNano测评报告】- 3:电压跟随器

[复制链接]
536|4
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
MianQi|  楼主 | 2021-4-17 19:28 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 MianQi 于 2021-4-17 19:28 编辑

这次测试一下AVR128DB38 Curiosity Nano软件设定的电压跟随器(缓冲器/同相器)功能。
首先说一下,“Data Visualizer”这个工具,需要加载.json文件,但同一个文件在Microchip Studio中就加载不上去:


在Atmel Studio 7中也不行,并且Atmel Studio 7中已经不能识别AVR128DB48:


看来Microchip保留Atmel Studio有可能一是为了兼容此前的芯片,二是对于Atmel Studio的有些功能,比如“Data Visualizer”还没有吃透——这个问题在之前测试“PIC18F57Q43”的时候就遇到过。

在Microchip Studio中上载代码倒是还保留着Atmel Studio的流程:


配置的是OPAMP0:


按照示例中的介绍(在文件“Voltage_Follower.rst”中):
OP0 is configured as a voltage follower. A sinusoidal signal is used as an input to the op amp, the sinusoidal signal is created using the DAC while the ADC is used to sample the output. Both the input and output to the op amp is sent over USART to the computer and can be plotted using the MPLAB Data Visualizer.

用示波器测得,PD2(OP0输出端)有信号,而PD1(非反相输入端)没有信号:




使用特权

评论回复
沙发
zhengshuai888| | 2021-4-18 15:09 | 只看该作者
这个IDE界面很酷哦

使用特权

评论回复
板凳
lidi911| | 2021-4-18 20:48 | 只看该作者
谢谢楼主分享

使用特权

评论回复
地板
嵌入小菜菜| | 2021-4-18 21:54 | 只看该作者
楼主太厉害了,持续关注中。

使用特权

评论回复
5
pzsh| | 2021-4-20 22:14 | 只看该作者
增大了输出能力哈,强!

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:所有未经解决的问题都一般大。

24

主题

327

帖子

1

粉丝