Tool/software:
Explanation:
While running the OSPI Phy Tuning algorithm we tend to compute the Optimal Tuning Point(OTP).
Under the file ospi_phy.c, we come across the API: OSPI_phyTuneGrapher
The API OSPI_phyTuneGrapher scans through all possible combinations of rdDelay(o till 4), txDLL(0 till 127) and rxDLL(0 till 127).
A value of 1 is recorded if a particular combination is successful in reading the 128 bytes of pre flashed data else a value of 0 is recorded.
This value is recorded in an array named phyTuningArray(a 3D array [rdDelay][txDLL][rxDLL]).
To represent this array in a graph, we can perform the following steps:
- Run the following piece of attached code, which saves the graph in a binary format to a custom local directory.
- Once the graph is saved as "graph_data_temperature_testing.bin", run the attached python script as follows: "python graph.py graph_data_temperature_testing.py".
The graph plots can be used to see the variation across different temperatures.