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

Resolved! C question on pointers???

Hello all....Ok....not sure what i am missing here but this fails miserably....The compiler hates when I try and assign test = The return function works fine, I have made the return variable static so as not to lose the scope....test is an array so I...

SWenn.1 by Senior III
  • 2095 Views
  • 11 replies
  • 1 kudos

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
  • 2740 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
  • 437 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
  • 938 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
  • 1971 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
  • 731 Views
  • 1 replies
  • 0 kudos