Whether it is possible to apply lwip with  MK60D512?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Whether it is possible to apply lwip with  MK60D512?

931 Views
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.

Labels (1)
0 Kudos
Reply
5 Replies

712 Views
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 Kudos
Reply

712 Views
profprogrammer
Contributor III

This example without application of PE.

Perhaps that PE works not correctly?

0 Kudos
Reply

712 Views
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 Kudos
Reply

712 Views
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 Kudos
Reply

712 Views
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 Kudos
Reply