Whether it is possible to apply lwip with  MK60D512?

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

Whether it is possible to apply lwip with  MK60D512?

1,565 次查看
profprogrammer
Contributor III

Hello.

 

Whether it is possible to apply lwip with

MK60D512?

I ask as in MK60DN512 it is possible to apply only hwtimer or pit timer.

but iwip requires connection of hwtimer and pit.

75024_75024.jpglwip_without_mqx.jpg

 

how it is possible to connect at the same time fsl_hwtimer and fsl_pit modules?

Lwip demands from me connection of both modules.

标签 (1)
0 项奖励
回复
5 回复数

1,346 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Prof,

There is lwip demo :Freescale\KSDK_1.2.0\examples\twrk60d100m\demo_apps\lwip .

Hope it helps

Alice

0 项奖励
回复

1,346 次查看
profprogrammer
Contributor III

This example without application of PE.

Perhaps that PE works not correctly?

0 项奖励
回复

1,346 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Prof,

Yes, Alice is right, it is not allowed to use PIT peripheral simultaneously with fsl_hwtimer and fsl_pit component, but you may configure sys_tick for hwtimer , and PIT for fsl_pit component, then no conflict at all. Please also note you have to change OSA's Timer to LPTMR to leave sys_tick for hwtimer. Please kindly refer to the following for details.

pastedImage_1.png

pastedImage_2.png

pastedImage_3.png

pastedImage_4.png

Hope that helps,


Have a great day,
Kan

Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,346 次查看
profprogrammer
Contributor III

Hi Kan.

I read your message and do it

but when I decided to carry out initialization of a stack the compiler gave out a mistake.

1.jpg

2.jpg

3.jpg

0 项奖励
回复

1,346 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Prof,

Yes, it is not allowed to use PIT peripheral simultaneously with fsl_hwtimer and fsl_pit component .

BR

Alice

0 项奖励
回复