lwip recvfrom in interrupt handler

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

lwip recvfrom in interrupt handler

Jump to solution
452 Views
Maurizio2
Contributor II

Is it possibile use lwip_recvfrom inside the interrupt handler? In my application I use FreeRtos and LWIp. The recvfrom is in non blocking mode but the function not return (the Queue inside LWIP are xQueueReceive  without FromISR).

Is there a lwip_recvfrom for interrupt handler?

Thanks very much.

0 Kudos
Reply
1 Solution
363 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

ISRs should be short and fast. lwip_recvfrom() is relatively heavy and may cause issues on the application. I do not suggest using it inside the ISR. 

Best regards,
Omar

View solution in original post

0 Kudos
Reply
3 Replies
364 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

ISRs should be short and fast. lwip_recvfrom() is relatively heavy and may cause issues on the application. I do not suggest using it inside the ISR. 

Best regards,
Omar

0 Kudos
Reply
423 Views
Chavira
NXP TechSupport
NXP TechSupport

HI @Maurizio2!

To better assist you, could you please provide the following information?

What SDK version you are currently using?

What device or board you are working with?


Looking forward to your response.

Best regards!
Chavira

0 Kudos
Reply
407 Views
Maurizio2
Contributor II

I use iMX RT 1062. The evaluation Is iMX RT1062 OEM from embedded artist ( https://www.embeddedartists.com/products/imx-rt1062-oem/ ). The SDK Is http://imx.embeddedartists.com/imxrt/eaimxrt1062_16mb_sdk_2_15_000_2024-03-12.zip from embedded artist.

0 Kudos
Reply