2022-09-11 10:12 AM
All health!
I tried to connect the display on ILI9341 to STM32G474VET6 using FMC. There were no problems with stones F1, F3, F4, F7. And with G4, an interesting plug is obtained - for each byte, a 0x00 byte is added. I read Eratu - there is nothing. I don’t even know where to dig. If anyone has met with such FMC work, tell me where to dig.
2022-09-11 10:34 AM
Start with schematic of connectivity
Configuration of pins and peripheral
And the code for the types of read/write operations you are performing
2022-09-11 06:54 PM
STMCubeIDE 1.10.1
If 8 bit data is selected, an empty byte is added, if 16 bit data is not. Why is the high (unused) byte sent in 8-bit mode?
2022-09-12 03:45 AM
Carelessness.
Now
#define ADDR_CMD *(uint16_t*)0x60000000
#define ADDR_DATA *(uint16_t*)0x60040000
but you need
#define ADDR_CMD *(uint8_t*)0x60000000
#define ADDR_DATA *(uint8_t*)0x60040000
2022-09-14 04:13 AM
Hi @mlitv.1 ,
Do you mean that wrong code is generated with STM32CubeIDE?
If it is the case, could you please provide some more details so that we can track the issue and fix it?
Thanks.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.