These APIs try are used for the phy tuning
Functions | |
int32_t | OSPI_lld_phyTuneDDR (OSPILLD_Handle handle, uint32_t flashOffset) |
This function tunes the OSPI PHY for DDR mode to set optimal PHY parameters. More... | |
int32_t | OSPI_lld_phyTuneSDR (OSPILLD_Handle handle, uint32_t flashOffset) |
This function tunes the OSPI PHY for SDR mode to set optimal PHY parameters. More... | |
int32_t | OSPI_lld_phyTuneGrapher (OSPILLD_Handle handle, uint32_t flashOffset, uint8_t arrays[4][128][128]) |
This function takes a 4x128x128 array and fills it with TX RX DLL data for graphing purpose. More... | |
void | OSPI_lld_phyGetTuningData (uint32_t *tuningData, uint32_t *tuningDataSize) |
This function returns the address to the attack vector buf required for tuning the PHY. More... | |
int32_t | OSPI_lld_phyReadAttackVector (OSPILLD_Handle handle, uint32_t offset) |
This function checks if the attack vector, or the data used for tuning the PHY is present at an offset in the flash. More... | |
int32_t | OSPI_lld_enablePhy (OSPILLD_Handle handle) |
This function enables the PHY. More... | |
int32_t | OSPI_lld_disablePhy (OSPILLD_Handle handle) |
This function disables the PHY. More... | |
int32_t | OSPI_lld_enablePhyPipeline (OSPILLD_Handle handle) |
This function enables the PHY Pipeline. More... | |
int32_t | OSPI_lld_disablePhyPipeline (OSPILLD_Handle handle) |
This function disables the PHY Pipeline. More... | |
int32_t OSPI_lld_phyTuneDDR | ( | OSPILLD_Handle | handle, |
uint32_t | flashOffset | ||
) |
This function tunes the OSPI PHY for DDR mode to set optimal PHY parameters.
handle | An OSPILLD_Handle returned from an OSPI_open() |
flashOffset | Offset of the flash at which the PHY tuning data is present |
int32_t OSPI_lld_phyTuneSDR | ( | OSPILLD_Handle | handle, |
uint32_t | flashOffset | ||
) |
This function tunes the OSPI PHY for SDR mode to set optimal PHY parameters.
handle | An OSPILLD_Handle returned from an OSPI_open() |
flashOffset | Offset of the flash at which the PHY tuning data is present |
int32_t OSPI_lld_phyTuneGrapher | ( | OSPILLD_Handle | handle, |
uint32_t | flashOffset, | ||
uint8_t | arrays[4][128][128] | ||
) |
This function takes a 4x128x128 array and fills it with TX RX DLL data for graphing purpose.
handle | An OSPILLD_Handle returned from an OSPI_open() |
flashOffset | Offset of the flash at which the PHY tuning data is present |
arrays | A 4x128x128 array. In this, the tx rx dll data for 4 different read delay values will be stored. This can be later used for graphing |
void OSPI_lld_phyGetTuningData | ( | uint32_t * | tuningData, |
uint32_t * | tuningDataSize | ||
) |
This function returns the address to the attack vector buf required for tuning the PHY.
tuningData | Address of the tuningData array |
tuningDataSize | Size of the tuningData array |
int32_t OSPI_lld_phyReadAttackVector | ( | OSPILLD_Handle | handle, |
uint32_t | offset | ||
) |
This function checks if the attack vector, or the data used for tuning the PHY is present at an offset in the flash.
handle | An OSPILLD_Handle returned from an OSPI_open() |
offset | Offset in flash to check for tuningData |
int32_t OSPI_lld_enablePhy | ( | OSPILLD_Handle | handle | ) |
This function enables the PHY.
handle | An OSPILLD_Handle returned from an OSPI_open() |
int32_t OSPI_lld_disablePhy | ( | OSPILLD_Handle | handle | ) |
This function disables the PHY.
handle | An OSPILLD_Handle returned from an OSPI_open() |
int32_t OSPI_lld_enablePhyPipeline | ( | OSPILLD_Handle | handle | ) |
This function enables the PHY Pipeline.
handle | An OSPILLD_Handle returned from an OSPI_open() |
int32_t OSPI_lld_disablePhyPipeline | ( | OSPILLD_Handle | handle | ) |
This function disables the PHY Pipeline.
handle | An OSPILLD_Handle returned from an OSPI_open() |