K20 FTM , deadtimes in Combine Mode and ProcessorExpert

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

K20 FTM , deadtimes in Combine Mode and ProcessorExpert

跳至解决方案
2,231 次查看
timward
Contributor I

The documentation for the FlexTimer says deadtimes can be used in combined mode.

ProcessorExpert flags an error if the combined channel isn't set to complementary when deadtime is enabled.

In fact, I can't find a spot in ProcessorExpert to set the length of the deadtimes.

Do I just need to hand code the initialization?

标签 (1)
0 项奖励
回复
1 解答
1,829 次查看
adriansc
Contributor IV

Hi,

When you try to configure the combine mode and deadtime Processor Expert shows the next message:

"The Complementary mode must be enabled for deadtime insertion"


This is because Processor Expert is based in the documentation that Freescale offers. As the Reference Manual for Kinetis products says:

note FTM combine mode.png

Hence it is necessary to set Combine and Complementary modes to use deadtime. Different configurations are out of specification.

Hope this helps,

Regards.


在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,830 次查看
adriansc
Contributor IV

Hi,

When you try to configure the combine mode and deadtime Processor Expert shows the next message:

"The Complementary mode must be enabled for deadtime insertion"


This is because Processor Expert is based in the documentation that Freescale offers. As the Reference Manual for Kinetis products says:

note FTM combine mode.png

Hence it is necessary to set Combine and Complementary modes to use deadtime. Different configurations are out of specification.

Hope this helps,

Regards.


0 项奖励
回复
1,829 次查看
timward
Contributor I

I parsed that as the deadtime feature working in Combined mode, and the deadtime feature working in Complementary mode.

If indeed it won't work in Combined mode, it would be a lot more clear if the manual simply said:

"The deadtime feature should only be used in Complementary mode."

I say this because Complementary mode is a subset of Combined mode.  You can be in Combined mode without having the Complementary bit set, but you can't be in Complementary mode without having the Combined bit set.

Why even bring up Combined?  It just confuses the issue.

On the other hand, having the deadtime feature working in Combined mode makes a lot of sense.  For a half-bridge with P and N type FETs,  you need to raise one type's gate to turn it off, and you need to raise the other type's gate to turn it on.

The documentation says both channels output the same signal in Combined mode if the COMP bit is not set.

So Combined will work for a complementary pair, with both pins driving the same direction, but you'll get shoot through.  So even though both pins need to go in the same direction, you'd like a delay between switching off one type and switching on the other. That is to say, deadtime.

It just seemed really unlikely to me that the engineers designing the module wouldn't be aware of this very common use case, and accomodated it.

But if they didn't, they didn't.

0 项奖励
回复