MKL28Z SRAM question

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MKL28Z SRAM question

跳至解决方案
939 次查看
benwang
Contributor II

Hi, I am taking a lot at the MKL28Z reference manual , and did not about if the internal SRAM(128k) is split into two regions as MKL27Z, which are SRAM_L and SRAM_U?  Does MKL28Z did split into two same size of SRAM_L(64KB: 0x1fff8000~1fffffff) and SRAM_U(64KB:0x20000000~0x20007ffff) as the general feature as other Kinetis MCU? 

0 项奖励
1 解答
904 次查看
mjbcswitzerland
Specialist V

Hi

I have used the KL28 with this SRAM layout so am very sure that it is accurate, otherwise I am sure that the projects would already have failed to run correctly.

This reference has been on line for over three years: https://www.utasker.com/kinetis/FRDM-KL28Z.html using the SRAM as specified with no reports of failure.

Regards

Mark

 

在原帖中查看解决方案

0 项奖励
7 回复数
905 次查看
benwang
Contributor II

@mjbcswitzerland @ErichStyger Thanks for your answer. But still looks like we did not come to agreement about this. It's better we could ask for AE team or IC design team to get the accurate feedback 

0 项奖励
905 次查看
mjbcswitzerland
Specialist V

Hi

I have used the KL28 with this SRAM layout so am very sure that it is accurate, otherwise I am sure that the projects would already have failed to run correctly.

This reference has been on line for over three years: https://www.utasker.com/kinetis/FRDM-KL28Z.html using the SRAM as specified with no reports of failure.

Regards

Mark

 

0 项奖励
890 次查看
benwang
Contributor II

Thanks for your confirmation. 

0 项奖励
934 次查看
ErichStyger
Senior Contributor V

Hi @benwang 

To my understanding, only the Kinetis family without the L has a dual memory controller and that's why the memory is split around 0x2000'0000. But the L family does not have such a split:

KL28Z:

ErichS_0-1612764556606.png

KL27Z:

ErichS_1-1612764604181.png

 

I hope this helps,

Erich

PS: as for the implications of the divided memory on the K devices, there is a discussion on this topic on Using Multiple Memory Regions with the FreeRTOS Heap 

0 项奖励
925 次查看
benwang
Contributor II

Hi @ErichStyger 

      Thanks for you quick reply. But according to the MKL27Z reference manual, it dos split the SRAM into SRAM_L and SRAM_U, please refer to the page 60.

https://www.nxp.com.cn/docs/en/reference-manual/KL27P64M48SF6RM.pdf

However, I did not find the similar description on MKL28Z, that's why I am a little bit confused about this. Could you double confirm with AE or design team about that? Thanks!

https://www.nxp.com.cn/docs/en/reference-manual/MKL28ZRM.pdf

 

0 项奖励
916 次查看
mjbcswitzerland
Specialist V

Hi

The SRAM layout in the KL28 is the same as in all other L parts:
1/4 anchored below 0x20000000
3/4 anchored above 0x20000000

In the manual it is show in two places:

mjbcswitzerland_0-1612792062328.png

 

mjbcswitzerland_1-1612792091482.png

although it is a strange that in the first table the first 1/4 of the SRAM is in the code section rather than in the SRAM section.

Regards

Mark
[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training, solutions to problems or rapid product development requirements

For professionals searching for faster, problem-free Kinetis and i.MX RT 10xx developments the uTasker project holds the key: https://www.utasker.com/kinetis/FRDM-KL28Z.html

0 项奖励
919 次查看
ErichStyger
Senior Contributor V

So either the SDK or the RM is wrong, I believe the later (or at least misleading).

0 项奖励