cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U5G9ZJT6Q: three displays (two SPI and one 24 RGB)

Matbonny
Associate

Hi, good morning to all. I'm in the process to design an application based on STM32U5G9ZJT6Q. My first question, please, is: is it possible to have this STM32 drive three different displays, and possibly have TouchGFX manage the whole three ?

In my case I've:

  • Display #1: Rotary 1.3" display (SPI interface, 240x240. IC GC9A01N). Connected to:
    • STM32's SPI3-MOSI
    • STM32's SPI3-SCK
    • STM32's general GPIOs for Chip Select and D/C Select
  • Display #2: Same type Rotary 1.3" display (SPI interface, 240x240. IC GC9A01N). Connected to:
    • STM32's SPI1-MOSI
    • STM32's SPI1-SCK
    • STM32's general GPIOs for Chip Select and D/C Select

 

  • Display #3: 5" display (24 bit RGB interface, 800x480. IC ST7262-G4). Touch screen for user selection options. Connected to the STM32's dedicated 8xR, 8XG, 8XB, plus VSYNC, HSYNC, etc.

 

Would this work ?

Furthermore, second question, sorry: if I utilize MOSI and SCK dedicated pins on the STM32 (on SPI1 for example), can I utilize the other SPI1's pins of the same interface for other 'generic' applications (MISO, RDY,  NSS pins, which I don't plan to utilize for SPI interface) ?.

Thank you so much in advance !

Cheers, a good day

Matteo

 

1 REPLY 1
MM..1
Chief III

Simple reply is yes , but generator dont provide code for you. Only one TGFX. Maybe you can generate two or three separate projects and join with copy TGFX folders to master... rename som func and run 3 GUI tasks. Simpler will use TGFX for big and LVGL for 2 round...

Next your Q is unclean yes unused pins or alternative is free to use, but SPI1 is only one. (For use MISO as GPIO SPI need config as transmit only etc.)