CifX Example

FreeRTOS cifX connectivity.

Download

Examples

Project Scope

The FreeRTOS cifX example aims to demonstrate the cifX API with FreeRTOS on the netX 90 in the simplest possible way. We used the Profinet V5 example as template and the project contains therefore the following components:

  • CMSIS
  • FreeRTOS
  • netx_drv
  • libc
  • cifXToolkit
  • cifXApplicationDemo
  • HostAbstraction Layer

See section Porting Information if you require information about the link between the individual components.

Used configuration

The following table explains our configuration decisions:

ConfigurationStatement
Portable: ARM_CM3We do not require FPU or MPU
Heap: heap_3For dynamic allocation
netX_drv: dynamic MutexSince we use dynamic allocation

Execution of the cifX Example

The cifX example consists of two tasks:

  1. applicationDemoTask: initializes and runs the application demo.
  2. dataHandlerTask: handles cyclically the IO data via DPM.

The purpose for this example is only to demonstrate, that the cifX API is correctly working on a FreeRTOS based project. See the PNS Simple Config Example for preceding information about the demonstration of this example, and the cifX API programming reference guide for more information about the cifX API.