cancel
Showing results for 
Search instead for 
Did you mean: 

What's wrong with FMC seventh family

LCDLCDHi all. I can’t figure out how to work in LCD interface mode. I check it with an analyzer and see that when writing a byte, instead of one FMC_NWE pulse, several are generated.

6 REPLIES 6

Caching, MMU, width of lines vs width of memory?

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

If I understand you correctly, the data format in the function and in the FMC node itself must match. If FMC is 16 bit then

 

 

#define TFT_DATA     *(__IO uint16_t*) 0x60020000

This happened with the F7 series, but not so with the H7...

 

 

FBL
ST Employee

Hi @Kondratev.Georgiy 

Could you explain please the behavior? You mean when writing a byte to LCD, multiple write cycles are being generated?

First, you can check the configuration of the memory ComSpaceTiming and AttSpaceTiming  Also, check the specifications MEMWAIT MEMSET and MEMHOLD...

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.


I'm out of offce with limited access to my emails.
Happy New Year!

You need to have the given area set as Device in MMU.

JW

Should this be done in the CORTEX M7 section? But I have difficulties with this, I do not understand this part of the kernel well.

Well, how would it work out. Described the region in CORTEX M7 with full access

FMC_LCD_H70B(1).png

created a definition by defining the address on line A16 (R/S signal)

 

#define ADDR_CMD    *(uint16_t*) 0x60000000
#define ADDR_DATA   *(uint16_t*) 0x60020000

 

and received the correct control signals for the TFT indicator at the output

FMC_LCD_H70B(2).png