Introduction
Copyright IXXAT Automation GmbH
4
IEM Manual, 1.5
First steps in the demo application ............................................... 33
Preparation and setup ............................................................ 34
Selection of the module access ....................................... 34
Startup .............................................................................. 34
Mode selection ................................................................. 35
Initial configuration ........................................................... 36
Creation of variables ........................................................ 36
Registering events ........................................................... 39
Starting the communication .............................................. 40
DemoMain ........................................................................ 40
Porting of the host application ..................................................... 41
Host system relevant units ...................................................... 41
Adaption of the Board support package (BSP) ............................. 41
Adaption of the memory management (GEO) .............................. 42
Adaption of the SPI driver ............................................................. 42
Data packet design ................................................................ 42
SPI bus performance ............................................................. 43
SPI - Serial Peripheral Interface (SPI.h, SPI.c)...................... 43
Types and Macros ............................................................ 43
Functions .......................................................................... 43
Configuring ............................................................................... 44
Endianess ..................................................................................... 44
Config.h ........................................................................................ 45
Target.h......................................................................................... 48
Scaling ...................................................................................... 48
Service channels .......................................................................... 48
Administration queues .................................................................. 49
Memory management ................................................................... 49
Ethernet Module Interface (EMI)
– API Description ..................... 50
EMI - Ethernet Module Interface .............................................. 50
Types and Macros ........................................................................ 50
EMI_k_MAX_FTP_USER_NAME_PASSWORD_LEN .......... 50
EMI_t_API_CONFIG .............................................................. 50
Functions ...................................................................................... 51
EMI_cmdPowerOnReset() ..................................................... 51