FreeRTOS UART interrupt driven example for LPC17xx

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

FreeRTOS UART interrupt driven example for LPC17xx

ソリューションへジャンプ
1,827件の閲覧回数
gmin
Contributor I

Hi everybody !

I'm looking for a FreeRTOS example using UART interrupts for Transmision/Reception, but i didn't find it...

Is there any example available ?

Thx in advance,

GM

ラベル(2)
0 件の賞賛
1 解決策
1,794件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I suppose we have not the ethernet code based on freertos for LPC17xx. But we have the SDK package for the LPC546xx which has the LWIP stack code based on Freertos.

BR

XiangJun Rong

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
1,802件の閲覧回数
gmin
Contributor I

Hi XiangJun ,

Thx for your quick and kind reply. I'll check the example you mentioned...

By the way, Is there an Ethernet Driver for FreeRTOS ?

I have a multi threaded system acceding the same PHY and it seems to crash due to simultaneous multiple access...
Could you suggest a solution on this ?

Thanks in advance.
regards,
Gus

0 件の賞賛
1,795件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I suppose we have not the ethernet code based on freertos for LPC17xx. But we have the SDK package for the LPC546xx which has the LWIP stack code based on Freertos.

BR

XiangJun Rong

0 件の賞賛
1,815件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Unfortunately, we have only a simple example of FreeRtos, it does not include the usart example. But I think it is simple for you to add the Usart module.

As the following Figure, there are example for Both freertos and usart, I suggest you based on the frertos example to develop our own project, add the usart example, it is okay. You should note that the usart module interrupt level must be less than the Freertos switching interrupt priority.

In detail, pls the usart module interrupt priority level in IPRx register must be greater than 8, for example, you can select 15.

Hope it can help you

BR

XiangJun Rong

 

xiangjun_rong_0-1648013247809.png

xiangjun_rong_1-1648013558663.png

 

0 件の賞賛