I'm creating a new project for STM32G030F6P6 in STM32CubeMX. It says 32 kBytes flash. But when I look at the generated project in the file stm32g030xx_flash.icf it says: /*###ICF### Section handled by ICF editor, don't touch! ****/
/*-Editor anno...
It is impossible to download the latest STM32Cube MCU Package for STM32L4 series (1.18.0). https://www.st.com/en/embedded-software/stm32cubel4.htmlI enter my user name and password but the download never starts. I downloaded the latest STM32CubeMX an...
STM32L4R9AII6 generates 16 SPI clock pulses when I have selected data size 8 in STM32CubeMX.When I measure the SPI clock when I write a single byte to the SPI1 DR register it outputs 16 clocks.When I debug I can look at the SPI1 registers. The CR2 DS...
I have setup the MCU as an SPI slave that will receive 15 words.How can I handle if the master sends less than 15 words?If the master sends less than 15 words I don't get any call to HAL_SPI_TxRxCpltCallback().The NSS pin is selected as "Hardware NSS...
I'm using an STM32L051.Is this how the sub second counter works in the RTC? The sub second counter always starts at PREDIV_S when a new second starts?The graph shows a simplified example when PREDIV_S is 3.
Yes. if I generate an STM32CubeIDE project the STM32G030F6PX_FLASH.ld is correct. But when I select EWARM project the stm32g030xx_flash.icf is incorrect.I hope ST fixes this. This could suddenly break firmware.
Probably this happens because one error flag is set when you call HAL_UART_Receive_DMA(). You must clear the flags first.Try this: uint32_t primask_bit;
primask_bit = __get_PRIMASK();
// HAL_UART_Receive_DMA() will enable the Error interrupt. ...