Forum Posts
What can cause an ADC calibration fails?
We are starting (difficultly due to the lack of devices) the pre-production of our system built around an STM32 H743VIT, and, on already two systems (out of about 50), we have failures initializing ADC 2. For the first one, replacing the MCU was succ...
Driving TIM21 from 32KHz clock?
I've got a STM32L053 (on a Nucleo-Lo53R8). I'd like to drive TIM21 from the 32KHz clock, and gang it with TIM22 to form a 32 bit counter. But I'm confused on a few points.First question: how to drive TIM21 from 32KHz? The documents (RCC chapter, 7.2....
Resolved! HRTIM register update with Burst DMA doesn't work properly
The problem is as follows: When I am trying to update HRTIM master timer registers (MPER, MCMP1-4) on the STM32G474 via Burst DMA access, every data word I write into the BDMADR register gets written into two of the specified master timer registers. ...
ST, please update Errata Sheets (ES) timely and propagate individual errata of IPs to all related models' ES.
I came across a problem exactly described by this erratum: As you can imagine, this was "fun" to investigate.You may ask, "But Jan, don't you know you should read the Errata first?". Problem is, this is ES for 'G0B1, whereas the problem was observed ...
Resolved! F407 Transmits Garbage values after the message via SPI
I was working on a simple SPI transmit code, I am transmitting some string data via SPI Half duplex, the code is like I press blue button on the discovery board, and it transmits data, which I read from logic analyzer, but every time after data is tr...
HAL_I2C_Mem_Read_IT() blocks MCU!
The function is supposed to read the I2C in non-blocking mode.However - quite often - it blocks the MCU for like 2 seconds!As I need to read an I2C in time critical part of my program, this breaks everything.I investigated the function source and I f...
Resolved! NEED CLARIFICATION TIMER INTERRUPT FORMULA
I have read a book on stm32, and inside the timer topic, it is stated that a formula to determine the values to be loaded to generate interrupt at specified times which as below:My question is does this formula applicable for all stm32 timers? and an...
Resolved! Error: E31 Remote Failure Reply, when starting code in debug mode
Hello all, I am currently trying to get my STM32F411RE code working in Atollic TrueStudio. This project leverages the use of DMA and CMSIS-DSP which are all working in TrueStudio to find freqeuncy outcomes. The issues at hand is that I can upload my ...
STM32F407ze throws hard fault on executing code from RAM.
https://stackoverflow.com/questions/72826600/stm32f407ze-throws-hard-fault-on-executing-code-from-ramPlease check the details of my linker and startup scripts on the above link.