You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
zhaohe cb0216ee3a v1.2 4 years ago
Core v1.2 4 years ago
Drivers init 4 years ago
MDK-ARM v1.2 4 years ago
markdown.assets update 4 years ago
release v1.2 4 years ago
test_tools update 4 years ago
usec v1.2 4 years ago
.clang-format 完成PWM发生功能 4 years ago
.gitignore init 4 years ago
.mxproject v1.2 4 years ago
README.md v1.2 4 years ago
WaveBox.ioc v1.2 4 years ago
debug_config.ini 更新PWM触发逻辑&&添加日志 4 years ago
tongbuhe202106-位号图.pdf init 4 years ago
tongbuhe202106原理图.pdf init 4 years ago
wave_box_v1.1.hex v1.1 4 years ago
同步盒使用说明2015.docx init 4 years ago
硬件问题记录.md 串口协议调试通过 4 years ago

README.md

同步盒子

[toc]

image-20211023112810739

Release

    v1.1
        1. 修改日志
    v1.0
        1. 实现同步盒使用说明2015.docx要求的全部功能

        TODO:
            如果低电平时间小于3us,会出现多触发一个脉冲的问题。
    v1.2
        1.添加看门狗
        2.修复串口发送错误字符后,串口不好使的BUG

USB转232

参考 http://192.168.1.3:3000/ztools/ugreen_usb_to_232

协议及其盒子使用说明

参考 同步盒使用说明2015.docx

下载器接线说明

需要注意一下,dio和clk丝印反了.

image-20210719133125591

485接线说明

image-20210719153655380

测试

测试工具

串口工具

脉冲发生器安装程序Ver2

片选信号

image-20210719160532425

测试接线

image-20210719154955767

连续模式测试

直接通过上位机软件进行测试,不断调整不同的频率,占空比,测试输出PWM的准确性

image-20210719153506009

产生一定脉冲数测试

由于是瞬发事件,示波器很难抓到对应的波形,所以通过以下方式测试。

一.配置串口,输出99khz,5us,11次的指令,定时循环发送

S9900000000500000011

image-20210719152159991

二.示波器上按下自动设置

image-20210719152611798

三.调整周期和位置,数脉冲个数

image-20210719152837479