lwip recvfrom in interrupt handler

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

lwip recvfrom in interrupt handler

跳至解决方案
457 次查看
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 项奖励
回复
1 解答
368 次查看
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 项奖励
回复
3 回复数
369 次查看
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 项奖励
回复
428 次查看
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 项奖励
回复
412 次查看
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 项奖励
回复