FlexTimer in K10

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

FlexTimer in K10

跳至解决方案
2,093 次查看
lowks
Contributor III

Hi,

 

I read in the K10 documentation the following:

 

Timing and Control:

• Powerful FlexTimers which support general purpose, PWM, and motor control functions

 

When I tried to test out the CodeWarrior Processor Expert functionality to generate code to produce a PWM output before selecting a chipset, I am able to choose the following:

1. Timing -> Generate Signal to Pin -> Pulse Signal with the 1:1 ratio

 

But when I selected the K10 chipset, there is no option to generate a PWM output at all. The previous option has been removed. Does it mean that variable PWM output is NOT possible using K10 as indicated by the Processor Expert?

标签 (1)
标记 (1)
0 项奖励
1 解答
1,660 次查看
ProcessorExpert
Senior Contributor III

Hello

 

Kinetis family was covered by a new set components – Logical Device Driver (LDD). Timer components (TimerInt, TimerOut,  …) are not currently supported for Kinetis family. For generating pulse signal with ratio 1:1 to a pin it is possible use the TimerUnit_LDD component. Please find attached project with TimerUnit_LDD component pre-set to generate pulse signal 1:1 ratio to a pin.

 

Best regards

Jiri Rezler

Processor Expert Support Team

在原帖中查看解决方案

0 项奖励
2 回复数
1,661 次查看
ProcessorExpert
Senior Contributor III

Hello

 

Kinetis family was covered by a new set components – Logical Device Driver (LDD). Timer components (TimerInt, TimerOut,  …) are not currently supported for Kinetis family. For generating pulse signal with ratio 1:1 to a pin it is possible use the TimerUnit_LDD component. Please find attached project with TimerUnit_LDD component pre-set to generate pulse signal 1:1 ratio to a pin.

 

Best regards

Jiri Rezler

Processor Expert Support Team

0 项奖励
1,660 次查看
lowks
Contributor III

Thanks for the reply. Now I know how to produce a PWM output in K10 :smileyhappy:

0 项奖励