Patent ID: 11935613
Assignee: TEXAS INSTRUMENTS INCORPORATED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A device, comprising:
a memory storing instructions; and
a processor adapted to be coupled to a Double Data Rate (DDR) flash memory by way of a Serial Peripheral Interface (SPI), the processor configured to execute the instructions stored in the memory to:
determine a largest successful value and a smallest successful value of a transmit clock delay based on a comparison of results of a plurality of read transactions with the DDR flash memory, each read transaction performed at one of a first value and a second value of a reference clock delay (RD) cycle, a selected value of a receive clock delay, and a test value of the transmit clock delay, wherein the selected value of the receive clock delay is a same value in each of the plurality of read transactions and the test value of the transmit clock delay is a different value in each of the plurality of read transactions;
determine a first set of parameters for the SPI that is usable by the processor to read successfully from the DDR flash memory, the first set of parameters comprising the largest successful value of the transmit clock delay, a largest successful value of a receive clock delay, and the first value of the RD cycle;
determine a second set of parameters for the SPI that is usable by the processor to read successfully from the DDR flash memory, the second set of parameters comprising the smallest successful value of the transmit clock delay, a smallest successful value of the receive clock delay, and the second value of the RD cycle;
select one of the first and second sets of parameters based on a determination of whether the first set of parameters is usable by the processor to read successfully from the DDR flash memory over a larger range of operating temperatures of the device than the second set of parameters; and
program the SPI using the selected one of the first and second sets of parameters.