CHAPTER 14: External Bus Interface
830 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
6.9 SDRAM Command Register (SDCMD)
The SDCMD register outputs the set value to the external pin for controlling SDRAM.
On detecting the writing, this register outputs the value saved in the register for one cycle. For this period,
n MADATA[15:0] holds the prior values. For the external bus interface, the power-on sequence of SDRAM
is automatically executed, so usually this register is not used. Only for the settings in operation (extended
mode register setting etc.), this register is used.
When setting SDCK=0, the mode is entered into the power down mode immediately. In this case, the
state of PDON bit of SDRAM mode register has no relation with this operation. The mode is returned by
an access to SDRAM. Refresh, or, writing to this register. To stop the refresh operation, set ROFF=1
(Refresh OFF).
[bit31]PEND: Pend
Immediately after detecting the writing to this register, this bit is asserted because the operation cannot be
executed instantly due to an access to a different device. Before writing this register, check this bit and
confirm that the bit is deasserted. When this bit is written during assertion, the operation is not
guaranteed.
[bit30:21] Reserved: Reserved bits
The read value is undefined.
Set this bit to 0 when writing.