STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Run code from ram of STM32H7

I have a customized bootloader app which needs to update itself.I think if linking all the code to RAM and run code in RAM, then it should able to update itself as it does not require accessing flash.my thought is changing all section with flash (>FL...

jiangpen by Associate II
  • 1706 Views
  • 2 replies
  • 0 kudos

Hi, I am using STM32L4R5ZG controller in one of my custom board. My application need to erase some flash area in controller. However when i ma trying to erase 100 pages in Bank2 of controller pages are not getting erased and there is no error

I am attaching my code for reference.int FLASH_Erase_Size(uint32_t uStart, uint32_t uLength){ uint32_t page_error = 0U; FLASH_EraseInitTypeDef x_erase_init; uint32_t e_ret_status = HAL_ERROR; uint32_t first_page = 0U, nb_of_pages = 0U, bank_number = ...

PKrish by Associate
  • 354 Views
  • 2 replies
  • 0 kudos

Resolved! G431 Full Duplex SPI LL function for Tx and Rcv

I am playing with G4 LL example code for SPI.In STM32Cube_FW_G4_V1.4.0, there is example SPI_OneBoard_HalfDuplex_IT_Init.I have managed to make it work with my Nucleo-G431RB board. I wonder how I can extend it to a full duplex mode to communicate wit...

HDaji.1 by Senior
  • 885 Views
  • 5 replies
  • 1 kudos

What is the flash memory range for STM32F103RCT6?

I am having difficulty working out the memory address range for the STM32F103RCT6, which I am using for my project. I would like to write some config data into the top page of flash, but cannot work out with certainty where this page starts and how ...

TCarn.2 by Associate
  • 1706 Views
  • 1 replies
  • 0 kudos

How to clear UART's RX_buffer in stm32f030cct6

Hello Forum, I am using stm32f030cct6 and Quectel L86 GPS module for my application. I am doing coding on STMCubeIDE, using HAL libraries. The GPS module is in continuously receiving data mode. I am receiving that data on uart in a buffer.Max size of...

NHing.1 by Associate III
  • 15356 Views
  • 8 replies
  • 0 kudos