• 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
返回

电子发烧友 电子发烧友

  • 全文搜索
    • 全文搜索
    • 标题搜索
  • 全部时间
    • 全部时间
    • 1小时内
    • 1天内
    • 1周内
    • 1个月内
  • 默认排序
    • 默认排序
    • 按时间排序
  • 全部板块
    • 全部板块
大家还在搜
  • 请问controlsuite 内 原理图打开方式是怎样的?

    本帖最后由 一只耳朵怪 于 2018-6-13 16:50 编辑 controlsuite里的原理图,如下图,是用cadence打开吗,为什么我打不开呢,我装的controlsuite3.2.9,cadence 16.5

    2018-06-13 11:39

  • 请问Ti有没有提供LaunchPadXL TMS320f28069m的原理图及PCB文件,有没有直接可以AD打开的?

    本帖最后由 一只耳朵怪 于 2018-6-14 10:45 编辑 Ti有没有提供LaunchPadXL TMS320f28069m的原理图及PCB文件,在Controsuit里只找到PDF版本的原理图,有没有直接可以AD打开的

    2018-06-14 02:52

  • 将PSoC4项目迁移到PSoC5时遇到问题可变PWM

    大家好!我有一个应用程序,要求我独立运行多个阀门的PWM频率。Maximus向我提出了他的代码的线程做的事情非常相似,所以我想如果我能将自己的项目,一个psoc5,我能找到我的现有项目实施一个类似的方法中最好的方法。不幸的是,我把他的项目结束的时候,有几个问题(特别是与PWM模块不兼容)所以我试图修复它,尽我所能。不幸的是,它似乎并不像预期的那样运作。下面是他的框图(从HTTP:/ / www.cypress。COM /论坛/ psoc-4-architecture /单PWM模块驱动多个引脚使用解复用# comment-388031,谢谢你,Maximus!):下面是我更新的框图:我想同样可能因为大量的输出已经改变了离开,它可能不会做我期望它(很可能我有接线错误)。我把看输出和计数器似乎工作得很好(你可以看到p_00每4信号计数)和PWM输出交替输出引脚之间,所以这部分是正确的。这个问题似乎与PWM输出谎言。首先,我得到了什么似乎是负电压产生(不知道这只是因为它的铃声太快?或者如果这个问题是我在代码中改变的。有一行代码,我说,我真的不知道它是做什么的(这是给我的一个错误,我很难解决)。下面是我在ISR文件中注释的一行://pWMl清除中断(PWMIN MIXKYTTC);这似乎是清TC中断但我猜这是从以前的PWM设置的文物由于计数器工作似乎不如预期。下面是我的范围的一些截图。黄色:P00(看起来工作正常)蓝色:PY01(似乎有一些振铃的问题)黄:P0(仍显示振铃问题来自PWM输出。频率不变蓝色:P1(与P0相同的问题)我正在附加更新项目的项目文件。有人可以给我帮助解决这将是极大的赞赏。这是一个伟大的论坛,我已经学到了很多!谢谢你的帮助!SEQPWM03-0.0.CYWRK.SARVEVE01.ZIP1.3兆字节 以上来自于百度翻译 以下为原文Hello again, everyone! I have an application that requires me to run independent PWM frequencies of multiple valves.Maximus pointed me to a thread that had his code doing something very similar so I thought if I could move his project to a PSoC5, I could figure out the best way to implement a similar approach in my existing project.Unfortunately, when I moved his project over, there were a few issues (particularly with the PWM module not being compatible) so I tried to fix it best I can.Unfortunately, it doesn't seem to work as expected. Below is his block diagram (taken from http://www.cypress.com/forum/psoc-4-architecture/using-single-pwm-block-drive-multiple-pins-using-demux#comment-388031, thanks a lot, Maximus!):Below is my updated block diagram: I tried to leave as much the same as possible but since a lot of the outputs have changed, it might not be doing what I expected it to (it's very possible I have the wiring incorrect). I took a look at the output and the counter seems to be working just fine (you can see P_00 counting every 4 signals) and the PWM output IS alternating between the output pins, so that portion is correct. The issue seems like lie with the PWM output.First off, I'm getting what appears to be negative voltages being generated (not sure if it's just ringing because it's moving too fast? or if the issue is with something I changed in code). There is one line of code that I commented out that I honestly didn't know what it did (it was giving me an error and I was having trouble resolving it). Below is the line I commented out in the ISR file: //PWM_ClearInterrupt(PWM_INTR_MASK_TC); It appears to be clearing the TC interrupt but I am guessing this is a relic from the previous PWM setup since the counter seems to be working as expected. Below are some screenshots of my scope. Yellow:P_00 (looks to be working correctly)Blue:P_01 (seems to have some sort of ringing issue)Yellow:p0 (still shows the ringing issue coming from the PWM output.Frequency is not changing)Blue:p1 (same issues as p0)I'm attaching the project file of the updated project.Any help someone could give me to help resolve this would be greatly appreciated.This is such a great forum and I've learned so much from it already!Thanks for all your help! SeqPWM_03-000.cywrk.Archive01.zip 1.3 MB

    2018-09-26 17:12