STM32 MCUs Products

Ask questions, find answers, and share insights on STM32 products and their technical features.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Transition from PIC

Hello AllNoob question here - seeking advice.I've been using PICs for many years now and writing only in assembler. I've reached the end of my tether with microchip and the lottery of which IDE will work with which programming tool and with which dev...

AThor.2 by Associate II
  • 3041 Views
  • 12 replies
  • 0 kudos

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
  • 464 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
  • 981 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
  • 2110 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
  • 789 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
  • 704 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