Ask questions, find answers, and share insights on STM32 products and their technical features.
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...
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...
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...
,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...
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...
I'm using STEVAL-MKSBOX1V1 for vibration analysis and I want to change sampling frecuency. I did it in the past with other versions of the project but now it has chan a little. I changed the ODR in the file lsm6dsox.c , but I also need to change the ...
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 = ((...
Why there are two pending registers for interrupt? One of them is EXTI_PR and other one is Interrupt Set-pending Registers(ISPR) which is in NVIC controller registers.?What is the diffrence between them?Thanks in advance
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