完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
大家好,
我正在使用SPC5studio版本5.2.3处理SPC560B54L5板。 我正在尝试使用XOSC频率生成时钟输出。我通过选择适当的备用功能启用了相应的GPIO(PAOUT的PA [0])。在执行componentsinit()之后的main函数中,初始化spc_clock_init();用于输出时钟选择。稍后我通过写入CGM.OC_EN寄存器来启用输出时钟。 但是我仍然无法在相应的引脚上找到时钟输出。 (PA [0] - > X1(19))。 我附上我的测试应用程序以供参考,请检查并提供有关该问题的宝贵建议。 提前致谢, 带着敬意, R.Santhamurthy 以上来自于谷歌翻译 以下为原文 Hello All, I am working on SPC560B54L5 board using SPC5studio version 5.2.3. I am trying to generate the clock output using the XOSC frequency. I enabled the corresponding GPIO (PA[0] for CLKOUT) by selecting the appropriate alternate function. In main function after doing the componentsinit(), initialization of spc_clock_init(); is done for output clock selection. Later I am enabling the output clock by writing to the CGM.OC_EN register. But still I am unable to find the clock output on the corresponding pin. (PA[0]-> X1(19)). I am attaching my test application for reference, kindly check and provide your valuable suggestion towards the issue. Thanks in Advance, With Regards, R.Santhamurthy |
|
相关推荐
1个回答
|
|
|
嗨二湾,
感谢您的回复。 我很清楚发现板中的引脚配置和引脚编号。 我在此链中的上一篇文章中,我试图表达,如果我尝试使用示波器检查X1-19(CLKOUT引脚)的输出时钟频率,我没有得到时钟输出。根据随帖子附带的应用程序中的配置,我应该在我的主板上的X1-19处获得16MHz的时钟频率输出。但我没有得到结果。 请检查附加的测试应用程序和支持以解决问题。 提前致谢, 带着敬意, R.Santhamurthy 以上来自于谷歌翻译 以下为原文 Hi Erwan, Thanks for your Reply. I am clear with the pin configuration and the pin numbers in my discovery board. With my previous post in this chain, I am trying to convey that, If I try to check the frequency of the output clock at X1-19 (CLKOUT pin) using oscilloscope, I am not getting the clock output. As per the configuration in the application attached with the post, I should get 16MHz clock frequency output at X1-19 in my board. But I am failing to get the result. Kindly check the attached test application and support in getting the problem resolved. Thanks in Advance, With Regards, R.Santhamurthy |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
661浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
941浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 00:19 , Processed in 0.688238 second(s), Total 72, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1548