Forum Posts
How to find reason for hard fault , very rarely occurring ?
the "system" is a audio player, decoding (in float) MP3 stream, output on I2S to a DAC;cpu H743 , at 200MHz, i/o by DMA1 , stream coming from ESP8266 wlan radio.system ok, running ...maybe 1..3 hours, then hang up:just now got it first time, still in...
Stop mode in stm32L552
Hi all,I am using stm32L552CE. When I enter stop mode or sleep mode, the current is too high (5mA for stop mode, 18mA for sleep mode). /* Enable PWR clock */ __HAL_RCC_PWR_CLK_ENABLE(); HAL_Delay(5000); printf("Go into stop mode\r\n"); /****** Suspe...
STM32G071 Push Pull PWM and Fault Pin
Hi,I have control H-bridge with 4 IGBTs . PWM Topology : Push Pull Mode PWM Frequency : 10KHz to 100KHzDead Time : 2.5usDuty Cycle : 0% to 50%Emergency Stop : 2 Fault Pins for Individual ChannelsHow to achieve below wave with STM32G071 MCU and STM32...
Why is UART5 Receive Interrupt in ST32F405 UART5 not working after I send data from UART5 TX
I am using STM32F405 UART5 to receive data using interrupt.I generated base code using STM CubeMX. The problem is when I don't transmit data from UART5 TX, the UART5 receiver works fine. But if I send data from UART5 TX, the first 2-3 bytes voltage d...
How can you enable TouchGFX within STMCube, using only internal memory (no FMC SDRAM)?
I want to create a project using an STM32F7 core, but don't want external memory - the MCU has more than enough memory for one or even two framebuffers in internal RAM. However - STMCube will not allow me to enable the Graphics Framework without FMC...
STMP32H7 UART1 RS422 DMA Rx not functioning but Tx works.
Have STPM32H7 CPU running in 108 Mhz, and UART1 pull off PLL3 @50 Mhz, set baud rate at 3375000 with 8x oversampling rate.Do see the Tx signal by DMA (303 ns each baud ) out to device and replied with about 302 ns baud, signal is clean on the scope, ...
How does the STM32 Boot pin works?
I have a question about the BOOT pin performance of the STM32G031.In the datasheet says that upon reset, the boot pin (PA13) is established at the beginning as the picture shows. But I wanna know if it is only at the beginning of the reset and then I...
STM32F103 occasionally doubles counting speed in encoder mode
Hello!I use STM32F103 MCU Timer 2 in ecnoder mode. Ticks from an encoder go at approximately 1 MHz, so I use prescaler value 25 to decrease the frequency.Sometimes it works fine, but sometimes timer begins to count encoder ticks at double speed - it ...
Resolved! STmicro statement regarding MCU parts availability?
It's no secret that there is a worldwide shortage of STM32 MCUs and distributors are not even trying to estimate availability.How is STmicro addressing this?