AURIX时钟配置

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
quentin1
Level 4
Level 4
100 replies posted 50 replies posted 25 replies posted
如何配置模块的时钟分频?
0 点赞
1 解答
Hansome
Level 3
Level 3
50 replies posted 25 replies posted 10 replies posted
EB文件中有一个MCU_Clock_Calculator计算的excel表格,找到这个表格: 1 在calculator一栏,有Fosc晶振输入和Fpll期望时钟输出,根据板子的型号,内部晶振频率和Fpll系统时钟频率输入到表格中; 2 点击calculate,显示Success,可以看到配置锁相环PLL的各个参数,选择需要的各个模块时钟; 3 在RESULT界面,会给出配置的各个模块的预分频值和参考时钟频率。 然后将这些参数输入到EB或Davinci项目的时钟配置。

在原帖中查看解决方案

0 点赞
7 回复数
叶轮江畔1
Level 3
Level 3
50 replies posted 25 replies posted 10 replies posted
先要确认模块的时钟是等于SPB时钟还是有自己的时钟,模块的时钟分频,每个模块都有自己的寄存器进行配置,这个还是得对着芯片手册具体模块具体配置为好。
0 点赞
Hansome
Level 3
Level 3
50 replies posted 25 replies posted 10 replies posted
EB文件中有一个MCU_Clock_Calculator计算的excel表格,找到这个表格: 1 在calculator一栏,有Fosc晶振输入和Fpll期望时钟输出,根据板子的型号,内部晶振频率和Fpll系统时钟频率输入到表格中; 2 点击calculate,显示Success,可以看到配置锁相环PLL的各个参数,选择需要的各个模块时钟; 3 在RESULT界面,会给出配置的各个模块的预分频值和参考时钟频率。 然后将这些参数输入到EB或Davinci项目的时钟配置。
0 点赞
郝_
Level 4
Level 4
100 replies posted 50 replies posted 25 replies posted
您的问题我理解为与时钟管理单元有关:时钟与系统管理有一个PLL模块,这个模块包括正常模式、预分频模式和自由模式。在预分频模式下,输入频率经过分频因子K1后输入给fPLL,相关寄存器位域有OSCCON.PLLLV等,具体您可以在用户手册中查到,希望对您有帮助~
0 点赞
Antony
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
请问EB文件是什么?
0 点赞
飞马
Level 5
Level 5
100 comments on blog 50 comments on blog 25 comments on blog
同问
0 点赞
User22064
Level 5
Level 5
10 sign-ins First like given 5 sign-ins
学习了
0 点赞
SIX_66
Level 6
Level 6
First comment on blog 500 replies posted 250 replies posted
学习学习
0 点赞