Tennsy 4.0 and TFT 3.5 INCH

here is what the serial wrote to me with the library of Kurts_ILI9488_t3n_and_clip_tests:

Begin: CS:10, DC:8RST: 9
Size of RAFB: 2
::begin 2000398c 255 255 255
ILI9488_t3::begin - End
Display Power Mode: 0x0
MADCTL Mode: 0x0
Pixel Format: 0x0
Image Format: 0x0
Self Diagnostic: 0x0
Just before frist draw Test Screen
Use FB: 0 235
1
 
bonjour Paul,
voici ma configuration de broches

//#définir TRY_EXTMEM
#ifdef TRY_EXTMEM
#si !défini(ARDUINO_TEENSY41)
#undef TRY_EXTMEM
#si défini(ENABLE_EXT_DMA_UPDATES)
#error "Cette version ne fonctionne qu'avec la mémoire externe"
#fin si
#fin si
#fin si

#include <Adafruit_GFX.h> // Bibliothèque graphique principale
#include <ili9488_t3_font_Arial.h>
#include <ili9488_t3_font_ArialBold.h>
#include <ILI9488_t3.h>
#include <Fonts/FreeMonoBoldOblique12pt7b.h>
#include <Fonts/FreeSerif12pt7b.h>

#définir ROTATION 3

#include "SPI.h"

//#définir USE_SPI1
#si défini(USE_SPI1)
#if défini(__IMXRT1062__) // Teensy 4.x
#définir TFT_DC 2
#définir TFT_CS 0
#définir TFT_RST 3

#définir TFT_SCK 27
#définir TFT_MISO 1
#définir TFT_MOSI 26

#autre
#définir TFT_DC 8
#define TFT_CS 10 // n'importe quelle broche fonctionnera, pas le matériel
#définir TFT_RST 9
#définir TFT_SCK 13
#définir TFT_MISO 12
#définir TFT_MOSI 11
//#définir DEBUG_PIN 13
#fin si
ILI9488_t3 tft = ILI9488_t3(&SPI1, TFT_CS, TFT_DC, TFT_RST, TFT_MOSI, TFT_SCK, TFT_MISO) ;

//--------------------------------------------------
#else // broches par défaut
#define TFT_DC 8 // uniquement la broche CS
#define TFT_CS 10 // en utilisant la broche standard
#définir TFT_RST 9
ILI9488_t3 tft = ILI9488_t3(&SPI, TFT_CS, TFT_DC, TFT_RST) ;
//--------------------------------------
#fin si
 
Salut Paul,
pour :Dans l'IDE Arduino, cliquez sur Fichier > Exemples > ILI9488_t3 > graphiquestest9488.

mais rien n'apparaît à l'écran

:: début 20000fa4 255 255 255
ILI9488_t3 :: début - Fin
Test ILI9488 !
Mode d'alimentation d'affichage : 0x0
Mode MADCTL : 0x0
Format de pixels : 0x0
Format d'image : 0x0
Auto-diagnostic : 0x0
Temps de référence (microsecondes)
Remplissage d'écran 615238
Envoyez un SMS au 10891
Lignes 154195
Lignes Horiz/Verte 51150
Rectangles (contour) 28387
Rectangles (remplis) 1486946
Cercles (remplis) 177686
Cercles (contour) 104393
Triangles (contour) 33411
Triangles (remplis) 487288
Rectangulaires arrondis (contour) 54434
Rectangulaires arrondis (remplis) 1626112
Fait!
 
here is what the serial wrote to me with the library of Kurts_ILI9488_t3n_and_clip_tests:

Begin: CS:10, DC:8RST: 9
Size of RAFB: 2
::begin 2000398c 255 255 255
ILI9488_t3::begin - End
Display Power Mode: 0x0
MADCTL Mode: 0x0
Pixel Format: 0x0
Image Format: 0x0
Self Diagnostic: 0x0
Just before frist draw Test Screen
Use FB: 0 235
1

Note that this report (pertinent line in RED above) does not agree with your most recent post:

Tennsy 9 => screen DC/RS
Tennsy 10 => screen CS
Tennsy 8 => screen RESET

It appears like DC/RS & RESET are swapped.

Hope that helps . . .

Mark J Culross
KD5RXT
 
Bonjour,
Mark J Culross
KD5RXT
, j'ai changé le port série ici :
mais toujours pas d'affichage

:: début 20000fa4 255 255 255
ILI9488_t3 :: début - Fin
Test ILI9488 !
Mode d'alimentation d'affichage : 0x0
Mode MADCTL : 0x0
Format de pixels : 0x0
Format d'image : 0x0
Auto-diagnostic : 0x0
Temps de référence (microsecondes)
Remplissage d'écran 616519
Texte 15854
Lignes 203019
Lignes Horiz/Vert 51501
Rectangles (contour) 28781
Rectangles (remplis) 1491603
Cercles (remplis) 206779
Cercles (contour) 155571
Triangles (contour) 43372
Triangles (remplis) 500837
Rectangulaires arrondis (contour) 70061
Rectangulaires arrondis (remplis) 1638865
Fait!
 
Do you have the BL (backlight...may also be labeled LED) pin tied to either 3.3VDC or 5VDC ?? Pictures of your hookups could be helpful for assisted troubleshooting.

Mark J Culross
KD5RXT
 
Last edited:
20240208_154618.jpg
20240208_154153.jpg
 
hello, I don't know why but it works now,
I had to plug in several pines
but not include them in the script....
I will be able to move forward with my project thank you all

I connected
RST 9
DC 8
CS10
MOSI 11
MISO 12
SCK 13

and in the test script I have
RST 9
DC 8
CS10
 
hello, I don't know why but it works now,
I had to plug in several pines
but not include them in the script....
I will be able to move forward with my project thank you all

The library defaults to using SPI pins 11 (MOSI) , 12 (MISO) and SCK (13). The constructor you are using in the ILI9488_t3 library uses the default pins so no need to specify them. Now if you wanted to use a different SPI bus for example you would have to use the full constructor as shown in the example and specify all the pins
Code:
 ILI9488_t3(&SPIx, TFT_CS, TFT_DC, TFT_RST, TFT_MOSI, TFT_SCK, TFT_MISO) ;
 
The library defaults to using SPI pins 11 (MOSI) , 12 (MISO) and SCK (13). The constructor you are using in the ILI9488_t3 library uses the default pins so no need to specify them. Now if you wanted to use a different SPI bus for example you would have to use the full constructor as shown in the example and specify all the pins
Code:
 ILI9488_t3(&SPIx, TFT_CS, TFT_DC, TFT_RST, TFT_MOSI, TFT_SCK, TFT_MISO) ;
Thank you for this additional information
 
Back
Top