[PIC®/AVR®/dsPIC®产品] 【CuriosityNano测评报告】- 3:电压跟随器

[复制链接]
1179|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 | 显示全部楼层
楼主太厉害了,持续关注中。
pzsh 发表于 2021-4-20 22:14 | 显示全部楼层
增大了输出能力哈,强!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

32

主题

394

帖子

3

粉丝
快速回复 在线客服 返回列表 返回顶部