F29H85x-SDK  1.02.01.00
 
DPL FREERTOS SemaphoreP mutex binary

Introduction

This example demonstrates the usage of mutex and binary semaphore in freeRTOS DPL layer. It creates one main task which in turn creates 2 more tasks, the latter tasks lock mutex insert delay and then release the mutex, the cycle count for the delay of the 2 tasks is printed, observation is one task delay shall be sum of the delays

Watch Variables

  • None

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).
  • When using makefiles to build, note the required combination and build using make command (see Makefile based Build)
  • Establish connections as mentioned in External Connections section.
  • Launch a CCS debug session and run the executable, see Build, Load and Run
  • Watch the CCS console for the debug messages