cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

 Hi

   

An example project for PSoC5LP EMIF interfacing to Cypress Fast SRAM CY7C1019DV33-10ZSXI   is attached.

   

This can be used as reference project to interface with any SRAM.

0 Likes
Reply
7 Replies
Anonymous
Not applicable

 Project attached.

   

This containd two standerd patterns as well to test the SRAM.

0 Likes
Reply
Moderator
Moderator

Hi SmartPSoC,

   

Good example, and give us some description of the project will be better.

   

Regards,

   

Roy

Roy Liu
0 Likes
Reply
Esteemed Contributor II

Funny to watch some Cypress Gurus talk to each other in the developer community!

   

Big broad smile

   

 

   

Bob

0 Likes
Reply
Anonymous
Not applicable

This project can also be slightly modified to place variables in the EMIF section. This can be done by using a custom linker script file which defines an EMIF section. Now, you can define your custom EMIF section within this and place variables in the External Memory.

   

You can check the attached project. A modified linker file EMIF_var.ld has been used. Please note to set this as a custom linker script file in the linker settings.

   

This project demonstrates how to place the variable in the EMIF section.

   

 

   

Regards

   

PSoC Wonders

0 Likes
Reply
Contributor II

Hi BMAH,

   

 

   

just for clarification, the variable foo is 'directly' written with value 25, and 'indirectly' read by the macro?

   

Regards,

   

 

   

Ralf

0 Likes
Reply
Anonymous
Not applicable

 Hi Ralf,

   

Yes, thats right. 0x60000000 is mapped to the EMIF address and you get the EMIF data by the reading the contents of this address using the MACRO.

   

Thanks and Regards

   

BMAH

0 Likes
Reply
Contributor II

Hi BMAH,

   

 

   

thank you for clarification.

   

 

   

Regards,

   

 

   

Ralf

0 Likes
Reply