Forum Posts
HAL RTC driver doesn't set RTC Clock Select bits in RCC_BDCR register.
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...
Is it possible that PLL will fail while MCU will still be working?
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...
STM32H755ZI SPI / Behaviour of MOSI after disabling peripheral
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...
Resolved! STM32F7 Full Duplex SPI Slave - Daisy Chain with Shared Buffer
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...
Resolved! Timer Interrupt STM32F030C6 with Tim16 and Tim17
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!
Use of ECC in NAND memories for STM32F429
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...
STM32G031 ADC Hardware Oversampling
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,
Resolved! When assigning a pointer to structure pointer, mcu goes in to Hardfault Handler.
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...