Wlan configuration, D the wlan configuration sec, E wlan configuration a – Zilog EZ80F91AZA User Manual

Page 20

Advertising
background image

RZK Board Support Package

UM007518-1211

10

Zilog Real-Time Kernel: eZ80

®

CPU

User Manual

PHY Initialization

The

F91PhyInit.c

file contains the

phyInit()

initialization routine for the PHY. This

phyInit()

routine currently configures the AMD Am89C874 PHY device featured on

the eZ80F91 Module and the MICREL KS8721 PHY device featured on the eZ80F91
Mini-Module. You can modify the

phyInit()

routine to initialize other PHY devices.

WLAN Configuration

The configurable parameters for the WLAN driver are located in the

wlan_conf.c

file

which is available in the following path:

<ZDSII installed directory>\Program Files\Zilog\

ZDSII_eZ80Acclaim!_A.B.C\ZTP\ZTPX.Y.Z_Lib\RZK\Conf

For a description of the available WLAN drivers, see Table 5. If these parameters are set
to 0/NULL (as in the default case), the user must call the

scan

and

join

commands to

connect to a particular AP. Otherwise, the values provided in these parameters are consid-
ered to connect to the specified AP without user interaction.

Table 4. Configurable EMAC Drivers

Variable/Macro

Default Value

Description/Valid Values

f91_mac_addr

{

0x00, 0x90, 0x23, 0x73,
0x50, 0x49

};

The default MAC address must be initialized in
this array. You must change this value according
to your application setup. If more than one sys-
tem has the same MAC address and if DHCP is
enabled in ZTP, the same IP address is
assigned to all of the systems with the same
MAC address.

F91_emac_config (valid for
eZ80F91 module only)

{

1568, F91_AUTO,

BUF32

};

A structure that contains values with which the
EMAC device is to be initialized. Below are valid
values for different structure members:
F91_emac_config txBufSize = 0-1568
F91_emac_config mode = F91_10_HD,
F91_10_FD, F91_100_HD, F91_100_FD or
F91_AUTO
F91_emac_config bufSize = 32

EMAC_THD_STACK_SIZE
H

4096

EMAC interrupt thread’s stack size.

EMAC_TASK_PRIOH

6

EMAC interrupt thread’s priority.

*

Note: * Do not change this value without the knowledge of the whole system. The behavior of the system is indetermi-
nate if the default value is changed.

Advertising
This manual is related to the following products: