LPC55S69 SRAMs dual-ported?

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

LPC55S69 SRAMs dual-ported?

跳至解决方案
1,329 次查看
raz3l
Contributor III

Hi,

I'm doing a study on contention on the LPC55S69 architecture. Could someone clarify me if the the SRAMs in this board are dual-ported?

标记 (3)
0 项奖励
回复
1 解答
1,189 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @raz3l 

The SRAM in lpc55ss69 is not dual-ported, while if you want to share SRAM between two cores, you can refer to SDK demo "lpcxpresso55s69_erpc_matrix_multiply_rpmsg"

Alice_Yang_0-1693902969040.png

 

 

BR

Alice

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,291 次查看
Xu_Zhang
NXP Employee
NXP Employee

hi,raz3l

Can you further describe your question about what the LPC55S69 does and what dual port means and is used for? To help you in more detail.

                                                                                                                   

BR

Xu Zhang

0 项奖励
回复
1,283 次查看
raz3l
Contributor III

Hi @Xu_Zhang ,

By "dual-ported SRAMs," I mean if the SRAM memory elements for data (SRAM0-SRAM3) allow for two independent read or write operations to occur simultaneously. In the context of the LPC55S69, my concern is whether both cores of the microcontroller can access the SRAM concurrently, without causing contention or access conflicts.

In simpler terms, I'm trying to determine if the LPC55S69's SRAM architecture supports simultaneous read and write operations from both cores (e.g., the main core and the co-processor core) without one core blocking the other.

Thank you!

0 项奖励
回复
1,225 次查看
Xu_Zhang
NXP Employee
NXP Employee

hi,raz3l

To achieve the best working performance, allocate the memory blocks of code and data for both cores in a suitable way and reduce the arbitration of the accessing bus in the hardware system.
In the hardware system diagram, the memories are divided into blocks and connected to the AHB bus matrix separately. Using this design, different bus masters can access different memory blocks simultaneously, without any arbitration delay.

BR

Xu Zhang

 

0 项奖励
回复
1,198 次查看
raz3l
Contributor III
Hi @Xu_Zhang,

I appreciate your suggestion regarding memory allocation and bus access optimization, which I already suspected and tested. However, my inquiry stems from a more in-depth examination of the microarchitecture of the LPC55S69 board as part of my research on contention in various NXP platforms. That's why I specifically asked which if the organization of the SRAM is single- or dual-ported, something that could justify some of the results that I'm getting.

Thank you!


0 项奖励
回复
1,190 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @raz3l 

The SRAM in lpc55ss69 is not dual-ported, while if you want to share SRAM between two cores, you can refer to SDK demo "lpcxpresso55s69_erpc_matrix_multiply_rpmsg"

Alice_Yang_0-1693902969040.png

 

 

BR

Alice

0 项奖励
回复
1,187 次查看
raz3l
Contributor III

Thank you Alice!

0 项奖励
回复