defragster
Senior Member+
Got a board hosting a T_4.1 with SPI ILI9341 and a bunch of other stuff including 1Gb SerialFlash chip on SPI1
Removing everything but those thing from the DEMO sketch here: https://github.com/Defragster/MiniBaseBd/blob/main/Demo_Repro/Demo_Repro.ino
Followed the code in SerialFlash and things look to use the passed SPI1 object with no reason to conflict.
Didn't look into ILI9341_t3. It works fine in the above sketch when this line #7 is commented:
I migrated from the supplied board to a PCB with T_4.1 and three other sets of sockets and saw the same behavior with the supplied DEMO then started removing/cutting and without the other activity/devices the behavior repros here.
Display is an old PJRC 2.8" - supplied was a 3.2"and both exhibit the same behavior on both 'boards'
Supplied board had SMD 1Gb Winbond - here in use is a 64MB Winbond. Both work with SerialFlash examples [Erase, HdwTest, Copy_SD, ListFiles] wired to SPI1 (with 2 ALT pins as noted in code)
Activation for use of SerialFlash allows full display function on SPI but TOUCH values never return usably to code?
Various Oddities and rabbit holes getting here from two boards and displays. The 3.2" Touch panel is 180° rotated from the display (see code #define _ROT to handle that) When the two are not the same - on startup with SerialFlash then a SINGLE TOUCH point registers on startup without a touch. Sometimes the TOUCH works with a disconnected T_CS pin - or assigned to an unused pin - other times it does not.
If anyone wants to set it up as shown/needed to run the code the problem should show up. Where the code source of the issue is I've not gotten any farther yet.
With board shown I could move to default SPI1 pins - to test - but have not done that. The board design I got is not the first use - but the problem seems to present on the already shipping version as well. The ReadTest shows the 1Gb chip gives something over 5MB/sec so it is a good connection and option to have. The board as received had a UART connect to an ESP32 and the PJRC Audio board integrated on the PCB - but those were removed from code (along with QSPI PSRAM and FLASH) and not used in the REPRO_DEMO and the problem persists - so it isn't the maker's PCB as the image above uses wires noted in code to work on generic PCB.
Please post with any ideas or questions.
Removing everything but those thing from the DEMO sketch here: https://github.com/Defragster/MiniBaseBd/blob/main/Demo_Repro/Demo_Repro.ino
Followed the code in SerialFlash and things look to use the passed SPI1 object with no reason to conflict.
Didn't look into ILI9341_t3. It works fine in the above sketch when this line #7 is commented:
#define THIS_GOOD // USE THIS TO TOGGLE SERFLASH
I migrated from the supplied board to a PCB with T_4.1 and three other sets of sockets and saw the same behavior with the supplied DEMO then started removing/cutting and without the other activity/devices the behavior repros here.
Display is an old PJRC 2.8" - supplied was a 3.2"and both exhibit the same behavior on both 'boards'
Supplied board had SMD 1Gb Winbond - here in use is a 64MB Winbond. Both work with SerialFlash examples [Erase, HdwTest, Copy_SD, ListFiles] wired to SPI1 (with 2 ALT pins as noted in code)
Activation for use of SerialFlash allows full display function on SPI but TOUCH values never return usably to code?
Various Oddities and rabbit holes getting here from two boards and displays. The 3.2" Touch panel is 180° rotated from the display (see code #define _ROT to handle that) When the two are not the same - on startup with SerialFlash then a SINGLE TOUCH point registers on startup without a touch. Sometimes the TOUCH works with a disconnected T_CS pin - or assigned to an unused pin - other times it does not.
If anyone wants to set it up as shown/needed to run the code the problem should show up. Where the code source of the issue is I've not gotten any farther yet.
With board shown I could move to default SPI1 pins - to test - but have not done that. The board design I got is not the first use - but the problem seems to present on the already shipping version as well. The ReadTest shows the 1Gb chip gives something over 5MB/sec so it is a good connection and option to have. The board as received had a UART connect to an ESP32 and the PJRC Audio board integrated on the PCB - but those were removed from code (along with QSPI PSRAM and FLASH) and not used in the REPRO_DEMO and the problem persists - so it isn't the maker's PCB as the image above uses wires noted in code to work on generic PCB.
Please post with any ideas or questions.