AnsweredAssumed Answered

STM32L15x Microcontroller Clock Output Enable

Question asked by giampa_.valerio on Mar 24, 2012
Latest reply on Mar 24, 2012 by Clive One
I would like to see the System Clock of my STM32L152.
For this reason, I have included in my project this function:
 /* Enable External Clock Output MCO on Pin48 - GPIOA.8 */  // Addizionale
  RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOA | GPIO_Pin_8, ENABLE);
 /* Configure User Button pin as Alternative Function */
  GPIO_InitStructure.GPIO_Pin = GPIO_Pin_8;
  GPIO_InitStructure.GPIO_Mode = GPIO_AF_MCO;
  //GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL;
  GPIO_InitStructure.GPIO_Speed = GPIO_Speed_40MHz;
  GPIO_Init(GPIOA, &GPIO_InitStructure);
  /* Configura l'RCC per estrarre il clock desiderato */
  RCC_MCOConfig(RCC_MCOSource_SYSCLK , RCC_MCODiv_16);

But, I don't see any signal on the Pin PA.8.
Can anyone help me?