Error using LPTMR with PeX

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

Error using LPTMR with PeX

2,324 次查看
larrykoos
Contributor III

I'm using KDS 2.0.0 and MQX for KSDK 1.1.0 in a Processor Expert (PeX) project using a MK64F12. I've added a low power timer to my project and when I try to generate the code I get the following error message with respect to the LPTMR component:

No inherited component assigned (HAL1)

Looking at the Help on Component for the LPTMR component:

pastedImage_0.png

It refers to HAL1 under a properties heading called InhrGrp but the InhrGrp setting does not show up in the Component Inspector for LPTMR, only in the Help.

Can someone help? Thanks.

0 项奖励
回复
5 回复数

2,061 次查看
DavidS
NXP Employee
NXP Employee

Hi Larry,

I had various issues with getting MQX working until I reviewed the following post:

How To: Create an MQX RTOS project with Processor Expert in Kinetis Design Studio IDE

I was trying to pull in the MQX component rather than using the OSA to target using MQX.

Regards,

David

0 项奖励
回复

2,061 次查看
larrykoos
Contributor III

David,

Thanks for the reply. Unfortunately, the project was created as you describe by adding the OSA component and configuring it to use MQX. There must be another issue.

0 项奖励
回复

2,061 次查看
DavidS
NXP Employee
NXP Employee

Hi Larry,

Can you retry the process and post the project?

What Host OS are you using?

Do any of the demo or MQX examples in KSDK1.1.0 work for you?

Regards,

David

0 项奖励
回复

2,061 次查看
larrykoos
Contributor III

David,

Thanks for your help.

I have loaded MQX examples, built them and run them on a MK6412 tower eval board. Of course, the examples do not use Processor Expert while the problem I'm having is related to the LPTMR PeX component.

I'm developing on a Windows 7 machine.

I'm not sure what you mean by "post the project". A screenshot, a zipfile of the project, something else?

0 项奖励
回复

2,061 次查看
DavidS
NXP Employee
NXP Employee

Hi Larry,

I cannot get the error you are.

I have started with a new project for frdm-k64f + KSDK + PE and set the OS to be MQX (not MQXLite).

I then added in fsl_lptmr_hal component.

I did have to enable the clock to LPTMR module and then configure the fsl_lptmr.

My project is attached.

You should be able to unZIP into C:\Freescale\KSDK_1.1.0\.

Then import it.

Regards,

David

0 项奖励
回复