F29H85x-SDK  1.02.01.00
 
FreeRTOS example with Interrupt and Semaphore

Introduction

This example demonstrates the usage of FreeRTOS binary semaphores. A timer interrupt is setup, which posts a binary sempahore. One task runs freely, while another task pends on the binary semaphore to begin execcution

Watch Variables

  • Task1_count: # times Task 1 is executed
  • Task2_count: # times Task 2 is executed

External Connections

  • None

Steps to Run the Example

  • When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see CCS Build Project).
  • Establish connections as mentioned in External Connections section.
  • Launch a CCS debug session and run the executable, see Build, Load and Run
  • Place breakpoints to verify task entry and execution