Porting of the host application
Copyright IXXAT Automation GmbH
43
IEM Manual, 1.5
3.1.3.2 SPI bus performance
payload (n bytes)
header (5 bytes)
Clk
t
SPI data frane
t
0
t
1
t
3
data bytes
t
t
CS#
Figure 3-2: SPI bus performance
Note:
There is a large speed optimizing potential on the SPI bus. Please
have a look on the delays t
0
, t
1
and t
3
. These three delays should be
as short as possible.
3.1.3.3 SPI - Serial Peripheral Interface (SPI.h, SPI.c)
This unit is the API to the SPI controller. It provides all basic functionality of the
SPI controller.
3.1.3.3.1
Types and Macros
3.1.3.3.2
Functions
3.1.3.3.2.1 SPI_Init()
void SPI_Init( void );
Description
Initialisation of the SPI as master
Parameter
Dir.
Description
-
-
-
Return Value
Description
-
-