Resolved! fix STM32f103 __WFI function gives hardfault_handler
Hello,I enter stop mode using HAL_PWR_EnterSTOPMode and the processor come out of this function immediately and does not wait for any external interrupt. can someone help me on this?
Ask questions, find answers, and share insights on STM32 products and their technical features.
Hello,I enter stop mode using HAL_PWR_EnterSTOPMode and the processor come out of this function immediately and does not wait for any external interrupt. can someone help me on this?
I just started using CubeIde but using Cube examples gives a lot errors. Should I just copy all the .H and .C files (from where?) somewhere or is there a better way.I have 32H750 and 32F746 Discovery boards and my own boards.
Hello,I am trying to get the UART to transmit some bytes with DMA. Nothing happens. RCC->APB2ENR |= (uint32_t)((1<<14)|(1<<2)); // Bit 14 USART1 clock enable & Bit 2 I/O port A clock enable GPIOA->BRR = (1<<10); // pull-down PA.10 GPIOA->...
Let's say I want this function to be within my library:// library function float mili ( unsigned x) { return x/1000.0 } // main function int main (void) { float volatile tt; unsigned t; for (;;) { t = HAL_GetTick(); while (...
Hello,For my project, I would like to enter and exit from stop mode. My intended application would be something like, the processor should wait for 1 or 2 minutes with RTC Alarm and it should wakeup if ther is any external interrupt or if there is no...
Dear all,want to check the input and output status of a board I designed with stm32h7 with Http protocol. My web page works fine in chrome. When I try to access the board via c #, I get an error "The server committed a protocol violation". also my c...
Hello,I am using STM32G030C8 microcontroller's several ADCs. Most of them are working okay but two of them (ADC1 IN15, PB11 and ADC1 IN16, PB12) are not showing correct ADC values.In ADC IN15: When I use only this channel in the code then it shows 0 ...
Hallo all.I'm facing a strange problem, after upgrading STM32CubeIde to version 1.6.0I've set the clock configuration to deliver to ADC a 64MHz clock.In this situation is not possible to set the ADC clock prescaler to "Asynchronous clock mode divided...