RT1170 SEMC multiplexing

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

RT1170 SEMC multiplexing

跳至解决方案
957 次查看
Eugene3
Contributor II

I will connect SRAM and SDRAM on the same SEMC interface of my application board.

As far as I confirmed this question(https://community.nxp.com/t5/i-MX-RT/RT1170-SEMC-Async-SRAM-Question/m-p/1668609), I understand SEMC can interface with SRAM & SDRAM in the same design.

But how can I switch the role of co-exist pins between SRAM access and SDRAM access? 

 

0 项奖励
回复
1 解答
916 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @Eugene3 ,

 

Most of the SEMC pins are controlled by hardware, which means the SEMC determines the pin
function according to its internal state, what you have to configure is the pin function controlled by IOCR, which should be static configured. Dynamic remapping of pin muxing controlled by IOCR is not supported.

Kan_Li_0-1698903170156.png

 

Hope that makes sense ,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
4 回复数
935 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @Eugene3 ,

 

For data and address lines, no problem from sharing with each other, but please note the control lines especially the CS signal should be used by one device only.

Kan_Li_0-1698826833512.png

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

 

0 项奖励
回复
921 次查看
Eugene3
Contributor II

Hi @Kan_Li 

Thank you, I'll share data and address lines, and I'll initialize SDRAMCRn and SRAMCRn.
But the role of these lines will be switching dinamatically while RT1170 is running, since the line has multiple roles.
How is dinamic change of line roles controlled?

For example, regarding GPIO_EMC_B2_00,
it is used as data16 during accessing to SDRAM area, and it's used as address8 during accessing to SRAM.
Will CPU automatically switch these roles depending on the accessed address area?

If yes, when will the SEMC switch the line role? Is it the same clock timing of CS change?

0 项奖励
回复
917 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @Eugene3 ,

 

Most of the SEMC pins are controlled by hardware, which means the SEMC determines the pin
function according to its internal state, what you have to configure is the pin function controlled by IOCR, which should be static configured. Dynamic remapping of pin muxing controlled by IOCR is not supported.

Kan_Li_0-1698903170156.png

 

Hope that makes sense ,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复
912 次查看
Eugene3
Contributor II

Hi @Kan_Li 

Thank you, I understand. 

0 项奖励
回复