CifX Example
FreeRTOS cifX connectivity.
Download
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:
Configuration | Statement |
---|---|
Portable: ARM_CM3 | We do not require FPU or MPU |
Heap: heap_3 | For dynamic allocation |
netX_drv: dynamic Mutex | Since we use dynamic allocation |
Execution of the cifX Example
The cifX example consists of two tasks:
- applicationDemoTask: initializes and runs the application demo.
- 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.