I am trying to communicate with a FM25L04B F-RAM on a custom board, based on Texas Instruments TMS320F28335. I am using Simulink to program the controller and exploring the various peripherals. The datasheet of FM25L04B says that the CS pin has to be lowered for each instruction. I noticed that the WREN opcode is a single byte instruction, whereas a WRITE opcode, followed by the address and data byte makes a 3 byte instruction. I am wondering is I can instead use a fixed instruction length of 3 bytes and send 2 bytes dummy data after the WREN opcode to make it a 3 byte instruction as well. Will this method work?
Solved! Go to Solution.