lwip recvfrom in interrupt handler

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

lwip recvfrom in interrupt handler

ソリューションへジャンプ
467件の閲覧回数
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 解決策
378件の閲覧回数
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 返答(返信)
379件の閲覧回数
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 件の賞賛
返信
438件の閲覧回数
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 件の賞賛
返信
422件の閲覧回数
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 件の賞賛
返信