Resolved! bug in example code STM32G0xx PWM output Example
the following line 56000000 is wrong.#define PRESCALER_VALUE (uint32_t)((SystemCoreClock / 56000000) - 1)it should be 5600000 Right ?SystemCoreclock is 16MHZ. but divided by 56MHZ ?
Ask questions, find answers, and share insights on STM32 products and their technical features.
the following line 56000000 is wrong.#define PRESCALER_VALUE (uint32_t)((SystemCoreClock / 56000000) - 1)it should be 5600000 Right ?SystemCoreclock is 16MHZ. but divided by 56MHZ ?
Hi,I'm trying to communicate with a device that requires few microsecond pause between SPI read and write access. During the pause, SCK and CS line must be kept low. Please note, that I want to use SPI in interrupt driven mode. MCU is STM32F7x7Curren...
Hi,We have some allocation issues with the existing micro-controller part STM32F070RBT6 being used in one of our Printed Circuit Board. So, I am thinking of replacing it with a different STM32 part (Part Number: STM32L071RBT6). The hardware pin outs ...
I have a requirement to generate two PWM signals on an STM32F407G MCUAs an example, the images of the signal I want to do are:There are many methods to generate signals in this way, it can be done by writing an interrupt function as an example, it ca...
boot from flash Board:Stm32f401ccu6 black phillthese are my upload statusSTMicroelectronics ST-LINK GDB server. Version 5.8.0Copyright (c) 2020, STMicroelectronics. All rights reserved.Starting server with the following options: Persistent Mod...
I want to make SWD debugger programmer for STM32 MCUs how can I make this is there any examples or sample code?
Hi, everyone. May be you have a sample project about how to write a data to SRAM for STM32F7 or simialar via FMC and HAL
I am trying to configure PC13 as output with RTC_LSE_ON condition in stm32f429 microcontrollerbut it stays high or low as per pull up/ pull down configuration.Welcome for any suggestionsRegards,Santosh Pawar
I had using STM32CubeIDE to generate ADC1 single channel with Timer 6 trigger on 1sec. In HAL library, everything work perfectly and I can see ADC interrupt happen exactly on 1sec interval. But when switch to LL library, same project but the interrup...
HiUsing CubeMX on a STM32H7B3I I have generated this initialisation function for the TIM12 CH2/** * @brief TIM12 Initialization Function * @param None * @retval None */static void MX_TIM12_Init(void){ /* USER CODE BEGIN TIM12_Init 0 */ /* USER CODE E...