公告

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

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

cross mob
Translation_Bot
Community Manager
Community Manager
Community Manager
100 likes received

我正在学习 GTM DPLL 子模块。 如何根据 TC275 的 GTM_REV 寄存器知道是 GTM-IP 还是 GTM-RM?GTM_REV.JPG

 

0 点赞
9 回复数
Translation_Bot
Community Manager
Community Manager
Community Manager
100 likes received

在此版本的 GTM 中,如果 APT_2C 指针根据 GTM-IP 同步,则 DPLL 无法锁定同步,但如果 APT_2C 指针根据 GTM-RM 同步,则 DPLL 可以锁定同步。 但如何在代码中区分 GTM-IP 和 GTM-RM?GTM_REV_.JPG

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/How-can-I-know-whether-it-is-GTM-IP-or-GTM-RM-according-to-the-GTM-REV-register/m-p/736525

0 点赞
Translation_Bot
Community Manager
Community Manager
Community Manager
100 likes received

没人知道?

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/How-can-I-know-whether-it-is-GTM-IP-or-GTM-RM-according-to-the-GTM-REV-register/m-p/741921

0 点赞
Translation_Bot
Community Manager
Community Manager
Community Manager
100 likes received

应该是 GTM-IP:参见用户手册

Kunqiao_L_0-1713927433842.png

 

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/How-can-I-know-whether-it-is-GTM-IP-or-GTM-RM-according-to-the-GTM-REV-register/m-p/745678

0 点赞
Translation_Bot
Community Manager
Community Manager
Community Manager
100 likes received

当 APT_2C 指针根据 GTM-RM 同步时,DPLL 可以锁定同步;当根据 GTM-IP 同步时,DPLL 无法正常工作。

0 点赞
Translation_Bot
Community Manager
Community Manager
Community Manager
100 likes received

你好@User19523

我想知道您能否详细说明上述 "创始 "过程,例如代码、波浪等。

BR,

杰里米

0 点赞
Translation_Bot
Community Manager
Community Manager
Community Manager
100 likes received

你好@User19523
根据应用说明,对于 TC2xx,APT_2C 同步方式遵循 GTM-IP,您可以在该应用说明的 3.4.5 部分找到更多详细信息。
此外,您能否提供包含以下内容的文件链接?
BR,
Jeremy

0 点赞
Translation_Bot
Community Manager
Community Manager
Community Manager
100 likes received

你好@User19523

事情进展如何?

BR,

杰里米

0 点赞
Translation_Bot
Community Manager
Community Manager
Community Manager
100 likes received

还是不知道如何分辨是 gtm-ip 还是 gtm-rm。

在代码中,TIM0_CH0 输入(60-2)齿的曲轴信号,在 TIM0_CH0 的边沿中断中判断 p [58] 的下降沿(见图 1),如果同步 APT_2C 指针的值为 60(根据 GTM-RM),则 DPLL_STATUS 寄存器的位域 LOCK1 成功置位(见图 2),但如果同步 APT_2C 指针的值为 59(根据 GTM-IP),则 DPLL_STATUS 寄存器的位域 LOCK1 成功置位(见图 3)、但如果同步 APT_2C 指针的值为 59(根据 GTM-IP),则无法设置 DPLL_STATUS 寄存器的 LOCK1 位。TIM0_CH0 的中断代码见图 3。

1.JPG

 

2.JPG

 

3.JPG

0 点赞
Translation_Bot
Community Manager
Community Manager
Community Manager
100 likes received

dpll 子模块的初始化代码见下图:

4.jpg

 

0 点赞