• SSP0 Clock setting
    we set CCLOCK to 60MHz, SSP0 divider is 2, so in lpc2300.s PCLKSEL1_Val should be 0x800. // SSPCPSR clock prescale register, master mode, // minimum divisor is 0x02 SSP0CPSR = 0x06; the clock...
  • How to set MSI clock
    Dear friends, I am working with STM32L152VD. my problem is that after setting system clock to MSI and setting PWM on TIM4 I see that system clock is much lower than expected. void SetHSICLKToMSI...
  • Bad clock settings for an STR9
    Hello all, I have just recovered my STR9 from a fatal startup crash due to invalid setting of the SCU_CLKCNTR. My PLL generates a 48 MHz clock, and the source of the problem was the APBDIV bit field...
  • changing Clock and PLL setting
    Hello.... I was using keil 5 that I installed it last year.This year, after refreshing my windows, I had to install keil 5 again, but this time, I have a problem with new version of system_stm32f4xx...
  • Setting clock stm32f407 discovery
    Hello. I’m using stm32f407VG discovery and Keil uvision 5 and I can’t find an indtruction how to set clock properly. I wanna use internal 16 MHz SYSCLK for communication throughout virtual COM port...