Ask questions, find answers, and share insights on STM32 products and their technical features.
I am using the stm32f7xx_hal_rtc.c driver to initialize the RTC. I have configured the high speed clock source as the external crystal (HSE) and I have configured the low speed (32 KHz) clock source as the external crystal (LSE). Prior to calling the...
I'm writing some kind of safe system clock configuration and a bit paranoid. Setup starts with enabling HSE and after stable, it is used as a source for PLL. If HSE fails my program switching to HSI and enables PLL ones again with HSI as a source and...
Hi everyoneI'm currently working with the STM32H755ZI SPI1 peripheral. I'm using low level driver to read 2 bytes of data. It works fine. I'm transmitting 2 dummy data bytes (0xFF) in order to get some response from the SPI slaves. However, I'm wonde...
I'm currently working on a device that acts as a slave on a SPI bus, with the intention of being daisy-chained with a number of other devices. The bus master sends out a stream of data with 3 bytes meant for each slave, so the total number of bytes i...
Hi guys,I'm using STM32CubeIDE with STM32F030C6 at 48Mhz.I'm trying to generate the graph below in my application, but I only have Timer 16 and 17 available. Is this possible? Could someone give me a tip? Thanks!
Hello,I am trying to use the ECC computation block for a NAND memory in STM32F429. The page size of my memory is 2048 bytes + 64 spare bytes.The ST32F429 Reference Manual says "The ECC algorithm implemented in the FMC can perform 1-bit error correcti...
Hello,I'd like to use hardware oversampling to increase the ADC resolution to 16 bits. However, this is something I've never done. Is there documentation or examples available on this method? Has anyone had experience with this topic?Thanks,
Hi Everyone, When I send a structure pointer as an agument to a function, and trying to catch address of a variable in the structure in the function, MCU goes in to hardfault handler function. Let me simplify the problem as below,uint8_t *ptr1;uint3...