Skip to main content
Senior
Jan 7, 2020 8:48 AM UTC
Solved

Rearrange the address pin and BAx pins when routing the SDRAM to STM32

0690X00000BvejsQAB.png

​

I'm layout a SDRAM to STM32F767. For convenience to layout the tracks, I want to rearrange the address and BAx lines as above. I've never done SDRAM with STM32, so I wonder if it will work well to do this?

Thanks.

This topic has been closed for replies.
berendi
berendiBest answer
Principal
Jan 7, 2020 1:53 PM UTC

Not going to work.

As JW has noted, commands won't work. This might perhaps be solved by likewise rearranging the bits in the command word.

Moreover, rearranging the address bits would make your memory non-contiguous and partially inaccessible. Note that the column address doesn't use A11-A12.

Swapping the banks could work.

2 replies

waclawek.jan
Super User
Jan 7, 2020 10:03 AM UTC

Look at how the SDRAM works, concentrate on the commands.

JW

berendi
berendiBest answer
Principal
Jan 7, 2020 1:53 PM UTC

Not going to work.

As JW has noted, commands won't work. This might perhaps be solved by likewise rearranging the bits in the command word.

Moreover, rearranging the address bits would make your memory non-contiguous and partially inaccessible. Note that the column address doesn't use A11-A12.

Swapping the banks could work.