RT1170 SEMC multiplexing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1170 SEMC multiplexing

Jump to solution
955 Views
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 Kudos
Reply
1 Solution
914 Views
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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
4 Replies
933 Views
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 Kudos
Reply
919 Views
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 Kudos
Reply
915 Views
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 Kudos
Reply
910 Views
Eugene3
Contributor II

Hi @Kan_Li 

Thank you, I understand. 

0 Kudos
Reply