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
Solved! Go to Solution.
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
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
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
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