Hi @tbayram
Answer your questions:
1.Why External SDRAM is separated into Board_SDRAM and NCACHE_REGION. Why do we need NCACHE_REGION?
=>Answer: good question, it is determined by the cache, some situation, eg, LCD, SDCARD, USB, even some flexSPI situation, when use the cache in the SDRAM, it will have issues, so need to use the SDRAM when close the cache, more details, please refer to application note:
https://www.nxp.com/docs/en/application-note/AN12042.pdf
2.In which cases is ECC required?
=>Answer: If you don't care about it, you can don't use the ECC.
If you want to use ECC, you can refer to:
https://www.cnblogs.com/henjay724/p/12673731.html
3.Which points can I check to see if the DCD configuration matches the external SDRAM we are using?
=>Answer: Good question, DCD is the semc control, you can check the RM about the DCD, to know the format, you will know which register is controled.
When you change the SDRAM, normally you can run this code:
SDK_2_14_0_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\semc\sdram\cm7
configure the related SEMC interface for the SDRAM.
Then, when you modify the related register, you also can modify that in the DCD area.
4.We want to use M4 as a master. İs there any difference in this situation?
=>Answer: in my memory, need M7 as the master, then communicate with M4, M4 is slave.
Why you need M4 as master?
5.And in any display project, In which sections do we keep data such as .data, .text, photo?
=>Answer: As I reply you, you can define the user data sector, no matter in the internal RAM, .text, or the SDRAM. then define your photo data to that area.
But, a simple way, just constant data, will put in the text, I mean flash address, that will be OK to use.
Wish it helps you!
Best Regards,
Kerry