Usage of PDC under FreeRTOS

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

Apologies if I've missed something, but can somebody confirm if there's specific functions in FreeRTOS to handle the USART, TWI and SPI ports using the PDC in order to minimize CPU intervention?
I've found some examples for the FreeRTOS port for SAM3 & 4 but nothing for the AT32UC3 :? :cry: :?:

Thanks in advance for the suggestions!

Eric

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi sopheric,

No there isnt anything in the examples that I have found however there is nothing particularly difficult in doing it as FreeRTOS has all the interrupt handling ready to go out of the box.

Just configure the PDCA, define your interrupt handlers, and have then release a semaphore in a FreeRTOS task to process what has arrived via USART etc.

Regards.