STM32 MCUs Embedded software

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

OCTOSPI: NCS stays high on STM32U5A9

I am trying to access a NOR flash via OctoSPI1. CLK is connected to PF4, NCS is connected to PI5. While I can see clock cycles on PF4, PI5 stays high all the time.Does anyone have an idea, what could be wrong?Trust zone is disabled. The register sett...

Meixner by Associate II
  • 3 replies
  • 0 kudos

Resolved! Setting Octospi free running clock mode

Anyone knows why in HAL_OSPI_Init(...) , Octospi free running clock has to be enabled after Octospi is enabled. Form stm32l5xx-hal_ospi.c, lines 404-411: /* Enable OctoSPI */    __HAL_OSPI_ENABLE(hospi);    /* Enable free running clock if needed :...

xinu2021 by Associate
  • 1 replies
  • 0 kudos