TOM的GTM_FIXED_CLOCK_0~GTM_FIXED_CLOCK_4 怎么选 Level 2 User22516 Level 2 需要在EB配置里配置MCAL的MCU中的GTM下的TOM产生1ms的定时,TOM_0和TOM_1中的通道可以任意选吗,以及GTM_FIXED_CLOCK_0~GTM_FIXED_CLOCK_4怎么选? Like 回复 订阅 十月 28, 2021 12:02 AM 877...
3.然后下面有一个FixedClock配置,前面提到因为FXU是不可配置分频的,但是可以配置时钟源和开关,就是下面这两个配置参数。4.然后再往下就是CFGU的分频配置了,一共有8路,和对应的时钟开关。这里注意CLKCNTx等于配置参数加1,也就是说0代表1比1分频,3表示四分之一分频。5.然后对应用到FXU的模块比如TOM,使用时的...
Fixed Clock Generation sub-unit (FXU)固定时钟生成(FXU)子单元为TOM模块和MON模块生成预定义的不可...
通过前面计算我们得出FXU的输入时钟为50MHz,如果我们选择FIXED_CLOCK1,分频2的4次方为16分频,那么频率为3.125MHz,根据公式: 那我们的TICK最小为3.125*10^6,65535是肯定不够的。通过计算选择FIXED_CLOCK2也是不够的,因此我们选择FIXED_CLOCK3,分频为2的12次方,通过计算得出FIXED_CLOCK3时钟频率为50MHz/2^12=12207...
The Fixed Clock Generation (FXU) is one of its subunits and it provides five predefined non-configurable clocks for GTM modules, including the TOM. Copyright © Infineon Technologies AG 2021. All rights reserved. Hardware setup This code example has been developed for the board KIT_A2G_...
Table 3. Initializing the internal GTM clocks Step 1 2 3 4 Operation Description Psuedo Code Define the global clock as a fraction of the PER_CLK Write the numerator and CMU_GCLK_NUM = 0xN; denominator values of the divider CMU_GCLK_DEN = 0xN; Select the fixed frequency clock divider ...
3.1.1 Highlights • Global fractional divider to hide microcontroller wide clock frequency • Eight (8) freely programmable clock prescaler lines connected to the GTM-IP submodules except TOM • Five (5) fixed clock prescaler lines connected to the TOM submodule • Up to three (3) clock...
CMU模块是系统时钟(SYS_CLK,也就是fSTM)的时钟分频器(clock divider),其他子模块的counter计数都是由CMU提供。 考虑到GTM内部晶体管的功率消散,这个系统时钟不能超过100MHz,GTM内部的时钟最大频率可达到200MHz。 SYS_CLK = fGTMclock provided by the GTM wrapper. fGTMmax value is 2xfSPB = 200MHz. ...
The CMU consists of three subunits that generate different clock sources for the whole GTM-IP: • Configurable Clock Generation (CFGU) • Fixed Clock Generation (FXU) • External Clock Generation (EGU) The GTM SYS_CLK clock is the MCU Clock: PER_CLK 3.2 PWM formula Symbol fout p ...
GTM Generic Timer Module AURIX™ TC2xx Microcontroller Training V1.0 2019-03 Please read the Important Notice and Warnings at the end of this document GTM Generic Timer Module BLDC Motor MAP SPE Dead Time DTMA DTMT PWM Input & Output TIM ATOM TOM ARU (Advanced Routing Unit) CTBM(Clock ...