STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

PWM divider not working

I try to divide pwm like that TIM_InitStruct.TIM_ClockDivision = TIM_CKD_DIV1;it is not working. I am using stm32f030 TIM_TimeBaseInitTypeDef TIM_InitStruct; TIM_OCInitTypeDef TIM_OCInitStruct; // OC: Output Channel RCC_APB2PeriphClockCmd(RCC_APB2Pe...

hazall by Associate III
  • 354 Views
  • 1 replies
  • 0 kudos

Resolved! "Load project image" for STM32F7508-DK

Hi. I'm running through the STM32 starting tutorial and I am at a piece of code that configures GPIO pins. One of the instructions on the readme is this:In order to load the ExtMem_Boot code : - Open your preferred toolchain :- Open the Project - Reb...

OIp.1 by Associate III
  • 634 Views
  • 1 replies
  • 0 kudos

Why toggling LED4 USER doesn't work with this code ( Board nucleo G071RB) ? I know that problem is in my init function. But I don't know how to correct it because GPIOA base adress (which is also MODER register address) is right

,void GPIO_Init(GPIO_Handle_t *pGPIOHandle) { uint32_t temp = 0; //1.configure mode of gpio pin if(pGPIOHandle->GPIO_PinConfig.GPIO_PinMode<=GPIO_MODE_ANALOG) {     temp = (pGPIOHandle->GPIO_PinConfig.GPIO_PinMode<<(2 *pGPIOHandle->GPIO_PinConf...

0693W00000Y93XqQAJ.png 0693W00000Y93Y5QAJ.png
JMalia.2 by Associate II
  • 1626 Views
  • 6 replies
  • 0 kudos

STM32H743 I2S DATA MISSING IN THE RIGHT ALIGNMENT

Hello Experts,I am working on i2s of stm32h743. The Manual says when the alignment is left the zeros are sifted from 0 to 7 in case of 24bit data length which is correct work but when I change the alignment right the zero does not appear on 24 to 31b...

0693W00000Y97kjQAB.jpg 0693W00000Y97k0QAB.jpg 0693W00000Y97nYQAR.png
sainti by Associate II
  • 517 Views
  • 1 replies
  • 0 kudos

Stm32F0 TIM16 PWM not continuous

Pwm is not continuous My clock freq 20mhz Where am i doing wrong ? void PWMparamc(uint32_t PWM_freq, uint8_t duty){   PWMparam.period = (SystemCoreClock / PWM_freq) - 1;   //PWMparam.prescaler = (SystemCoreClock / TimerTickFreq )  ;   temp_duty = ((...

0693W00000Y90r4QAB.png
hdemi.1 by Associate III
  • 503 Views
  • 3 replies
  • 0 kudos

Help with a simple SMBus Read Word().

I need to preform a simple SMBus read command but I'm not understanding how to set it up. I can do a I2C read() but I can't find any examples of how to do a simple SMBus read word(). Are there any simple examples?Thanks,Richard

Resolved! HAL_UART_Transmit_IT?? STM32F072

I have the following block of code. I am averaging 6 A/D inputs. Stream holds these 6 average values and looks fine. One at a time the loop converts each sample to ascii and appends '\n' and '\r' and then transmits them over the UART. If I use UA...

SWenn.1 by Senior III
  • 1071 Views
  • 5 replies
  • 0 kudos