Ask questions, find answers, and share insights on STM32 products and their technical features.
I'm working on a bootloader which needs to erase and program the Flash. The erase seems to be 'working' but I have a suspicion that I'm not waiting long enough for the 'Busy' bit to go active after setting the 'Start' bit. The reference manual says I...
I am using Nucleo-G031K board and attempt to set IWDG timeout to max value of ~32s. Got hard fault. Here is the code. Any idea? iwdg_hIwdg.Instance = IWDG; iwdg_hIwdg.Init.Prescaler = IWDG_PRESCALER_256; iwdg_hIwdg.Init.Window = IWDG_WINDOW_DISABLE;...
I am using STM as i2c slave. When other i2c master reads, first byte is always 0xFF and rest are correct data from STM with 1 byte shift so master needs to read 1 extra byte. Also I get HAL_I2C_ERROR_OVR error during that. Please suggest.
Hi,I'm having an issue which I can't seem to resolve:I'm trying to change the output value of Pin9 (Port C) through an interrupt routine (TIM3).If I put a simple XOR statement for this pin in the interrupt routine it works as expected.However if I tr...
I have configured the UART for multiprocessor communication over RS485. I can receive and transmit data correctly, but if the data contains a '1' as MSB it is interpreted as an address. Now it is clear from the documentation that this is the correct ...
Hi, i need to measure rms voltage and current choosing ADC channels in stm32f103.i selected two channnels in ADC1 to read adc values . By using these channels i need to calculate rms voltage and current . But i am confused how to do it . is it nec...
Hi,I am trying to implement CAN bus using STM32F072RBusing normal mode.I have found successfully transmission & reception from both the nodes.I am having one doubt regarding the frame formation.CAN is having the format asSOF|11 bit identifier|SRR|IDE...
hello, I try to use the AD9834 with the nucleo L476RG and I have some issue. I use Spi 1 , send that I think good, but it's not work.here are my code, I hope someone can help. thanks and sorry for my englishint PINSW = 1; //int led = GPIO_PIN_5; in...
I am using NUCLEO-L010RB.When operating RTC (standby mode) using LSE,What is the current consumption during RTC?