K70例程016: 片上12位DAC输出性能测试
使用J-LinkV8IAR版本6.6
调试串口波特率:115200
实验现象:
编译并下载调试程序,根据串口信息进行测试,需要示波器接DA1和DA0脚进行观察。
串口输出信息:
Flash version ID 1.0.18.0
Welcome to the Kinetis 12-bit DAC module DEMOs.
请选择要演示的demo
1: Show case selectable reference voltage capability
不同参考源的锯齿波DAC性能测试。
2: Show case the DAC module capability when configured as buffered mode
使用缓存模式时的DAC模块性能测试。
3: Same configuration from DEMO 2 except we are running in SWING mode
与2相同配置下SWING模式的DAC模块性能测试。
4: Same configuration from DEMO 3 except we are runing in ONE TIME mode
与3相同配置下ONE TIME模式的DAC模块性能测试。
5: Show case DAC hardware triggered by the PDB module
通过PDB模块硬件触发的DAC模块性能测试。
需要复位重新选择测试项目!
串口输出: 示波器截图: 源码包:
源码包: 楼主好详细 啊,感谢
页:
[1]