Cypress技术论坛
直播中

李淳鑫

7年用户 210经验值
私信 关注
[问答]

***发生器

我需要一个可编程频率发生器,以产生频率从20千赫到50千赫。如果分频器参数是可编程的,我可以使用FrqDeBER组件。但我理解,它不能从代码中访问。请帮忙。

以上来自于百度翻译


     以下为原文
  I need a programmable frequency generator to generate frequency from 20 KHz to 50 KHz. I can use FreqDivider component, if its Divider parameter is programmable. But I understand, it is not accessible from code. Please help.

回帖(4)

王琳

2018-10-8 16:31:09
您可以使用PWM或TCPWM组件。您可以自由地编程输出周期和占空比的输出信号。
鲍勃

以上来自于百度翻译


     以下为原文
  You may use a PWM or TCPWM component. You are free to program period and duty cycle of the outcoming signal.
 
Bob
举报

李恩佳

2018-10-8 16:45:31
引用: ncmza 发表于 2018-10-2 09:55
您可以使用PWM或TCPWM组件。您可以自由地编程输出周期和占空比的输出信号。
鲍勃

例如(没有PSoC4):
dds24:24位DDS任意频率发生器组件
USB / PSoC 3脉冲发生器项目和源代码简单,冲击发电机

以上来自于百度翻译


     以下为原文
  for example(no PSoC4):
DDS24: 24-bit DDS arbitrary frequency generator component
USB / PSoC 3 pulse generator project and source codeSimple Percussion generator
举报

张琳

2018-10-8 17:01:21
萨哈
你可以使用PDS4的DDS32频率发生器获得32位精度的输出。这里的老线程在这里
R:我如何处理PSoC 4 BLE设备上的PSoC 5社区图书馆DDS24?
DDS32组件没有可用的数据表,您可以参考类似的DDS24组件:
DDS24:24位DDS任意频率发生器组件
下面是一个基本的DDS32演示和DDS32 LIPUAL(安装:项目-gt;依赖性-gt;添加库…)
ODISSEY1
DDS32、LIB、CYWRK.SARVEVE01.ZIP
27.7 K
DDS32,P4BASIC--0.0.CyWrk.CaseV01.Zip
28.4 K

以上来自于百度翻译


     以下为原文
  t.saha,
you can use DDS32 frequency generator with P4 to obtain output with 32-bit accuracy. Old thread on that is here
Re: How can I handle a PSoC 5 community library DDS24 on PSoC 4 BLE device ? 
 
The the DDS32 component has no datasheet available, you can refer to the somewhat similar DDS24 component:
DDS24: 24-bit DDS arbitrary frequency generator component
 
Attached below is a basic DDS32 demo and DDS32 libtary (to install: Project->Dependency->Add library...)
/odissey1
 



举报

李淳鑫

2018-10-8 17:18:52
引用: ncmza 发表于 2018-10-2 09:55
您可以使用PWM或TCPWM组件。您可以自由地编程输出周期和占空比的输出信号。
鲍勃

谢谢。我已经使用了PWM组件。稍后我会尝试DDS32进行更好的控制。

以上来自于百度翻译


     以下为原文
  Thanks a lot. I have used PWM component. I'll try DDS32 later for finer control.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分