Skip to content

QSPI locks up at STM32F746G-DISCO board #6

@desowin

Description

@desowin

Describe the set-up

  • STM32F746G-DISCO
  • STM32746G-Discovery BSP V2.0.2 with STM32F7xx HAL Drivers V1.2.7
  • gcc 6.3.0 from TouchGFX 4.12.3 toolchain

Describe the bug
When repeadetly calling BSP_QSPI_Read() the QSPI locks up with BUSY flag set. The only way to get out of the issue is to reset using BSP_QSPI_DeInit() followed by BSP_QSPI_Init().

The problem only happens when optimization level -O2 is active. It does not happen with -O1.

Additional context
This bug is basically the same as ARMmbed/mbed-os#10049.
The fix ARMmbed/mbed-os@5c872a4 when applied on the HAL library, solves the issue completely.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghalHAL-LL driver-related issue or pull-request.internal bug trackerIssue confirmed and logged into the internal bug tracking system

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions