TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320F280039: CLB模块延时问题

Part Number:TMS320F280039

Hi Experts:

我们在应用中使用了CLB模块,目的是将EPWM8B通过CLB配置到特定IO脚上,该IO脚本身不能配置为epwm口。配置如下: 将EPWM8B AQ模块的输出作为 CLB_IN4的输入,并通过CLBoutputxbar将CLB output6的输出配置到IO引脚上,实测发现经过CLB模块后的驱动波形相对于原始的epwm8B模块存在固定延时(23ns左右),我们的应用中对延时比较模块,请问有什么办法解决吗?谢谢!

Ben Qin:

你好,我咨询相关资深工程师后回复您。

,

Ben Qin:

你好,参考下工程师的回复:

It looks like you have the input synchronization enabled, this itself adds 2-3 clock cycles delay to whatever input is coming in (which is approximately the delay you're seeing). Keep in mind that this is normally required if you're doing any synchronized logic (i.e. comparing timer values, etc.) with an unsynchronized signal like the ePWM. If you are just simply routing the signal through the CLB to be able to route it to a certain GPIO pin, you can disable this.

,

Han Meng:

Hi Ben:

感谢回复!按照你们的回复,我将CLB同步disable掉,延时确实会减小,但是仍然会存在10ns的延时,请问这是CLB模块固有的延时吗?还有办法消除吗?

下面是我更改后的配置

,

Ben Qin:

好的,我将向相关工程师跟进。

,

Ben Qin:

你好,实际上 CLB 的输出全部被注册。因此,根据您为 CLB 使用的输出,将会有延迟。对于 F28003x 器件,CLBx_OUT12 至 CLBx_OUT15 应w未注册并与 CLB 时钟异步。这在技术参考手册中有描述:

赞(0)
未经允许不得转载:TI中文支持网 » TMS320F280039: CLB模块延时问题
分享到: 更多 (0)