UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
1,289 Views
Registered: ‎03-30-2017

Linux USB 3 driver - Zynq Ultrascale+

Xilinx provides UART driver example, working in BM configuration (xuartps_intr_example.c).

This example utilize interrupts.

However, there no examples on how to utilize UART driver under FreeRTOS!

I've tried wrapping the xuartps_intr_example in a task and creating another task (Beeper), that just prints a perioding message. (see attached file)

It doesn't work as expected, it outputs the following:

 

"main:: rtÿSuccessfully ran UART Interrupt Example Test"

 

I am expecting to see messages from the task Beeper, but task Beeper is in the blocked state, in fact all other tasks are in blocked state?!

I am suspecting that the UART interrupt setup affects the FreeRTOS somehow. Unfortunately, there are no clear instructions how to utilize Xilinx drivers under FreeRTOS and no design examples, that utilize interrupts under FreeRTOS.

 

I'd appreciate any help,

Igor

 

Tags (3)
0 Kudos
2 Replies
Adventurer
Adventurer
1,286 Views
Registered: ‎03-30-2017

The subject should say "UART driver under FreeRTOS on Zyn...

The subject should say "UART driver under FreeRTOS on Zynq Ultrascale+", not "Linux USB 3 driver - Zynq Ultrascale+" !

0 Kudos
Adventurer
Adventurer
1,264 Views
Registered: ‎03-30-2017

Re: The subject should say "UART driver under FreeRTOS on Zyn...

0 Kudos