LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
LPC1850 and LPC4350 Hitex EVA board System Init code

Data Structures

struct  PINMUX_GRP_T
 
struct  CLK_BASE_STATES
 

Macros

#define CLK0_DELAY   7
 

Functions

STATIC void SystemSetupClocking (void)
 
STATIC void SystemSetupMuxing (void)
 
STATIC void SystemSetupMemory (void)
 
void SystemInit (void)
 Setup the system SystemInit() is called prior to the application and sets up system clocking, memory, and any resources needed prior to the application starting.
 

Variables

STATIC struct CLK_BASE_STATES InitClkStates []
 
STATIC const PINMUX_GRP_T spifipinmuxing []
 
STATIC const PINMUX_GRP_T pinmuxing []
 
STATIC const IP_EMC_DYN_CONFIG_Type IS42S16400_config
 
STATIC const
IP_EMC_STATIC_CONFIG_Type 
IS62WV25616_config
 
STATIC const
IP_EMC_STATIC_CONFIG_Type 
SST39VF320_config
 

Detailed Description

The System initialization code is called prior to the application and initializes the board for run-time operation. Board initialization for the Hitex EVA boards includes clock setup, default pin muxing, and memory configuration.

With the exception of stack space, no RW memory is used for this call.

LPC1850 and LPC4350 Hitex EVA setup
Clocking:
All base clocks enabled by default (Save power by disabling un-needed clocks)
CPU PLL set to maximum clock frequency (as defined by MAX_CLOCK_FREQ value)
SPIFI FLASH clock setup for fastest speed
Pin muxing:
Sets up various pin mux functions for the board (Ethernet, LEDs, etc.)
Sets up the external memory controller signals
Memory:
Sets up DRAM, static RAM, and NOR FLASH.

Macro Definition Documentation

#define CLK0_DELAY   7

Definition at line 316 of file sysinit_hitex_eva_18504350.c.

Function Documentation

void SystemInit ( void  )

Setup the system SystemInit() is called prior to the application and sets up system clocking, memory, and any resources needed prior to the application starting.

Returns
none

Definition at line 421 of file sysinit_hitex_eva_18504350.c.

STATIC void SystemSetupClocking ( void  )

Definition at line 115 of file sysinit_hitex_eva_18504350.c.

STATIC void SystemSetupMemory ( void  )

Definition at line 388 of file sysinit_hitex_eva_18504350.c.

STATIC void SystemSetupMuxing ( void  )

Definition at line 304 of file sysinit_hitex_eva_18504350.c.

Variable Documentation

STATIC struct CLK_BASE_STATES InitClkStates[]

Definition at line 69 of file sysinit_hitex_eva_18504350.c.

STATIC const IP_EMC_DYN_CONFIG_Type IS42S16400_config

Definition at line 319 of file sysinit_hitex_eva_18504350.c.

STATIC const PINMUX_GRP_T pinmuxing[]

Definition at line 158 of file sysinit_hitex_eva_18504350.c.

STATIC const PINMUX_GRP_T spifipinmuxing[]
Initial value:
= {
{0x3, 3, (MD_PLN_FAST), FUNC3},
{0x3, 4, (MD_PLN_FAST), FUNC3},
{0x3, 5, (MD_PLN_FAST), FUNC3},
{0x3, 6, (MD_PLN_FAST), FUNC3},
{0x3, 7, (MD_PLN_FAST), FUNC3},
{0x3, 8, (MD_PLN_FAST), FUNC3}
}

Definition at line 105 of file sysinit_hitex_eva_18504350.c.