Skip to main content
Senior
January 7, 2020
Solved

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

  • January 7, 2020
  • 2 replies
  • 1025 views

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.
Best answer by berendi

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
January 7, 2020

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

JW

berendi
berendiBest answer
Principal
January 7, 2020

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.