ST7735S display not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-13 06:02 AM
Hi,
I am using the STM32H563 and WF18GTLAADNN0 display with SPI for interfacing and the ST7735 library from Controllerstech. However, the application is not functioning.
Could you confirm if any driver initialization steps have been omitted?
Hardware Circuit: Please note that the VDD_MCU for the circuit below is 3.3V.
To verify SPI communication:
I am using a 3-wire SPI setup.
Connection:
LCD_SDA = SPI4_MOSI
LCD_SCL = SPI4_SCK
LCD_NCS, LCD_RS, LCD_Reset = GPIO_OUTPUT
I am experiencing significant noise, making it difficult to read data on the SDA line. While executing the write command, the CS pin goes low.
To identify the data value, I toggled the CS pin during data transfer.
When I sent 0x75, I received the same value in the waveform.
thanks
Mathan
- Labels:
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-13 07:09 AM
Why is RS toggling? Perhaps it's floating, or perhaps it's not connected to what you think it is. In any case, it shouldn't be toggling.
I don't see edges on NCS around your command. NCS should be low before the command and high after. Zoom out enough to see them and ensure they're valid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-13 07:24 AM
Full view of CS pin & without RS toggle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-13 08:08 AM
> Full view of CS pin & without RS toggle
RS is still toggling. CS is not low during the transaction. Those are both issues. Or am I missing something here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-14 12:15 AM
To identify the correct data transfer I made the CS pin high and Low. I will check the RS signals (Why it is toggling?). then I will come back to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-22 01:17 AM
Hi,
Here I attached the waveform after fixing the RS toggle issue. still, the LCD is not working.
ST7735_WriteCommand(0x75);
ST7735_WriteData(&dummy, sizeof(dummy));
ST7735_WriteCommand(0x97);
waveform for the above code
Thanks
Mathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-22 04:40 AM
Hi,
ST7735_Init(0);
fillScreen(BLACK);
testAll()
while running testAll(). I got below image
;
Thanks
Mathan
![](/skins/images/3B802B20E5B9FCB8AFED4D71677E66F5/responsive_peak/images/icon_anonymous_message.png)