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

Claim 16:
17. A method, comprising:
determining largest and smallest successful values of a receive clock delay;
determining largest and smallest successful values of a transmit clock delay;
setting a first set of parameters for a Serial Peripheral Interface (SPI) coupled to a Double Data Rate (DDR) flash memory, the first set of parameters comprising the largest successful value of the transmit clock delay, the largest successful value of the receive clock delay, and a first value of a reference clock delay (RD) cycle;
setting a second set of parameters for the SPI, the second set of parameters comprising the smallest successful value of the transmit clock delay, the smallest successful value of the receive clock delay, and a second value of the RD cycle;
in response to determining that the first value of the RD cycle is not equal to the second value of the RD cycle, determining an unsuccessful set of parameters for the SPI that does not successfully read from the DDR flash memory, the unsuccessful set of parameters comprising:
one of the first value of the RD cycle and the second value of the RD cycle;
an unsuccessful value of the transmit clock delay between the smallest successful value of the transmit clock delay and the largest successful value of the transmit clock delay; and
an unsuccessful value of the receive clock delay between the smallest successful value of the receive clock delay and the largest successful value of the receive clock delay;

determining whether the first set of parameters results in successfully reading from the DDR flash memory over a larger range of operating temperatures of a device performing the method than the second set of parameters based on a comparison of the unsuccessful set of parameters to the first set of parameters and to the second set of parameters;
selecting one of the first and second sets of parameters based on determining whether the first set of parameters results in successfully reading from the DDR flash memory over a larger range of operating temperatures of the device performing the method than the second set of parameters; and
programming the SPI using the selected one of the first and second sets of parameters.