cancel
Showing results for 
Search instead for 
Did you mean: 

USB Mouse-Demo IAR

robertmarsche9
Associate II
Posted on December 13, 2005 at 09:25

USB Mouse-Demo IAR

1 REPLY 1
robertmarsche9
Associate II
Posted on December 13, 2005 at 07:24

My application stops here:

RCCU->CLK_FLAG |= RCCU_CSU_CKSEL_Mask;

in rccu.c

so it is impossible to start the mouse demo application.

Are these the rigth clock settings for the Eval Kit ST710

RCCU_MCLKConfig ( RCCU_DEFAULT );

// Configure FCLK = RCLK /2

RCCU_FCLKConfig ( RCCU_DEFAULT/*RCCU_RCLK_4*/);

//Configure PCLK = RCLK /4

RCCU_PCLKConfig ( RCCU_DEFAULT );

// Configure the PLL1 ( * 16 , / 2 )

//RCCU_PLL1Config ( RCCU_Mul_16 , RCCU_Div_4 ) ;

RCCU_PLL1Config ( RCCU_Mul_16 , RCCU_Div_1 ) ;

// Wait PLL to lock

//while(RCCU_FlagStatus(RCCU_PLL1_LOCK)==RESET);

for ( i = 0x7f ; i> 0; i--)

// Select PLL1_Output as RCLK clock

RCCU_RCLKSourceConfig ( RCCU_PLL1_Output ) ;

here the program stops

THX for help