Ask questions, find answers, and share insights on STM32 products and their technical features.
I'm somewhat new to scatter files and I'm trying to understand them better by doing some tests on a ST32F765 project (with 2mb flash at 0x0800 0000 - 0x081F FFFF).This scatter file works OK:LR_IROM2 0x08100000 0x00100000 { ; load region size_regi...
rxBuf is uint8_t array. // this creats HardFault sometimes: id = *(uint32_t *)&rxBuf[i]; //---------------------------------------------------- // but this works OK forever: id = rxBuf[i + 3]; id <<= 8; id += rxBuf[i + ...
What happened to the equivalent of I2S_FLAG_CHSIDE as I don't seem to be able to find it.Or do you just count the interrupts and assume it goes Left - Right - Left... forever?ThanksAndy.
Where can I find the default values for the option bytes? I'm using a STM32L151CCI mean the option byte values stored in the factory on delivery.
Hi,I recently need to use I2C with interrupt mode to lower my CPU usage.So I did this changes :I changed the function where I call my transmitstatic HAL_StatusTypeDef PGA309_Write_RawData(uint8_t REGISTER,uint8_t LSB_DATA,uint8_t MSB_DATA) { uint16_...
A bit confused by STM32L496 DISCOVERY board.Documentation says Arduino compatible connector maps timer functions like following printscreen.But in CubeMX, the pins are very different, as can be seen on the following printscreens.E.g. Discovery board ...
Datasheet and Reference Manual have contradictions about the LSI Power.Information from Datasheet:The RTC is functional in VBAT mode and in all low-power modes when it is clocked by theLSE. When clocked by the LSI, the RTC is not functional in VBAT m...
Hi all, I am a new STM32 user migrating from Atmel/Microchip's SAMD line. I created my first project following along the tutorials here: https://www.youtube.com/watch?v=x_5rYfAyqq0&t=682s.It's a motor driver, with some other hardware shown outside of...