cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G474VET6 FMC

mlitv.1
Associate II

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.

4 REPLIES 4

Start with schematic of connectivity

Configuration of pins and peripheral

And the code for the types of read/write operations you are performing

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
mlitv.1
Associate II

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?

mlitv.1
Associate II

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

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.