cancel
Showing results for 
Search instead for 
Did you mean: 

X-Nucleo GFX01M1 Display Connection Problems

Paulo1114
Associate II

X-Nucleo GFX01M1 not working properly with Nucleo-64, ARM Cortex M4, STM32 L476-Serie

 

Hi, I Got My Hands Recently On a X-Nucleo GFX01M1 and I am now struggeling to get a Proper Connection > Everything I see Is White Screen.

 

I have Simple Code For Testing the Screen :

- Just Draw Everything Red On The Screen

- Blinking LD2 on the Nucleo to see if the Code Is Running Or Not.

 

So The Code Actuallys flashes correctly with 0 Errors and The LD2 is flashing but Still, only White Screen.

https://drive.google.com/file/d/1r8Q8XvllzKyyLXUqnP15iG0EPqi2gGUq/view?usp=sharing

https://drive.google.com/file/d/1N7JsuQcGA6AmxG5wUAQERqQLjKdWLTWE/view?usp=sharing (screenshot .ioc with SPI2 and warning ?)

 

 

I am using New Blank Project In STM32 IDE,

- SPI2 Full Duplex Master

- PB15 > SPI2 MOSI

- PB14 > SPI2 MISO

- PB13 > SPI2 CLK

- PA8 & 9 > GPIO Output

- PB6 > GPIO Output

- PA0,1,2 > GPIO Output

 

 

This Is My main.c

 

Looking Forward for your Responses!

Btw the Display Is Mounted Directly to The Nucleo but I think It has something to do with the GPIO or the SPI that I am missing

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Paulo1114
Associate II

Problem was wrong GPIO mapping and using 4Bit In the  Code !

I fixed It finally..

View solution in original post

2 REPLIES 2
Paulo1114
Associate II

I changed the SPI configuration and Disabled SPI2 and enabled SPI1 and have now this Routing;

 

PA5 → SPI1_SCK (CN3 Pin 11)
PA6 → SPI1_MISO (CN3 Pin 13)
PA7 → SPI1_MOSI (CN3 Pin 15)

PB5 → GPIO_Output (Display CS - Chip Select, CN3 Pin 21)
PB3 → GPIO_Output (Display DCX - Data/Command, CN3 Pin 25)
PA1 → GPIO_Output (Display RESET, CN2 Pin 30)

 

 

PC2 → MISO (CN2 Pin 35)
PC3 → MOSI (CN2 Pin 37)
PB13 → SCK
PB7 → CS für Flash

 

 

Still White Screen...

 

Paulo1114
Associate II

Problem was wrong GPIO mapping and using 4Bit In the  Code !

I fixed It finally..