MCUFRIEND_kbv
MCUFRIEND_kbv copied to clipboard
STM32F030C8T6 and a supposed S6d05A1
Hi David. I really admire your dedication to Displays and all your work, I have used your library in many projects and they have always worked perfectly. This time I have a difficult one. and maybe you can help me.
I have this screen connected to a STM32F030C8T6 microcontroller, the display has the inscriptions TFT8K6641FPC-A1-E and TFT1P3925-E, apparently it is an S6D05A1.
I was able to verify that it is connected in 16-bit mode in Port B of the processor. (PB0-PB15) and the RST, CS, RS, WR, RD pins on PC15, PC14, PC13, PF1, PF0, but I can't know the order in which they are connected, because I don't have the display pinout. I could try different combinations to get the correct position.
I have installed STM32Duino in arduino IDE, and I can correctly program the microcontroller without problems, using a STLINK-V2.
I have tried to use your sketch but I think it is only for 8-bit. this is true?
By changing the configuration of the pins I have obtained some responses in some cases All ZEROS. but in other cases different hexadecimal values
`diagnose any controller
reg(0x0000) 00 00 ID: ILI9320, ILI9325, ILI9335, ...
reg(0x0004) 04 04 04 04 Manufacturer ID
reg(0x0009) 09 09 09 09 09 Status Register
reg(0x000A) 0A 0A Get Power Mode
reg(0x000C) 0C 0C Get Pixel Format
reg(0x0030) 30 30 30 30 30 PTLAR
reg(0x0033) 33 33 33 33 33 33 33 VSCRLDEF
reg(0x0061) 61 61 RDID1 HX8347-G
reg(0x0062) 62 62 RDID2 HX8347-G
reg(0x0063) 63 63 RDID3 HX8347-G
reg(0x0064) 64 64 RDID1 HX8347-A
reg(0x0065) 65 65 RDID2 HX8347-A
reg(0x0066) 66 66 RDID3 HX8347-A
reg(0x0067) 67 67 RDID Himax HX8347-A
reg(0x0070) 70 70 Himax HX8347-A Panel
reg(0x00A1) A1 A1 A1 A1 A1 RD_DDB SSD1963
reg(0x00B0) B0 B0 RGB Interface Signal Control
reg(0x00B3) B3 B3 B3 B3 B3 Frame Memory
reg(0x00B4) B4 B4 Frame Mode`
On the other hand, I have tried to use any of the examples but I get many compilation errors, I suppose due to the lack of definition of the pins in mcufriend_special.h which I do not know how to add my Board. (GENERIC_F030C8TX)
I turn to your knowledge to make this screen work.
thank you so much
Leo
**
**