首先先介绍一下G474的高精度定时器,真的是非常的厉害啊!咱们看一下官方的介绍:
”The high-resolution timer (HRTIM) allows generating digital signals with high-accuracy
timings, such as PWM or phase-shifted pulses.
It consists of 7 timers, 1 master and 6 slaves, totaling 12 high-resolution outputs, which can
be coupled by pairs for deadtime insertion. It also features 6 fault inputs for protection
purposes and 10 inputs to handle external events such as current limitation, zero voltage or
zero current switching.
HRTIM timer is made of a digital kernel clocked at 170 MHz followed by delay lines. Delay
lines with closed loop control guarantee a 184 ps resolution whatever the voltage,
temperature or chip-to-chip manufacturing process deviation. The high-resolution is
available on the 12 outputs in all operating modes: variable duty cycle, variable frequency,
and constant ON time.
The slave timers can be combined to control multiswitch complex converters or operate
independently to manage multiple independent converters.
The waveforms are defined by a combination of user-defined timings and external events
such as analog or digital feedbacks signals.
HRTIM timer includes options for blanking and filtering out spurious events or faults. It also
offers specific modes and features to offload the CPU: DMA requests, burst mode controller,
push-pull and resonant mode.
It supports many topologies including LLC, Full bridge phase shifted, buck or boost
converters, either in voltage or current mode, as well as lighting application (fluorescent or
LED). It can also be used as a general purpose timer, for instance to achieve high-resolution
PWM-emulated DAC.
In debug mode, the HRTIM counters can be frozen and the PWM outputs enter safe state.“
翻译过来就是:高分辨率定时器(HRTIM)可生成具有高精度时序的数字信号,如脉宽调制(PWM)或移相脉冲。
它由 7 个定时器组成(1 个主定时器和 6 个从定时器),总共提供 12 路高分辨率输出,可成对组合用于死区插入。该定时器还配备 6 个故障输入用于保护,以及 10 个输入用于处理外部事件(如限流、零电压或零电流开关)。
HRTIM 定时器包含一个以 170 MHz 时钟驱动的数字内核,其后连接延迟线。采用闭环控制的延迟线可确保无论电压、温度或芯片间制造工艺差异如何,均能实现 184 皮秒的分辨率。所有工作模式(可变占空比、可变频率和恒定导通时间)下,12 路输出均支持高分辨率特性。
从定时器可组合使用以控制多开关复杂转换器,或独立运行以管理多个独立转换器。波形由用户定义的时序与外部事件(如模拟或数字反馈信号)共同定义。
HRTIM 定时器具备消隐和滤除杂散事件 / 故障的功能,并提供特定模式和特性以减轻 CPU 负担:直接内存访问(DMA)请求、突发模式控制器、推挽模式和谐振模式。
它支持多种拓扑结构,包括 LLC 谐振转换器、全桥移相转换器、降压 / 升压转换器(电压或电流模式)以及照明应用(荧光灯或 LED)。此外,它还可作为通用定时器使用,例如实现高分辨率 PWM 模拟数模转换器(DAC)。
在调试模式下,HRTIM 计数器可冻结,且 PWM 输出将进入安全状态。

总的来说就是比上一代F334速度又快了很多,频率又高了,所以我准备用这颗芯片来做我的毕设,并分享一下我学习的过程,也当是记一下备忘录,以后万一要是又用到了就不用费劲看手册啦。

Comments NOTHING