Other Parts Discussed in Thread: CONTROLSUITE
I am trying to use the SPI module on TMS320F28335 to communicate with a Cypress FM25L04B F-RAM chip. The F-RAM requires a 1 byte WREN (Write enable) instruction before a byte can be written to a register in the RAM. This implies that the single byte WREN instruction is followed by a 3 byte WRITE instruction (opcode + address + data byte). My question is that if I use the 16 register FIFO, how do I specify the length of an instruction? Each instruction is to begin with the Slave_Enable pin taken to LOW and the Slave_Enable is then taken HIGH once the instruction is completed. Therefore, there should be some setting in a register to imply the length of the instruction, correct? If not, then do I have to control the Slave_Enable bit in software, rather than it being automatically handled by the SPI module? Please clarify.