Skip to main content
FTrom
Associate III
Question

STM32F446RE with X-Nucleo-GFX01M1

Hi

I have STM32F446RE and X-Nucleo-GFX01M1.

When flash my nucleo I get:

File download complete

Time elapsed during download operation: 00:00:03.366

Verifying ...

Download verified successfully 

Debugger connection lost.

Shutting down...

But I cannot see anything on my screen.

Probably because when I generate the code, the SW does not modify the SPI configuration and not initialize it.

0693W00000BcSduQAF.pngreading the following document https://www.st.com/resource/en/user_manual/dm00720406-.pdf

for me, it is not clear how should I do it. Ex: mode: full/half duplex? CPL/CPA ? CRC calculation? LED? FMARK? etc.

Thanks

Fausto

This topic has been closed for replies.

4 replies

MM..1
Super User

Debug conection lost exist when in code you use GPIO pin SWDIO SWDCLK or sleep stop standby mode and dont setup debuger for it, or when your MCU start app and this result to error for example hardfault...

FTrom
FTromAuthor
Associate III

ok, but the display is still white :)

Tesla DeLorean
Guru

Then some other issue, then.

Perhaps try some other code, and port that, perhaps looking at the settings/configuration used there.

https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-display.html

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..