Processor Companion FM33256 - Ramtron - #19

/ 28


catalogue search
P. 01
P. 02
P. 03
P. 04
P. 05
P. 06
P. 07
P. 08
P. 09
P. 10
P. 11
P. 12
P. 13
P. 14
P. 15
P. 16
P. 17
P. 18
P. 19
P. 20
P. 21
P. 22
P. 23
P. 24
P. 25
P. 26
P. 27
P. 28
Pages:


See other catalogues for Ramtron

Text version of the page

FM33256/FM3316 SPI Companion w/ FRAM Command Structure WRDI – Write Disable There are eight commands called op-codes that can be issued by the bus master to the FM33xx. They are listed in the table below. These op-codes control the functions performed by the memory and Processor Companion. They can be divided into three categories. First, there are commands that have no subsequent operations. They perform a single function, such as, enabling a write operation. Second are commands followed by one data byte, either in or out. They operate on the Status Register. The third group includes commands for memory and Processor Companion transactions followed by address and one or more bytes of data. The WRDI command disables all write activity by clearing the Write Enable Latch. The user can verify that writes are disabled by reading the WEL bit in the Status Register and verifying that WEL=0. Figure 14 illustrates the WRDI command bus configuration. Table 4. Op-code Commands Name Description Op-code WREN

Set Write Enable Latch 00000110b

WRDI

Write Disable 00000100b

RDSR

Read Status Register 00000101b

WRSR

Write Status Register 00000001b

READ

Read Memory Data 00000011b

WRITE

Write Memory Data 00000010b

RDPC

Read Proc. Companion 00010011b

WRPC

Write Proc. Companion 00010010b

WREN – Set Write Enable Latch The FM33xx will power up with writes disabled. The WREN command must be issued prior to any write operation. Sending the WREN op-code will allow the user to issue subsequent op-codes for write operations. These include writing the Status Register, writing the Processor Companion, and writing the memory. Sending the WREN op-code causes the internal Write Enable Latch to be set. A flag bit in the Status Register, called WEL, indicates the state of the latch. WEL=1 indicates that writes are permitted. Attempting to write the WEL bit in the Status Register has no effect on the state of this bit. The WEL bit will automatically be cleared on the rising edge of /CS following a WRDI, WRSR, WRPC, or WRITE op-code. No other op-code affects the state of the WEL bit. This prevents further writes to the Status Register, F-RAM memory, or the companion register space without another WREN command. Figure 13 below illustrates the WREN command bus configuration.

CSSCKSISO 0 1 2 3 4 5 6 7

0 0 0 00 1 1 0

Hi-Z

Figure 13. WREN Bus Configuration

CSSCKSISO 0 1 2 3 4 5 6 7

0 0 0 00 1 0 0

Hi-Z

Figure 14. WRDI Bus Configuration

Rev. 1.1 Dec. 2007 Page 19 of 28

pageCatalog pdf di En 2012-06-22-01