• 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...
  • 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...
  • 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...
  • 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...
  • 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...