cancel
Showing results for 
Search instead for 
Did you mean: 

CY62177EV30 SRAM with STM32L496AEI

Atilla Mete Turedi
Associate II
Posted on October 19, 2017 at 09:53

Greetings people,

I was wondering if the SRAM by CY62177EV30  is compatible with the FMC on STM32L496AEI with 20 bit address width and 16 bit data width.

I can only use 20 bits from the address bus because of pin multiplexing constraints. There are 21 address pins on the SRAM I want to use so I am also unsure what to do with that. Is it okay not to connect that on SRAM? (I am aware this will result in halving of the total capacity of the SRAM)

Best Regards,

Mete

#stm32l496 #sram #stm32 #stm32l4 #stm32l #cy62177ev30 #fmc
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on October 27, 2017 at 13:01

Probably yes, it appears to be a fairly standard SRAM. The responsibility is ultimately yours, of course.

I can only use 20 bits from the address bus because of pin multiplexing constraints. There are 21 address pins on the SRAM

You could either tie it to H or L permanently and lose half of the capacity, or connect to any available GPIO and in program switch 'banks'  'manually'.

JW

View solution in original post

8 REPLIES 8
Atilla Mete Turedi
Associate II
Posted on October 27, 2017 at 12:32

Anyone on this?

Posted on October 27, 2017 at 13:01

Probably yes, it appears to be a fairly standard SRAM. The responsibility is ultimately yours, of course.

I can only use 20 bits from the address bus because of pin multiplexing constraints. There are 21 address pins on the SRAM

You could either tie it to H or L permanently and lose half of the capacity, or connect to any available GPIO and in program switch 'banks'  'manually'.

JW

Posted on October 27, 2017 at 13:09

JW thank you for your reply.

What if I connect it to one of the other chip selects of FMC Bank 1 instead? Can I fool the processor to believe that it is actually controlling two seperate SRAMs?

Regards,

Mete

Posted on October 27, 2017 at 13:15

Yes, why not.

SRAMs are stateless so there's no risk in conflicts there.

JW

Posted on October 27, 2017 at 13:16

Btw. this is a very expensive memory (as huge SRAMs are). Did you consider using SDRAM?

JW

Posted on October 27, 2017 at 13:45

I actually did but I am not sure if STM32L4 are compatible with SDRAMs. Are they?

Posted on October 27, 2017 at 14:00

Perhaps I can use A Pseudo SRAM instead as a cheaper alternative. But the problem is my device is battery operated and I am not sure if PSRAM consumption will get me in trouble.

Posted on October 27, 2017 at 15:08

Understood.

JW