2017-10-19 12:53 AM
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 #fmcSolved! Go to Solution.
2017-10-27 06:01 AM
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
2017-10-27 03:32 AM
Anyone on this?
2017-10-27 06:01 AM
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
2017-10-27 06:09 AM
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
2017-10-27 06:15 AM
Yes, why not.
SRAMs are stateless so there's no risk in conflicts there.
JW
2017-10-27 06:16 AM
Btw. this is a very expensive memory (as huge SRAMs are). Did you consider using SDRAM?
JW
2017-10-27 06:45 AM
I actually did but I am not sure if STM32L4 are compatible with SDRAMs. Are they?
2017-10-27 07:00 AM
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.
2017-10-27 08:08 AM
Understood.
JW