Hi!
I've used that documentation and code as an example.
The weird behaviour I have at this point is that it seems that I can write to the lowest bit when accessing as a 16-bit device through the SDRAM controller. However it seems like I only can access one adress.
A write of 0xFFFF will result in a read of 0x1.
A write of 0xFF0 will result in read of 0x0.
If I try it as a 32-bit device in the controller, I can write to the lowest 16 bits, but still only on one adress as it seems.
A write of 0xFFFF will result in a read of 0xFFFF.
A write of 0x1234 will result in a read of 0x1234
Best regards
Anton Svensson