Browse
STMicroelectronics Community
FAQs
Sign In
Product forums
STM32 MCUs
STM32 MCUs Products
STM32 MCUs Boards and hardware tools
STM32 MCUs Software development tools
STM32 MCUs Embedded software
STM32 MCUs TouchGFX and GUI
STM32 MCUs Motor control
STM32 MCUs Security
STM32 MCUs Wireless
STM32 MPUs
STM32 MPUs Products
STM32 MPUs Boards and hardware tools
STM32 MPUs Embedded software and solutions
STM32 MPUs Software development tools
MEMS and sensors
MEMS (sensors)
Imaging (sensors)
Automotive and Transportation
Automotive MCUs
AutoDevKit Ecosystem
GNSS positioning
Edge AI
Interface and connectivity ICs
Power management
ST25 NFC/RFID tags and readers
STM8 MCUs
Others: hardware and software
Analog and audio
Knowledge base
STM32 MCUs
STM32 MPUs
MEMS and sensors
Analog and audio
EMI filtering and signal conditioning
Interface and connectivity ICs
Power management
Quality & reliability
Academy
About
Community guidelines
Feedback forum
Community blog
Developer news
Robert1
Associate II
since
2019-11-07
2023-06-14
User statistics
6
Posts
0
Solutions
0
Kudos given
0
Kudos received
STMicroelectronics Community
About Robert1
Options
Report User
User Activity
Posts
Replies
STM32G491CC (not defined FLASH_OPTR_DBANK) -> Problem cube firmware (stm32g4xx_hal_flash.h) , FLASH_PAGE_NB is wrong
2021-06-21
FLASH_PAGE_NB is wrong == 64 page, must be 128 pages #define FLASH_PAGE_NB ((FLASH_SIZE == 0x00080000U) ? 256U : 64U)Work for STM32G491CE == 256 Pages
stm32l4xx_ll_rcc.h and stm32g4xx_ll_rcc.h wrong implementation of LL_RCC_PLL_ConfigDomain_SYS macro
2019-11-07
Wrong original:__STATIC_INLINE void LL_RCC_PLL_ConfigDomain_SYS(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR){ MODIFY_REG(RCC->PLLCFGR, RCC_PLLCFGR_PLLSRC | RCC_PLLCFGR_PLLM | RCC_PLLCFGR_PLLN | RCC_PLLCFGR_PLLR, Source | PLLM |...
STM32G4xx.svd file OPAMP missing
2019-11-07
Re: STM32G491CC (not defined FLASH_OPTR_DBANK) -> Problem cube firmware (stm32g4xx_hal_flash.h) , FLASH_PAGE_NB is wrong
2021-06-30
Hello Walid,I checked your macro bugfix.STM32G491CC (get 128 pages)andSTM32G491CE (get 256 pages).It works.With best regardsRobert Chudalla
Re: STM32G491CC (not defined FLASH_OPTR_DBANK) -> Problem cube firmware (stm32g4xx_hal_flash.h) , FLASH_PAGE_NB is wrong
2021-06-21
FLASH_OPTR_DBANK not defined for STM32G491, therefore you get for the type STM32G491CC (256 Kbyte Flash 128 pages) -> FLASH_PAGE_NB = 64 and not 128...#else#define FLASH_PAGE_NB ((FLASH_SIZE == 0x00080000U) ? 256U : 64U) #if defined (FLAS...
Re: STM32G4xx.svd file OPAMP missing
2019-11-07
Thank you very much :)